Hi, I've been combing the issues here for the last couple hours and just can't seem to find an answer to my issue.
I can make a backup and the scheduled backup works find as long as I do not try to send it off of the local server.
With Amazon s3: it just goes to http://www.example.com/admin/content/backup_migrate which is a white screen. There are no errors in the Logs and I am able to use the s3.php just fine when I go command line.
With Email: Get the green light message saying it's been saved but I do not receive any email at the destination. I have been able to receive emails through the PHPMailer test, contact form, and code. I have used both the SMTP module and PHPMailer module. I am using smtp.gmail.com.
With FTP: I get FTP Error: Couldn't change into the home/demo directory. However using the same login and password I can get around fine using FTP on the command line.
It's just weird that I can do all of this through the command line but Drupal balks at it. Thanks in advance for any help.
drupal 6.19
backup_migrate 6.2.2
PHPMailer 6.2.2
Comments
Comment #1
cduwe CreditAttribution: cduwe commentedI think I'm having the same issue on an install running PHP 5.3 but I'm not expert enough to get much further with debugging.
Comment #2
ronan CreditAttribution: ronan commentedHow big are your backup files. The offsite destinations can cause memory errors with large files, and a lot of email servers just discard email messages that are too big.
Comment #4
huah CreditAttribution: huah commentedWhen the backup is complete, ftp the file is 0kb save
Comment #5
sachbearbeiter CreditAttribution: sachbearbeiter commentedsub
Comment #6
basicmagic.net CreditAttribution: basicmagic.net commentedsubscribe
Comment #7
geekgirlweb CreditAttribution: geekgirlweb commentedI am unable to backup with S3 either, even after trying a manual backup to S3. It also doesn't seem to be recognizing the includes/s3.php file because the warning error is still displayed.
Comment #8
ronan CreditAttribution: ronan commentedIs this still an issue? If so please reopen
Comment #9
charos CreditAttribution: charos commentedStill an issue with php 5.3 . Email works fine, just S3 gives blank page about 1 sec after pressing backup button
Comment #10
ronan CreditAttribution: ronan commentedAre you getting any errors in your php error logs
Comment #11
ronan CreditAttribution: ronan commentedComment #12
bocaj CreditAttribution: bocaj commentedI am running into the same issue on 7.x. Whenever I create an FTP account in backup_migrate and try to run a manual backup I get a white screen. Also, I get a white screen on the following pages as well: http://example.com/admin/config/system/backup_migrate/backups & http://example.com/admin/config/system/backup_migrate/restore. Once I remove the FTP setup from this page: http://example.com/admin/config/system/backup_migrate/settings/destination then I can access all of the pages again.
I'm going to try and dig into this some more, but wanted to reopen this and hopefully get some feedback from someone who is smarter at this than I am :)
This is my setup on the site I was testing this on:
Drupal - 7.31
Backup Migrate - 7.x-3.0
PHP - 5.5.16
Also, this is on my local Mac. I would assume it should work here as well, but haven't tried a hosted site yet.
I tried two different FTP accounts on different servers. I can FTP fine via an FTP client with both accounts.
Thanks in advance!
Comment #13
ronan CreditAttribution: ronan commentedIf there's a white screen then there's usually a php error of some kind. Please check your php logs to see if there are any errors there that could help
Comment #14
bocaj CreditAttribution: bocaj commentedThanks for the quick reply @ronan! I'm dumb! I didn't have ftp turned on in my local setup. Turned that on and everything is working as expected. How cool!
I didn't see any errors in my php logs. I ended up going through the code step-by-step manually until I found that ftp_systype() on line 188 of destinations.ftp.inc and (with some temporary modifications to the drupal_ftp_connected() function in the same file that ftp_connect(), also in the same file, were not behaving as expected. I had turned on error reporting via settings.php, but it still just showed a blank white page. I decided to test to see if ftp_systype() and ftp_connect() functions existed, which I found out that they didn't. Turned on ftp in my php configuration and I was good to go.
For anyone else that stumbles on this you may want to do a quick check for those functions:
It seems like it would be useful to have a check for this built into the module (perhaps on this page: /admin/config/system/backup_migrate/settings/destination/add/ftp) that would display a message if the ftp_connect function didn't exist, but maybe the issue doesn't come up enough to worry about?
Comment #15
sashkernel CreditAttribution: sashkernel commentedHaving same issue
Comment #16
decyphex CreditAttribution: decyphex commentedI'm also having the same issue with Emailed backups not working. I get the green status message that the backup was successful, but nothing reaches the destination. I am using the SMTP Authentication Support module and test emails from that module itself reach the destination. There are no error messages in the logs either and I am not receiving any white screens of doom from PHP.
Drupal: 7.43
PHP: 5.3
Backup and Migrate: 7.x-3.1
SMTP Authentication Support: 7.x-1.4
Comment #17
couturier CreditAttribution: couturier as a volunteer commentedPlease upgrade to 7.x-3.2 and confirm if this issue is still active.
Comment #18
couturier CreditAttribution: couturier as a volunteer commentedClosing after more than two weeks with no activity.
Comment #19
pinkonomy CreditAttribution: pinkonomy commentedI still have the same issue with not being able to send the back up in my gmail account.Any help?
Thanks
Comment #20
DamienMcKennaPlease open a new issue to discuss these problems.