Skip to content

Retention

Config section:

backup.retention.*

Retention cleanup removes old backups from:

plugins/Mina/ConfigGuard/backups/

Rules

  • backup.retention.maxDays

    • Default: 14
    • Deletes backups older than N days
    • disables this rule
  • backup.retention.maxCount

    • Default: 20
    • Keeps only the newest N backups
    • disables this rule

Both rules can be enabled at the same time.
Deletion is performed on the union of matches.

Safety

  • Only directories directly under ackups/ are deleted
  • Other folders are never touched