I'm trying to set up an automated backup using cron on a hostagator server. Ideally using a native cron script method. I'm running Akeeba Backup Professional 3.0.b2 (2010-04-27) on the latest joomla, and the backup.php file is there and I have paramters set up to allow frontend backups and password set.
My first cron is this (I've changed the sitename to SITE and the subdomain I am backing up to SUBSITE, my name to USER):
wget --max-redirect=10000 "http://SITE.org.nz/SUBSITE/index2.php?option=com_akeeba&view=backup&key=BA99oV4tocoj6jve&format=raw"
My second is this:
/usr/bin/php /home/USER/public_html/SUBSITE/administrator/components/com_akeeba/backup.php
The path info from hostgator that I used is this:
The path to PHP is /usr/bin/php
The webroot path is /home/username/public_html
The path to WGET is /usr/bin/wget
I've checked with my hosting people and they say the cron is running, and I in fact get an email to say the backup has been made. But no zip arrives in my backup folder. Hope you have ideas...
The hostgator people emailed the below message, hope it helps to pin down the problem.
Thanks for your help!
Your crons are in fact running now, but it looks like there may be a problem with this:
Apr 28 01:00:01 gator178 crond[11129]: (USER) CMD (wget --max-redirect=10000 "http://SITE.org.nz/SUBSITE/index2.php?option=com_akeeba&view=backup&key=KEY&format=raw")
Apr 28 01:01:18 gator178 crond[10995]: (USER) MAIL (mailed 8477 bytes of output but got status 0x0001 ) Apr 28 01:30:01 gator178 crond[10605]: (USER) CMD (/usr/bin/php /home/USER/public_html/SUBSITE/administrator/components/com_akeeba/backup.php)
Apr 28 01:31:16 gator178 crond[10448]: (USER) MAIL (mailed 2290 bytes of output but got status 0x0001 )
However, it did send mail:
2010-04-28 01:01:11 1O70Kd-0003Cb-33 office F= R=virtual_user T=virtual_userdelivery S=996
2010-04-28 01:01:11 1O70Kd-0003Cb-33 Completed