Error trying to backup site
-
Got the following error code trying to backup site
BMI-QS1HMywU-49068
-
Hello @glharding ,
Your debug code, tells me that the backup was cancelled by Apache Web Server.
It was most likely caused by KeepAliveTimeout directive in Apache configuration.We have alternate backup method, that can bypass this limitation.
Simply, follow below steps, there are also other things you can improve.Please open first section of the plugin named: “What will be backed up?”
Find subsection named: “Exclude by folder / file name (case-sensitive)”
Here add these three rules, like on image: https://prnt.sc/9oftADPd_Z7eOnce you do that, please follow these steps:
- Go to “Other options” section
- Change backup method: https://prnt.sc/1s1ofpa
- Disable PHP CLI checking: https://prnt.sc/1sljr31
- Save “Other options” section
- Force stop both processes: https://prnt.sc/1trv1tm
When you do that, try to run your backup once again.
Let me know if that worked for you 🙂
Thank you!Thanks for your very clear explanation. I followed these steps but got this error – BMI-1oGxD7Dy-37913
I have replied to you email with a couple of other bits of information.
Hey @glharding
It seem like you have very low execution limit threshold, which caused the process to stop while it was trying to check the free space.
In our plugin it is possible to disable free space checks, but it’s not recommended and you should do that only if you’re 100% sure that you have enough space on the server for the backup.
If you don’t have enough space for the backup or migration, but you will tell the plugin that there is enough, the process may still fail and your site may encounter many issues due to the lack free space.
Step list of the solution:
- Go to “Other options” section
- Disable space checking: https://prnt.sc/PAlbYsz3RszJ
- Disable PHP CLI checking: https://prnt.sc/1sljr31
- Change backup method: https://prnt.sc/1s1ofpa
- Save “Other options” section
- Force stop both processes: https://prnt.sc/1trv1tm
- Run your process once again
Let me know if that resolves your issue 🙂
Thank you!Thanks again – got a lot further this time (the progress bar got to 100%) but still ended with an error:
BMI-5PBx5eSR-32962
I check with the cpanel of the hosting site and disk space should not be the issue:
Disk Quota:5 GB
Disk Space Used:781 MB
Disk Free:4751 MB
Inodes Used:45 % (13602 of 30019)
-
This reply was modified 3 years ago by
glharding. Reason: additional information
Hi @glharding
As it still does not work even after all these steps you’ve taken it, my assumption is that your site has I/O speed limit. Such limit can control speed of the backup and in your case it slows down the process significantly.
Basing on the output you received, it actually may be the case.
You can make partial backups which would still allow you to migrate the website, if you can increase I/O speed limit, that may also resolve the issue without need to apply below approach.To confirm that could you please perform these steps:
- Make one backup:
– Without database
– With Plugins+Themes+Other files in wp-content directory only - If it succeeds download that backup to your PC and remove it from server, then make second backup:
– Exclude database as well
– With Uploads directory only - Same thing there, download it and remove from server and make last third backup:
– With database only
– Without any files included
If these three will success, you can restore them one by one and the same order, database at the end.
With that approach the restoration or migration will be still valid, but I hope now to fit into your process time limits.I hope that your Uploads directory takes less than 50% of entire size, then it should be completely fine, if my assumption is right.
Let me know if that worked 🙂
Thank you!Hey @glharding ,
We haven’t heard from you since, so I’ll assume that the issue is resolved and will close this support ticket. If you face any new issues, please feel free to open a new ticket.
Kind regards
Sorry – I was away a lot of last week and had not been able to try these steps yet. I will try to do so later today or tomorrow and let you know.
First step was ok but failed again on the 2nd step (uploads directory). I tried it twice so there are two error log records BMI-tzcol4WF-88136 and BMI-6R2iltFk-03834
The topic ‘Error trying to backup site’ is closed to new replies.