OPNsense Forum

English Forums => 23.7 Legacy Series => Topic started by: hushcoden on October 14, 2023, 10:10:10 pm

Title: What is Backup Count ?
Post by: hushcoden on October 14, 2023, 10:10:10 pm
I wasn't able to find an explanation of what that option in System -> Configurations -> Backups exactly does: could someone shed some light?

Tia.
Title: Re: What is Backup Count ?
Post by: Monviech on October 14, 2023, 10:27:41 pm
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.
Title: Re: What is Backup Count ?
Post by: tiermutter on October 14, 2023, 11:24:43 pm
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