Support

Akeeba Backup for Joomla!

#18445 Akeeba Backup Pro on hostgator - cron job that works

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 Friday, 06 December 2013 09:39 CST

user81407
I finally got a cron job working in my Cpanel with hostgator + Akeeba Backup Pro + (optional) dropbox and wanted to share what I did to maybe help someone else searching Google like I did.

In Cpanel:
1) hostgator as of 12/5/2013 still runs PHP 5.2, and the handler code to use 5.3 they have you place in an .htaccess file according to these directions ARE WRONG (but the process is right). Hostgator support (1.5 hours worth) gave me the correct to paste in .htaccess (follow the directions in the article with this code)

# Use PHP 5.3
AddHandler application/x-httpd-php53 .php

2) from Cpanel > Advanced section of buttons > Cron Jobs
- add this script (the "yourserverroot/yourusername" can be found in Cpanel, bottom left under "account information" > Home Directory)
/opt/php53/bin/php /yourserver/yourusername/public_html/cli/akeeba-backup.php -profile=1

3) optional: in Joomla. Components > Akeeba Backup > Profiles Management > "configure" > "data processing engine" dropdown > I chose Dropbox, you choose whatever cloud storage > "Configure" beside the dropdown. Follow the steps.

Hope this helps someone else. My high school students and I do multimedia and web work with local businesses through our site rockettech.org. Enjoy!

dlb
Thank you for the notes! My observations indicate that Hostgator is killing the CRON job after two minutes, so you may still have trouble with your backup even after all this. If your backup fails, check the time stamps in the backup log, if it stops at the two minute mark, you know what happened. I have not tried to get them to extend the time limit, so I don't know what their reaction would be.


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!