Support

Akeeba Backup for Joomla!

#10982 Email not sent after backup completion

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, 06 February 2012 09:53 CST

appleexpress
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes. All of those suggested.
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes. Miscellaneous instructions for Akeeba Backup. How to schedule / automate your backups with Akeeba Backup. Any other Akeeba Backup related question.
Joomla! version: 2.5.1
PHP version: 5.2.17
MySQL version: 5.1.56
Host: (optional, but it helps us help you)
Akeeba Backup version: 3.3.13

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:
Since upgrading to Joomla! 2.5.1 and Akeeba Backup 3.3.13, I am no longer receiving emails confirming that the backup has been completed.

I am using a CRON job to do a command line backup.

The option to send an email upon completion is selected.

Thanks,
Ian

nicholas
Akeeba Staff
Manager
There is an issue with emails sent from the command line backup.php file and Joomla! 2.5.x due to changes in the way Joomla! 2.5 stores its version number and the way the CRON script works. Right now, I'd recommend turning that option off. You can have your CRON daemon email you with the results of the script's execution instead. This can be done by removing the redirection to null ("> dev/null") part of the CRON job's command line.

This issue will be fixed in the next version of Akeeba Backup by rewriting the CRON script. backup.php is currently created as an ad-hoc command line script which does not use the Joomla! API and tries to simulate a small part of it, enough to allow the backups to run outside of the context of a web server. This was necessary, as it has to be compatible with Joomla! 1.5 whose API did not really support command line scripts. This has changed since Joomla! 1.7. Joomla! is now based on top of the Joomla! Framework which explicitly supports CLI (command-line) applications. The new CRON scripts will be written in a way which uses this new framework. The reason this hasn't already been done is that I still needed to support Joomla! 1.5. Now that Joomla! 2.5 is the stable, long-term support release I will drop Joomla! 1.5 compatibility from my software's new versions which means I can use this new CLI support for a more stable backup.php script :)

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!

appleexpress
Thank you for taking the time to provide such an in depth and informative reply.

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!