Closed (fixed)
Project:
Backup and Migrate
Version:
5.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2020 at 10:46 UTC
Updated:
24 Jun 2021 at 21:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
djg_tram commentedComment #3
damienmckennaWhen you say it "stays in maintenance mode", did you manually put it into maintenance mode before yous tarted the backup, or did it turn on maintenance mode when the backup started? What sort of backup did you - just the database, the full site or the files system? What version of PHP is on the server?
Comment #4
djg_tram commentedNo, not manually. I asked BM to do it for me, as per normal. PHP is 7.4.12. Quick backup, Default Drupal Database, to Download, my regular profile that uses Gzip, has the Take site offline on and nothing else was changed from the default. There are no entries in the log, the backup is perfect, just that it stays in maintenance mode.
Comment #5
damienmckennaClarifying the title.
Comment #6
larisse commentedHi!
Debugging the code, I had notice that when I save my backup file, the saveFile function is called and the section is destroyed in exit() function (DrupalBrowserDownloadDestination.php file). This way, all of module needs to do after save file, is not done, like for example, let the user know that backup is made with success and switch out of maintenance mode. So seems logical to me remove the exit() function, for the code keeps making the steps after save the backup file.
Comment #8
damienmckennaI tested this and it worked. Thank you. Committed.