Support

Akeeba Backup for Joomla!

#34269 Scheduled automatic backup is 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 on Wednesday, 27 January 2021 20:17 CST

[email protected]

Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!


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:

 

Scheduled automatic backup is failing. Please help me understnd why.

nicholas
Akeeba Staff
Manager

I see two problems in this log file.

The first problem is that the PHP memory limit is 32 Megabytes which is pretty low. The minimum part of Joomla we need to load to run a CLI application is 8MB as you can see in the log which leaves barely 24 Mb for the backup to run. This is the absolutely minimum amount of memory we need and may not be enough for a larger site. Seeing the size of the tables you are backing up I am inclined to believe that you will need more memory than that. Please ask your host to edit the php.ini for the PHP CLI binary and increase the memory_limit to at least 64M.

The second problem I see is that the backup is killed at exactly 32 seconds wall clock elapsed time. This is about 30 seconds of CPU time on the main backup thread when I take into account the number of database queries already executed. This means that most likely your backup is killed by the operating system because there's a CPU usage limit set to 30 seconds, the default value for cPanel installations. You can tell your host to edit the /etc/security/limits.conf file on the server and increase your user's CPU usage limit to something that's enough for the backup to complete. If you are not sure what would be enough, take a backup through the site's backend, go to Manage Backup page and see the time elapsed for the backup. That's how long the CPU usage limit needs to be.

 

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!