Support

Akeeba Backup for Joomla!

#28907 Scheduled Automatic Backups

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, 03 February 2018 17:17 CST

Netperformers
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.

Setup:
- 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.

dlb
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


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)

Netperformers
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.

dlb
You're welcome! I'm glad everything is working for you.


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)

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!