Backing up to an email address is by far the easiest to configure. However, you must have an email server capable of accepting the large file size of your backup, and you’ll need to delete old backups manually. With that in mind, this video will show you how to backup your database to an email account.
The last destination that comes as a default option with the Backup and Migrate module is email. This is the easiest option to setup, as you only need to include an email address that should receive the backups. You will need to make sure that your email server can handle large file attachments, and you should also keep in mind the fact that these can not be automatically deleted. So you'll have to manage the backups on your email server so that you don't exceed your storage capacity.
Enabling your computer to send mail
If you've never sent mail from a local installation before, you may need to do the following to set that up. (The following applies to Mac OSX. Something similar may or may not need to be done on windows.)
_This information was originally posted here
Copy and paste the following lines one at a time into a terminal:
sudo /usr/sbin/postfix set-permissions
sudo /usr/sbin/postfix start
Now, let's setup the Destination
- Go to the "Destinations" tab (admin/config/system/backup_migrate/destination)
- Click Add Destination
- Click "Email"
- Destination name: Modules Unraveled Backups Email
- Email address: email@example.com
- (Save destination)
That's all there is to it! So, now we can try it out.
- Click the "Backup" tab. (admin/config/system/backup_migrate)
- Backup to "Modules Unraveled Backups Email"
- (Backup now)
Now, when we check the email address, we have the backup attached to a new message.
If you go to the "Destinations" tab, you'll notice that you do not have the option to "list files" next to the Email destination. The "Email" and "MySQL Database" destination types to not have the ability to list the backups on the site.