Support

Akeeba Backup for Joomla!

#8898 Help with Godaddy 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 nicholas on Wednesday, 15 June 2011 02:28 CDT

user27936
Folks,

I have successfully been able to get my Akeeba Backup Pro running from the Joomla Administration panel without any internal server error messages. When I try to execute through CPanel Cron Job, it does not run at all. I have tried backup.php and it generates a partial jpa file and stops. I changed to atlbackup.php and it does not generate any log files or a jpa file. I redirected standard out to a text file and have attached that file. It basically just says starting backup. Any thoughts how I should diagnosis this problem or resolve?

Thanks,
Joe

user27936
Folks,

FYI. The following is the command line I am using in the Godaddy CRON Job Manager:

/web/cgi-bin/php5 /home/content/xx/xxxxxxx/html/administrator/components/com_akeeba/altbackup.php >> /home/content/xx/xxxxxxx/html/Backups/NPHIC-Backup-Log.txt 2>&1

Thanks,
Joe

nicholas
Akeeba Staff
Manager
The is a known issue with GoDaddy's shared accounts. They do not allow you to run a CRON job for more than 3 minutes and they will not make an exception (unlike most other hosts). Instead, if you ask them, they will try to upsell you to a VPS or a dedicated server. This is one option. The other options you have are:
1. Try using the front-end backup feature with whet to schedule the backup. This usually works, but it's not entirely guaranteed that it will in your case.
2. Go to another host with faster servers and more elastic policies when it comes to scheduling backups, such as Rochen, CloudAccess.net, redHOST or RackSpace Cloudsites.

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!

user27936
thanks for the prompt reply. can you explain front-end feature with whet?

thanks,
Joe

user27936
I know how to turn on the front-end and remote backup from the parameters area. Just not sure what you mean by scheduling with whet?

Thanks,
Joe

nicholas
Akeeba Staff
Manager
I meant wget. The step by step documentation is here: https://www.akeebabackup.com/documentation/akeeba-backup-documentation/frontend-backup.html

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!

user27936
Thanks! Tried it but did not work. Getting a 403 Forbidden error message. I'm running RSFirewall! and I think it maybe blocking it. Or, is it something else. Any suggestions?

Also, I decided to break the backup down into logical pieces (i.e. Joomla Core, Content, etc.) to make the backups faster. Is there a way in Akeeba to just tell it not to do a database backup? The only thing I could figure to do was exclude all the tables in the Backup Content profile I created.

Thanks,
Joe

user27936
Forget the second question in the last post. I figure it out from the configuration section, "Site Files Only". Just need your thoughts on the 403 Forbidden error message. BTW. I also tried the "php script using CURL" in the link you sent to me. Same 403 Forbidden.

Thanks,
Joe

nicholas
Akeeba Staff
Manager
Go to Akeeba Backup and click the "Component Parameters" button. Please make sure that "Enable front-end and remote backup" is set to Yes and that you have typed in a "Secret word" in the box below. Also make sure that you are using the same Secret Word in the CRON job's command line. It's best to using nothing but lowercase ASCII letters (a-z) and numbers (0-9) for your secret word.

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!

user27936
K. I have everything setup the way you suggested. Still getting the forbidden error. It is coming from X-Squid-Error. I've attached the log. This Akeeba profile is configure just to do a database backup and nothing more. I ran this with the RSFirewall Active Scanning disabled. Any suggestions on where I can start the debugging?

Thanks,
Joe

nicholas
Akeeba Staff
Manager
It looks like your host disallows accessing the server using wget, or you have some .htaccess directives which block wget. First check your .htaccess. If there's nothing there to cause this, ask your host.

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!