Support

Akeeba Backup for Joomla!

#11002 Backup failing

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Wednesday, 08 February 2012 02:35 CST

user17459
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: (1.5.25)
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Akeeba Backup version: (3.3.13)

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue: Frontend backup failing intermittently. It stopped working for a few then worked for 3 days then stopped again.

nicholas
Akeeba Staff
Manager
Some servers have a very strict CPU usage limit which could kill the backup, especially when it runs during the peak hours of the server. In order to work around such hosts, please go to your Akeeba Backup Configuration page and scroll all the way down to the Fine Tuning pane. Set the following:
- Minimum execution time: 1 second
- Maximum execution time: 7 seconds
- Runtime bias: 50%
If this doesn't work, please try these:
- Minimum execution time: 5 second
- Maximum execution time: 3 seconds (yes, maximum is less than minimum, it's not a typo)
- Runtime bias: 50%

If that still fails, there is one more plausible explanation. Your backup failed after exactly 24 minutes into the process, or 1440 seconds. It is possible that your CRON daemon –the programme which runs the CRON jobs on their scheduled time– is set up to not allow any job running for more than 1440 seconds. In this case, apart from using webcron.org and its maximum allowance of 3600 seconds per job, I don't have any solution.

Well, I do have a workaround, but you're not going to like it. The workaround is having two backup profiles. One which backs up the entire site except VirtueMart images (this is what is taking a lot of time), the other on a files only backup excluding everything else except VirtueMart's images. Splitting the backup in two would allow each half to run for less time, therefore not likely to hit the CPU usage and/or CRON timeout limits of your server. Restoring such a backup means that you extract the files-only backup first, then proceed to extract and restore the full site backup. More work during restoration, but should work around your server's limitations.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!