When I choose an "Email" as a backup destination, I get an email, but it has no attachment.

I am using GMail.

Comments

Vako’s picture

Gmail has the 'habit' of stripping attachments. Please use a different email at least for testing this option.

Mavros Gatos’s picture

I tried Yahoo: the same problem.

ronan’s picture

Do you have access to a non-free email option? It seems quite possible that Yahoo has similar policies on this as gmail.

somimi’s picture

Version: 6.x-2.2 » 6.x-2.x-dev

I'd like to chime in on this issue - having the same problem in the current (6.x-2.x) dev version of Backup_Migrate. Not only does the email send with no attachment (which is an improvement from when I had v2.4 installed, which sent no emails at all), but in order for it to send at all, I had to change line 138 in includes/destinations.email.inc from

mail($this->to, $this->subject, "", $mime);

to

mail($this->to, $this->subject, "", "");

- effectively stripping out the mime info. And I've sent it to Gmail as well as my own site's email address via FatCow's webMail. Neither show an attachment in the email.

I've read most, if not all, of the other threads surrounding this issue, and nothing seems resolved, at least for my issue. I know you mentioned this not being a priority since you don't use it yourself, ronan, but as I also can't get the FTP option to work (another issue ticket in the making), this is my next best alternative to have backups outside of the site server. If anyone can help troubleshoot this issue, I'd be eternally grateful!

The setup:

  • Drupal 6.20 on GoDaddy, Linux/shared hosting
  • Backup and Migrate 6.x-2.x-dev
couturier’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Drupal 6 and Backup and Migrate 6 are no longer supported.