Credits: Video Training produced by Brian Teeman
Now that you are using Akeeba Backup to take regular backups, it's useful to know about the Quota Management that Akeeba Backup offers.
Quota management applies to the profile and only to the backups taken with that profile, not to all backups.
Select the profile that you wish to use and click on Configuration. Here you can see a reminder which profile it is that you are using.
If you scroll down until you reach Quota Management, there are several different options available to you.
If you hover over any text on the left, you'll get a popup explaining exactly what each option provides. Here we can enable maximum backup age quotas.
If I select this, I can now define how many backups to keep on a daily basis.
Here I am saying I want to keep all backups taken with the last 31 days, but don't delete the backup taken on the 20th day.
Once a backup file is removed by the Quota Management the record that a backup took place will still exist.
This field here sets the maximum number of obsolete records to keep. In other words, records of backups that took place where the backup file is no longer present.
An alternative to setting up by the backup age is to set up based on physical size. If you enable the size quota, you can then set the quota in megabytes of the amount of disk space you want to use for your backups.
For example, if I chose 256 that will mean that once I reach 256 megabytes of backup files, the older ones will be removed to provide space for the newer ones. This is useful if you have limited disk space.
Alternatively, you may chose to enable the count quota. The count quota will keep a specified number of backups. As you can see you can chose a predefined number or enter your own here.
Finally, if you are using Akeeba Backup Professional with remote file storage, such as Amazon S3 or Dropbox, you need to enable the remote file quotas option in order for the quota that you apply below to apply to that remote storage.
I usually chose the remote file quota, and the backup age of 31 so I keep the last 31 days of backups, but I keep the one from the 20th.
If I Save and Close that and now go to my Manage Backup, you can see exactly what has happened.
Here we can see that an automated backup has taken place, the file has been stored remotely, it is taking place on a daily basis.
As we scroll back, we can see that there is a backup kept for every day until we reach the 21st which is 31 days ago. This backup has been removed.
The next backup on the 20th has been kept because I had told it to keep all the backups that are taken on the 20th of the month.
Moving down we can see all the rest have been removed until we reach the 20th of the previous month and that one has been kept.
So with this configuration I will end up with one backup per month plus the last 31 days of backups.