Support

Akeeba Backup for Joomla!

#36578 Best Practices

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 Thursday, 10 March 2022 20:17 CST

[email protected]

I want to do daily backups of a site.  At the end of a month I want to make an "End of Month" backup. Then the new month starts and I want daily backups. I don't want to delete the previous month's daily backups until month 2 ends.

Also, I want to be able to use my S3 account for storage. I would like this process TOTALLY automated.

Is this possible?

Many thanks.

Bruce

nicholas
Akeeba Staff
Manager

This is perfectly possible. That's how I do it on most of my sites. I will give you two options because you never told me if the daily backup and the end of month backups are supposed to be the same.

1. If they are the same. Go to Akeeba Backup, select your backup profile, scroll all the way down to the quota settings. Check “Enable remote file files quotas” and “Enable maximum backup age quotas”. Set “Maximum backup age, in days” to 31 and “Don't delete backups taken on this day of the month” to 1. Set up the upload to S3 and schedule a backup with this profile to run every day.

2. If they are different. You will need two profiles.

Daily Backups: Check “Enable remote file files quotas” and “Enable maximum backup age quotas”. Set “Maximum backup age, in days” to 31 and “Don't delete backups taken on this day of the month” to 0. Set up the upload to S3 and schedule a backup with this profile to run every day except on the 1st of each month.

Monthly backups: Do not set up quotas. Set up the upload to S3 and schedule a backup with this profile to run only on the 1st of each month.

Both backups point to the same S3 bucket and ‘directory’.

Optional (for botch use cases): you can use Amazon S3 lifecycle policies on your Amazon S3 bucket itself to transition objects (backup archives) older than 90 days to an Infrequently Accessed (IA) storage tier and backup archives older than 180 days to the S3 Glacier Deep Archive storage tier to save money on your “cold” backups. The former takes a few minutes to start downloading, the latter takes up to a few hours — but you save ~90% on storage fees on these cold backups. I've been doing that for our site's backups since we're required to keep 10 years of records and I don't fancy us paying through the nose for them — even if it's a couple hundred bucks a year.

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!