Support

Akeeba Backup for Joomla!

#23305 Backup fails on cron job

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 dlb on Wednesday, 23 September 2015 13:35 CDT

netpro
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:
The backup always works from the backend and always fails when run as a cron job. There is no log file when it fails

http://teamgonecountry.com/back/akeeba.cli.log

When the backup succeeds it is about 247 mb, is ftped to another server successfully and when it fails a damaged file of 100 to 200 mb often remains and is sometimes ftped but not always.

This is my cron job,

/opt/php55/bin/php /home/teamgonecountry/public_html/cli/akeeba-backup.php --profile=3

Hostgator says the only restriction on cron jobs is that they are limited to running once every 15 minutes.

netpro
and this is the email I get when the cron runs.

Akeeba Backup CLI 4.3.1 (2015-08-06)
Copyright (C) 2010-2015 Nicholas K. Dionysopoulos
-------------------------------------------------------------------------------
Akeeba Backup is Free Software, distributed under the terms of the GNU General Public License version 3 or, at your option, any later version.
This program comes with ABSOLUTELY NO WARRANTY as per sections 15 & 16 of the license. See http://www.gnu.org/licenses/gpl-3.0.html for details.
-------------------------------------------------------------------------------
You are using PHP 5.5.27 (cli)

Starting a new backup with the following parameters:
Profile ID 3
Description "Command-line backup"

Current memory usage: 1.6 Mb

Unsetting time limit restrictions.

Site paths determined by this script:
JPATH_BASE : /home/teamgonecountry/public_html JPATH_ADMINISTRATOR : /home/teamgonecountry/public_html/administrator

Last Tick : 2015-09-23 12:45:08 GMT-0500 (CDT)
Domain : init
Step :
Substep :
Memory used : 4.65 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:08 GMT-0500 (CDT)
Domain : init
Step :
Substep :
Memory used : 5.36 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:08 GMT-0500 (CDT)
Domain : installer
Step :
Substep :
Memory used : 5.42 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:09 GMT-0500 (CDT)
Domain : installer
Step :
Substep :
Memory used : 5.42 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:09 GMT-0500 (CDT)
Domain : PackDB
Step :
Substep :
Memory used : 6.19 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:22 GMT-0500 (CDT)
Domain : PackDB
Step :
Substep :
Memory used : 7.34 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:22 GMT-0500 (CDT)
Domain : Packing
Step :
Substep :
Memory used : 7.54 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:24 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/images
Substep :
Memory used : 7.59 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:26 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/images/products
Substep :
Memory used : 7.59 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:30 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/administrator/modules/mod_adminmenumanager/language
Substep :
Memory used : 7.6 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:30 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/administrator/language/en-GB
Substep :
Memory used : 7.59 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:33 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/administrator/components/com_coalawebtraffic/assets/geoip
Substep :
Memory used : 7.6 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:33 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/administrator/components/com_coalawebtraffic/assets/geoip
Substep :
Memory used : 7.6 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:33 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/administrator/components/com_adminmenumanager/language
Substep :
Memory used : 7.6 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:35 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/administrator/components/com_extplorer/libraries/geshi/geshi
Substep :
Memory used : 7.6 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:41 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/administrator/components/com_rsfirewall/assets/images/flags
Substep :
Memory used : 7.6 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:46 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/plugins/editors/rokpad/ace
Substep :
Memory used : 7.59 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:47 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/plugins/editors/rokpad/ace/snippets
Substep :
Memory used : 7.59 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:53 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/language/en-GB
Substep :
Memory used : 7.59 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:54 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/components/com_extrawatch/img/icons
Substep :
Memory used : 7.6 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:54 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/components/com_extrawatch/img/flags
Substep :
Memory used : 7.6 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:45:57 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/components/com_breezingforms/themes/quickmode/images/icons-png
Substep :
Memory used : 7.6 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:46:01 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/media
Substep :
Memory used : 7.59 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:46:01 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/media
Substep :
Memory used : 7.59 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:46:01 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/media/com_joocommerce/attachments
Substep :
Memory used : 7.6 Mb
Warnings : no warnings issued (good)

Last Tick : 2015-09-23 12:46:06 GMT-0500 (CDT)
Domain : Packing
Step : /home/teamgonecountry/public_html/media/editors/codemirror/mode
Substep :
Memory used : 7.6 Mb
Warnings : no warnings issued (good)

dlb
Well golly gee, that isn't what Hostgator told me when my CRON jobs started failing. They told me that CRON jobs on shard server plans are automatically killed after 90 seconds and they would not extend the time limit on any shared server plan. It actually looks like your's is killed after 60 seconds.

The work around for me was to pay Webcron.com $3.60 and use them to trigger a front end backup. There is no way within Akeeba Backup to work around the host time limit on the CRON job.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

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!