Akeeba Backup for Joomla!

#28907 – Scheduled Automatic Backups

Posted in ‘Akeeba Backup for Joomla!’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Monday, 18 December 2017 08:34 CST
Hello dear Support-Team,

I'd like to know how to schedule automatic backups so that they run on their own, without having me to log into Joomla! and press that "Backup Now" button anymore.

- Joomla! 3.8.3
- Akeeba Backup Pro 5.6.3
- PHP 7.0.25

We've set up a FTP Server on which we want to store backups from multiple Joomla! sites.
Each backup should go into its own directory:

- /backups/site1
- /backups/site2 and so on ...

I've managed to setup the subdirectories properly. Akeeba has successfully stored some of the backups in these folders.

Anyhow ... the problem I have now is that I have to login on every single site and press that "Backup Now" button manually. I've tried to set up CronJobs and PHP Scripts but I couldn't figure out how they work properly.
Also ... is there any way to just keep the latest X files on the FTP-Server, so Akeeba automatically deletes the oldest ones?

Any help is appreciated!

I'm looking forward to hearing from you.
Kind regards.
Custom Fields
Joomla! version (in x.y.z format)
PHP version (in x.y.z format)
Akeeba Backup version (x.y.z format)
5.6.3 Professional
Edited by Netperformers on 2017-12-18 14:34
Monday, 18 December 2017 09:19 CST
You can set up quotas in the Configuration screen. You need to check the "Enable remote files quotas" in order to allow Backup to enforce the quotas on your remote FTP server. For what you want, you would enable the Count quota and enter the number of backups you want to keep.

You already have your backups being post processed to your FTP server, that's good. All the CRON job will do is press the Backup Now button for you and your Configuration takes over and does the actual backup.

The actual CRON Job is set up in your host's cPanel interface. You will need to set up the frequency that your job will run, daily, weekly, etc. and the command that you want to execute to trigger the job. You can find help with the actual command in Akeeba Backup under Schedule Automatic Backups. You probably want to do a Command Line backup. This is the most common type, if your host supports it.. Note that the /path/to/php needs to be replaced with the actual path to your PHP-CLI executable. Your host can give you that, it varies from one host to another. You need to be very specific, you want the command line version of PHP, not the CGI/FCGI version. Sometimes your host's entry level support don't know the difference.

Dale L. Brackin

Support Specialist

English: native

Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Thursday, 04 January 2018 01:33 CST
Hello Dale,

thank you very much for your response.
I've managed to set up my automatic backups using Akeebas "Schedule Automatic Backups" feature and Cronjobs on a Linux server.
I've also managed to set up the "count-quota".

All problems are solved.

Kind regards.
Thursday, 04 January 2018 07:30 CST
You're welcome! I'm glad everything is working for you.

Dale L. Brackin

Support Specialist

English: native

Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Saturday, 03 February 2018 17:17 CST
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.
Edited by on 2018-02-03 23:17
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

Support policy: Read the complete support policy which is part of our Terms of Service. We kindly remind our subscribers that they have already explicitly and unconditionally accepted the Terms of Service.

Cookies Notification - Action required

This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. You can change your preference later, from the controls which will be made available to you at the bottom of every page of our site.