Support

Akeeba Backup for Joomla!

#15421 Struggling with setting up Cron Job Back

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 Sunday, 17 March 2013 17:35 CDT

sandstorm871

Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes, Cron, Alternate Cron
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes automated backup stuff & CRON
Joomla! version: 2.5.9
PHP version: 5.3.15
MySQL version: 5.0.96
Host: Dedicated Server
Akeeba Backup version: 3.7.2

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:

Hi,

I generally dont ask for help here, as your documentation is spot on & I know my way around your stuff pretty well (most of the time).

I have moved a big site over from J1.5 to J2.5 over the weekend and now cant get the CRON backups to work.

We are on a dedicated server and they always worked well before in our J1.5, so assuming the server is OK.

Our CRON in J1.5 site was this;

/usr/local/bin/php /home/banation/public_html/administrator/components/com_akeeba/backup.php -profile=1

I have tried all these for the J2.5 site and none seem to work (I also checked that the files are present in public_html/cli & that the backup is actually using profile #1);

usr/local/bin/php /home/banation/public_html/cli/akeeba-altbackup.php

usr/local/bin/php /home/banation/public_html/cli/akeeba-altbackup.php -profile=1

usr/local/bin/php /home/banation/public_html/cli/akeeba-backup.php -profile=1

usr/local/bin/php /home/banation/public_html/cli/akeeba-altbackup.php

usr/local/bin/php /home/banation/public_html/cli/akeeba-altbackup.php --profile=1

usr/local/bin/php /home/banation/public_html/cli/akeeba-backup.php --profile=1

Is there anything sticking out there that I am doing wrong?Β  or anything else you think I can check?

Thansk in advance.

Andy

nicholas
Akeeba Staff
Manager

This command line seems almost correct:

usr/local/bin/php /home/banation/public_html/cli/akeeba-backup.php --profile=1

The path to the CLI script is cli/akeeba-backup.php and you need to use a double dash in front of the options. What doesn't seem correct is usr/local/bin/php. It should be /usr/local/bin/php (note that you are missing the leading slash – this is important!).

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!

sandstorm871

Where's your "Hold my head in shame emoticon" ?

That was exactly it, can't beleive I missed it!

THANKS!

nicholas
Akeeba Staff
Manager

You're welcome :)

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!