Support

Akeeba Backup for Joomla!

#38089 Quota seems not to work (Bakckup FTP)

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
4.2.5
PHP version
8.0.25
Akeeba Backup version
9.4.3

Latest post by roland62 on Monday, 28 November 2022 04:20 CST

roland62

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 10MiB, please upload it on your server and post a link to it.

I do automatic initiated  front-end backup to a file-server. Is running very well, even a test-restore.

Have activated quota. After reaching around 5GB older files should be deleted. Have configured 5190 MB as maximum. Now 15 backups are taken with 490MB for each. But older backups are still not deleted.

Is there a bug or do I have a miss-configuration?

Attached the quota-settings and the log of the last backup

Regards - Roland

nicholas
Akeeba Staff
Manager

As per your log files, the quotas management did run but could not find any records to apply quotas on:

DEBUG |20221127 04:05:54|Akeeba\Engine\Core\Domain\Finalization::_run() Running new finalization object Akeeba\Engine\Core\Domain\Finalizer\LocalQuotas
DEBUG |20221127 04:05:54|There were no old backup records to apply local quotas on
DEBUG |20221127 04:05:54|Akeeba\Engine\Core\Domain\Finalization::_run() Running new finalization object Akeeba\Engine\Core\Domain\Finalizer\RemoteQuotas
DEBUG |20221127 04:05:54|Akeeba\Engine\Core\Domain\Finalization::_run() Running new finalization object Akeeba\Engine\Core\Domain\Finalizer\ObsoleteRecordsQuotas

Please note that you have enabled the maximum backup age quotas which override the count and size quotas, as documented. You have told Akeeba Backup to always keep the backups taken the last 31 days, only deleting older backup archives (unless they are taken on the 1st day of the month).

Each of your backups is about 500 MiB. This means that you have told Akeeba Backup to keep at the very least 31 * 500 = 15,500 MiB of backup archives plus the backups taken on the first of each month which add another 6,000 MiB every year.  So, after a year you have asked Akeeba Backup to keep at least 21,500 MiB of backups, about four times your intended target of 5GiB.

If you disable the maximum backup age quotas, do remember that you have also enabled the count quotas with a target value of 3. This means that once you disable maximum backup age quotas and take another backup only the latest backup and 2 or 3 more (depending on your Options settings) will be kept, i.e. a total of 1,500 to 2,000 MiB which under half your target size quotas.

Therefore you need to disable both the maximum backup age quotas and the count quotas.

Please keep in mind that Akeeba Backup —like any software— will dutifully do what you tell it to do, not what you intended it to do. Always pay attention to your configuration and please do read the documentation.

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!

roland62

Yes, the last entry with activated count quota was a mistake by testing.

Thought if I activate the daily and volume quota it will work if one of both is reached. Thanks. Have now only volume quota activated for the website with nearly 500MB, and only the daily quota for two smaller sites. Now it is working well.

Thanks - Roland

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!