Support

Akeeba Backup for Joomla!

#13571 Automating Backup with JPrcCron

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 Monday, 17 September 2012 09:35 CDT

user68137
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: (2.5.7)
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Akeeba Backup version: (3.6.3)

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:

This is not so much an issue but a question. I have found a great utility called JPrcCron ( http://extensions.joomla.org/extensions/administration/admin-performance/19490 ) that now allows me to bypass Godaddy's crappy cron support. I can now successfully send out jevents e-mail reminders, and will shortly be testing this with akeeba backup. I saw over at the developer's help forum ( http://www.prieco.com/en/forum/17-jprc-cronjobs/592-jprc-cronjobs-for-akeeba-backup-.html) that someone was successfully able to use this utility to automate an akeeba backup using its ssh option and the following command:

php -q /home/user/administrator/components/com_akeeba/backup.php &

on: Note the ampersand & at the end of the command which makes the command execute in the background. This command is run in ssh mode.

I was wondering if you had any thoughts on using this method before I attempt it. I have attached a screenshot of the utility's backend. If it does work it would be a great help to those of us with clients stuck on godaddy.

user68137
Obviously the /home/user path to the public html root will vary...

nicholas
Akeeba Staff
Manager
I have my doubts about the possibility of making it work on GoDaddy. My doubts have to do with the following:
  • GoDaddy doesn't seem to have a PHP CLI binary installed. Unless you are using Akeeba Backup 3.6.1 or later the backup will flat out fail.
  • For the same reason, and because PHP CGI (which GoDaddy has) is bound by PHP's max_execution_time there's a very high chance that the backup will fail.
  • Akeeba Backup is CPU intensive. GoDaddy seems to be killing off scripts using "too much" CPU over a period of time. This will most likely make the backup fail.
  • I suspect that the web server (Apache) also has a maximum connection timeout between 60 and 180 seconds. If the backup of the site takes more than that (it will certainly do on CrapDaddy's dead slow, oversold servers) the backup will fail.

Of course you might get lucky and nothing of this happens. Just remember my doubts if the backup fails :)

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!