Closed (works as designed)
Project:
Backup and Migrate
Version:
7.x-3.1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2013 at 13:11 UTC
Updated:
26 Jan 2022 at 20:03 UTC
Jump to comment: Most recent
Comments
Comment #1
JoeShmoe commentedSame here, getting 500 Server errors with no logs
Comment #2
ronan commentedThat's not really enough info to go on in terms of trying to figure out the issue. Is there any way to get more info about this error? Can your web host help you figure out what the specific issue is?
Comment #3
akalata commentedI'm getting the same error, but only on one site, when trying to backup a large amount of files (using backup_migrate_files, 550MB), and only when trying to save it to Amazon S3. Likely a server issue, but the lack of logs (no fault of the module(s)!) is annoying.
Agree that asking webhost is next best step.
Comment #4
mustafa.ata commented+1
Comment #5
lalbright commentedWhat kind of information do you need from us, as I too am having the same issue.
Comment #6
ronan commented@lalbright I'd love to tell you. A white screen of death doesn't give me a ton if info and if there's nothing in your PHP log then there's not a lot for me to go on. The most common issue with this module is that very large db's or large file directories are likely to cause timeouts or memory errors. These are the most common issues because very often when they happen the php script simply stops running, giving my module no opportunity to recover or even warn the user what went wrong. If increasing your timeout or memory doesn't help then I'm not sure what else to try.
Comment #7
jkingsnorth commentedThere has been no response for a while so I'm going to close off the issue. Please do reopen it against the latest version if this is still a problem.
Comment #8
kumar_kundan commentedIt is a memory related issue. when you run backup check you RAM status it is using max of it and while trying to backup database aand all the things. Increase your RAM and PHP configuration. This issue will be resolved.
Comment #9
francewhoaWe were able to reproduce this error. This is to confirm this challenge is likely to be with Apache though. Not with Backup and Migrate Drupal module. Steps to reproduce and potential resolutions below.
Steps to reproduce
/admin/config/system/backup_migrate/settings/profile/admin/config/system/backup_migrate/admin/This error depend on the amount of resource available on your server. So it's hard to reproduce. If you can't reproduce, simply increase the size of the Drupal database from 50MB to 150MB. Then repeat the same steps as above. And so on. Until the error can be reproduce.
Resolution
We faced the same challenge at Ubertus. For easy future reference, here are three options to resolve this. Choose one:
/admin/config/system/backup_migrate/settings/profileThanks to Jenn for the last two options above :)
I suggest to set this ticket to "Closed (works as designed)". Because we were able to reproduce this error. But it's likely cause by Apache configuration. Not by Backup and Migrate Drupal module.
Comment #10
msajn commentedIf everything fails....just try to backup files on your server and database, and install fresh updated core... You have nothing to lose. Works for me always and it's faster than debugging. But leave your important folders like modules, libraries, themes etc. intact...Just install new core like you would perform core update...
Comment #11
no sssweat commentedI ran into this issue in a development server not set up by me.
The odd solution that I found by chance is:
Disable or enable any module, now backup works and downloads.
It only works 1 time, if you want to download again you'll have to enable or disable any module again.
Comment #12
benjarlett commentedI just had to clear the cache.
Comment #13
dariemlazaroMigrating a site with a 3.5 GB database I found the same problem, the browser returned error 500 in the POST console, but the page was blank. I managed to solve the problem as follows:
1- Set memory_limit = 1280M
2- Set post_max_size = 10000M
and upload_max_filesize = 10000M
3- Restart Apache.
And so it allows to export the Database. Less than equal may work, depending on the size of each database.
Comment #14
Tyheman commentedAs #13 mentions, it appears some PHP settings were causing this error for me. I was able to fix this by adding this exact code in my .htaccess file located at the root of my Drupal folder. As mentioned, restart apache and try to download the sql file again. Hopefully that clears up the previous comment!