Support

Akeeba Backup for Joomla!

#9122 Running from Cron

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, 31 October 2011 16:02 CDT

user27936
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the forum before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 1.5.24
PHP version: 5.2.17
MySQL version: 5.1.56
Host: HostGator
Akeeba Backup version: 3.3.4

EXTREMELY IMPORTANT: Please attach your Akeeba Backup log file in order for us to help you with any backup or restoration issue.

Description of my issue:

Folks,

At the moment, I am just looking for some guidance. I am running akeeba though 2 cron jobs. The first cron job backs up my core website, Joomla and the database. The second cron job backs up my content specific directories.

Both jobs complete normally, if I use akeeba through the joomla administration panel. However when I execute it through cron, both jobs do not complete. The following is the cron statement I am using:

/usr/bin/php5 /home/xxxxx/public_html/administrator/components/com_akeeba/backup.php -profile=1 >/home/xxxxx/public_html/Backups/xxxxx-Core-Log.txt 2>&1

Any thoughts on why this may not be completing? When running through the administration panel, both profiles only take 2 minutes at most. Thoughts are appreciated.

Thanks,
Joe

dlb
Hi, Joe

Is there anything in the redirected log file? Does the CRON job run without the redirect command? Is there anything in the Akeeba command line backup log for the failed CRON jobs?


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)

nicholas
Akeeba Staff
Manager
The command line looks correct and backup.php does not use the front-end backup mode, so there is no issue regarding redirections in this case (this only applies when using altbackup.php or the front-end backup URL).

Do you get anything in the log files (xxxxx-Core-Log.txt and akeeba.cli.log) or are they empty? Can you try running the same command line from an SSH shell? The only thing that could be wrong here, as far as I can see at least, is /usr/bin/php5 not being the correct path to the PHP executable, but the only one who can confirm this is 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!

user27936
Nicolas,

I've attached my logs. The content backup worked last night. The core did not. I can tell by the extension not changing from j01 to jpa. Any help or guidance you could provide would be appreciated.

Thanks,
Joe

nicholas
Akeeba Staff
Manager
Hi Joe,

OK, do you see how the last line of the akeeba.cli.log file is truncated? This tells me that you are running out of disk space with 100% confidence (I've seen it too many times over those last five years!). You simply need more disk space :)

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!