What is Backup Count ?

Started by hushcoden, October 14, 2023, 10:10:10 PM

Previous topic - Next topic
I wasn't able to find an explanation of what that option in System -> Configurations -> Backups exactly does: could someone shed some light?

Tia.

October 14, 2023, 10:27:41 PM #1 Last Edit: October 14, 2023, 10:31:44 PM by Monviech
https://github.com/opnsense/core/blob/67f7d7ff46b933881a4d00e164143f9e53a6ac38/src/opnsense/mvc/app/library/OPNsense/Core/Config.php#L650

I guess it restricts the numbers of backups to keep, for example if you use google drive or nextcloud backup as plugin. If theres no number set, the code defaults to 100 kept backups. So its like a retention policy.
Hardware:
DEC740

Yes, that's it.
I configured 60 and I have exactly 60 backups in google drive.
This is also described here:
https://docs.opnsense.org/manual/how-tos/cloud_backup.html
i am not an expert... just trying to help...