Support

Akeeba Backup for Joomla!

#20208 Command Line Backup Fails - Front End Works Fine

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 Neilz on Monday, 09 June 2014 17:28 CDT

Neilz
I've got two different sites, running on two different hosts, on two different versions of Joomla. Neither one's CRON seems to complete, always fails. Front end backups work fine, but I really don't want to do that on a weekly basis.

The first one is running on the host as listed above, with the J!/PHP/MySql settings shown.
Log & Email is attached as Site1.zip

The second is running on the following:

Host: GoDaddy.com (FWIW .. I have other sites doing CRON backups find on this host)
J!: 3.3.0
PHP: 5.4.19 (but uses 5.3.14 in its CRON)
MySql: 5.5.37
Akeeba Backup: 3.11.0

Problem is, the latest command-line run log is not showing up when I try to access the log through Akeeba Backup ??

Email is attached as Site2.zip

I've been messing with these two for the longest times, adjusting times as indicated by ALICE, but to no avail.

I've finally given up, and have to ask the experts. I know one is running under cgi, but I have no choice, and other sites at that host have no issues.

Thanks for your assistance.

nicholas
Akeeba Staff
Manager
As far as site 1 is concerned, your host is forcibly terminating the execution of the CRON job exactly 7 minutes after it started. This is not enough time for a backup of your site to complete. Please ask your host to allow your CRON job to execute longer than that. How long? Exactly as long as it takes to backup your site (see the duration of your successful back-end backup).

As far as site 2 is concerned, you did not provide a backup log file. However we already know that GoDaddy imposes a CRON execution time limit around 150 seconds which is consistent with the output we see in your attachment. Again, it's the same issue. You need to ask your host to let your CRON job execute longer, so that the backup has enough time to complete on your site.

Please note that having one site successfully run a CRON backup on a specific host doesn't necessarily mean that all of your sites on the same host will have the same success. This depends on the size of the site (therefore the size of the backup archive and length of the backup process), post-processing options, disk/CPU/memory/database quotas per hosting account, differences in PHP/MySQL/Joomla!/Akeeba Backup versions among the different sites and so on. Therefore telling us that your other sites on GoDaddy can run a CRON backup just fine doesn't tell us anything in particular, except give us a hint that your other sites are probably very small and their backups complete in well under two minutes. I hope that clarifies my previous answers a bit :)

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!

Neilz
Nicholas, totally understand. Just wanted to make sure that there wasn't anything else I could do on my side of the system. I'll get with the hosts in question.


Thanks

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!