Support

Akeeba Backup for Joomla!

#26234 Automatic Scheduled backup not finished

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 Thursday, 03 November 2016 18:20 CDT

depika
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:

I am running an automatic schedule backup once a week for 3 sites hosted at the same cpanel. For 2 of them I get that the backup finished successfully. All 3 backups transfer the backup file to dropbox.

If I run the backup configuration from the joomla administrator the backup finishes successfully and the file is sent to dropbox. Only from the automatic schedule it doesn't finish. And the file is not sent to dropbox. It remains at the server.

Below is what I get from the email.
Content-type: text/html

Akeeba Backup CLI 5.2.3 (2016-09-16)
Copyright (c) 2006-2016 Akeeba Ltd / 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 Joomla! 3.6.2 on PHP 5.4.45 (cgi-fcgi)

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

Current memory usage: 2.29 Mb

Unsetting time limit restrictions.

Site paths determined by this script:
JPATH_BASE : /home3/joelmonzee/public_html/ouialavie
JPATH_ADMINISTRATOR : /home3/joelmonzee/public_html/ouialavie/administrator

Last Tick : 2016-10-02 00:00:15 GMT-0500 (CDT)
Domain : init
Step :
Substep :
Memory used : 8.13 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:00:15 GMT-0500 (CDT)
Domain : installer
Step :
Substep :
Memory used : 8.2 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:00:15 GMT-0500 (CDT)
Domain : installer
Step :
Substep :
Memory used : 8.21 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:00:15 GMT-0500 (CDT)
Domain : PackDB
Step :
Substep :
Memory used : 8.29 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:00:19 GMT-0500 (CDT)
Domain : PackDB
Step :
Substep :
Memory used : 9.14 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:00:19 GMT-0500 (CDT)
Domain : Packing
Step :
Substep :
Memory used : 9.37 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:00:28 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/plugins/editors/rokpad/ace
Substep :
Memory used : 9.43 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:00:32 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/plugins/editors/rokpad/ace/snippets
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:00:43 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/plugins/system/rokbox/language/en-GB
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:00:53 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/components/com_j4schema
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:01:04 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/components/com_roksprocket/tables
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:01:14 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/components/com_jce/editor/tiny_mce/plugins/j4schema/img
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:01:25 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/components/com_admintools/Model
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:01:35 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/administrator/components/com_content/models/fields
Substep :
Memory used : 9.45 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:01:44 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/administrator/components/com_extplorer/libraries/geshi/geshi
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:01:54 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/administrator/components/com_jkopengraph/assets/icons
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:02:05 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/administrator/components/com_menus
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:02:16 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/administrator/components/com_admintools/View/SchedulingInformation
Substep :
Memory used : 9.45 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:02:19 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/administrator/language/en-GB
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:02:20 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/administrator/language/fr-CA
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:02:31 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/layouts/joomla/edit
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:02:41 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/libraries/gantry/admin/widgets/slider/js
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:02:51 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/images
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:03:01 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/images/rocketlauncher/pages
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:03:14 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/media/editors/tinymce/langs
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:03:14 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/media/editors/codemirror/mode
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:03:16 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/media/mod_languages/images
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:03:18 GMT-0500 (CDT)
Domain : Packing
Step : /home3/joelmonzee/public_html/ouialavie/templates/system/html
Substep :
Memory used : 9.44 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:03:18 GMT-0500 (CDT)
Domain : finale
Step :
Substep :
Memory used : 9.71 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:03:30 GMT-0500 (CDT)
Domain : finale
Step : Post-processing
Substep : site-ouialavie.ca-20161002-050015.jpa
Memory used : 9.97 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:03:41 GMT-0500 (CDT)
Domain : finale
Step : Post-processing
Substep : site-ouialavie.ca-20161002-050015.jpa
Memory used : 9.97 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:03:50 GMT-0500 (CDT)
Domain : finale
Step : Post-processing
Substep : site-ouialavie.ca-20161002-050015.jpa
Memory used : 9.97 Mb
Warnings : no warnings issued (good)

Last Tick : 2016-10-02 00:04:00 GMT-0500 (CDT)
Domain : finale
Step : Post-processing
Substep : site-ouialavie.ca-20161002-050015.jpa
Memory used : 9.97 Mb
Warnings : no warnings issued (good)

tampe125
Akeeba Staff
Hello,

can you please attach the backup log created when you run the script from CLI?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

depika
Here it is

tampe125
Akeeba Staff
Looking at your log file, it seems that your CRON script is killed exactly after 4 minutes.
You have to get in touch with your host and ask him to raise the timeout limit or use the frontend backup feature.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

depika
Thank you very much. I will get in touch with them.

depika
I just talked with my hosting provider (hostgator)

The client has a shared account and at php the following settings cannot change

safe mode = Off (cannot adjust)
memory_limit = 256M (MAXIMUM)
max_execution_time = 30 (MAXIMUM in seconds)
max_input_time = 60 (MAXIMUM in seconds)
post_max_size = 64M (MAXIMUM)
upload_max_filesize = 64M (MAXIMUM)
enable_dl = Off (cannot adjust)

The above settings either CANNOT be changed or exceeded on Shared and Reseller accounts. These limits are set to prevent extremely high resource usage in shared environments. We have found that a majority of the PHP scripts will work within these limits, and the scripts that require more resources are best suited for a VPS or dedicated server.

Is there a way to make the cron process run faster? Why do I face the problem when I run the backup from the cron job and not from the joomla administrator?

tampe125
Akeeba Staff
First of all, hostgator support didn't understand anything.
The limits they posted refer to script ran by the web browser, not the CLI.
You don't have any issues while running the backup from the backend since the benchmark the site and interrupt the execution before the timeout occurs. In CLI it's just a single big operation, there are no page loads.

What you need is to increase the timeout for the CLI executable, however looking at their answer I guess that's not going to happen.
In this cases the only option is to use the frontend backup feature and run it from an external service such as WebCron.org. You can have more info on that in this page of the manual.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
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!