Closed (outdated)
Project:
Backup and Migrate
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2009 at 04:20 UTC
Updated:
17 Nov 2017 at 17:07 UTC
Jump to comment: Most recent
Comments
Comment #1
ronan commentedHow big are the backup files? Most mail servers limit attachments somewhere in the 5-10mb range and even if you're below the limits email can be flaky with large files. The email destination type is really only suitable for very small backup files.
Try backing up just 1 small table (run a backup with all but 1 table excluded, and exclude data from all tables) and see if smaller files can get through. If it is a size issue you may want to consider using ftp or s3 for your offsite backups.
Comment #2
dennys commentedThe backup file is only 984804 bytes... I think it's not size problem because I'm using Gmail and the limit is 20mb.
Comment #3
ronan commentedNo it's probably not a size thing at less than a megabyte, but did you try sending a tiny backup just to double check? Are you getting other emails from the site?
Comment #4
dennys commentedI use a small backup (only system table) and the destination is "Manual Backups Directory", it works. But I changed the destination to a email address, I still see the log is success, but I didn't receive the mail.
Is there any debug mode for it? And do you generate a temporary file before send mail?
Comment #5
nrasmus commentedI ran into this recently too. Attempting to mail a backup spun and spun. After cycling apache and refreshing, this was the warning:
warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in path_to_drupal\modules\backup_migrate\includes\destinations.email.inc on line 139.
Seems to me that this module is calling php mail directly instead of going through the smtp module.
Comment #6
couturier commentedDrupal 6 and Backup and Migrate 6 are no longer supported.