Support

Akeeba Backup for Joomla!

#25287 Cron cli Backup not saving to correct output directory

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 on Saturday, 02 July 2016 17:20 CDT

kjalderton
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:
I have a new profile that alters the standard output directory. This works fine if back up is manually run from back-end but using the cron auto backup it reverts back to the standard default output directory(administrator/components/com_akeeba/backup). I have included: /usr/bin/php5 /var/www/pands2/cli/akeeba-backup.php --profile=2 --description="My automated backup" on the command line.

Do I have to alter settings elsewhere?

nicholas
Akeeba Staff
Manager
Please install Akeeba Backup 5.1.0.b2 and retake a backup through CLI. I have already made a change in it which fixes this issue. Thank you in advance for your feedback!

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!

kjalderton
Thank you. I have downloaded and installed version 5.1.0.b2. Unfortunately it is the same result. The manual backend works fine but the cron does not puts it in the default directory.

Is there anything I can do to assist?

Kind regards

nicholas
Akeeba Staff
Manager
Please try installing the package twice in a row. I believe that the cli/akeeba-backup.php file is not being replaced by Joomla! when you install the new package.

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!

kjalderton
Hello. I have installed package again but to no avail. I have deleted cli/akeeba-backup.php and extracted it from the new package. The situation the same. I have un-installed the component and re-installed but alas nothing has changes. From the back end it is perfect, from the cron with the correct --profile= it is saved to default directory.

Anything else I can try?

Kind regards

nicholas
Akeeba Staff
Manager
Are any other settings in the backup profile –like the archive name– respected? If not, go to Akeeba Backup and click on the Options button at the toolbar. Set "Use encryption" to No under Security. Did that make a change?

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!

kjalderton
Very good. That did the job. If we can't use encryption thats not to bad.

Thanks very much.

Kind regards

nicholas
Akeeba Staff
Manager
I am adding detection of this situation (encrypted settings but encryption not supported in CLI) to prevent similar issues in the future. I mean, in cases like yours the backup will simply halt with a message explaining that the encryption is not supported in CLI and asking you to either have your host enabled mcrypt or have you disable settings encryption.

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!