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

cduwe’s picture

I 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.

ronan’s picture

Status: Active » Postponed (maintainer needs more info)

How 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.

huah’s picture

When the backup is complete, ftp the file is 0kb save

sachbearbeiter’s picture

sub

basicmagic.net’s picture

subscribe

geekgirlweb’s picture

I 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.

ronan’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Is this still an issue? If so please reopen

charos’s picture

Version: 6.x-2.2 » 6.x-2.7
Status: Closed (cannot reproduce) » Active

Still an issue with php 5.3 . Email works fine, just S3 gives blank page about 1 sec after pressing backup button

ronan’s picture

Are you getting any errors in your php error logs

ronan’s picture

Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)
bocaj’s picture

Version: 6.x-2.7 » 7.x-3.0
Status: Postponed (maintainer needs more info) » Active

I 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!

ronan’s picture

Status: Active » Postponed (maintainer needs more info)

If 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

bocaj’s picture

Thanks 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:

if (!function_exists('ftp_connect')) {
  die('Function does not exist!');
}

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?

sashkernel’s picture

Having same issue

decyphex’s picture

I'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

couturier’s picture

Please upgrade to 7.x-3.2 and confirm if this issue is still active.

couturier’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

Closing after more than two weeks with no activity.

pinkonomy’s picture

Status: Closed (outdated) » Active

I still have the same issue with not being able to send the back up in my gmail account.Any help?
Thanks

DamienMcKenna’s picture

Status: Active » Closed (outdated)

Please open a new issue to discuss these problems.