DaysToKeepMonitorAgentBackups - System Parameter
DaysToKeepMonitorAgentBackups sets how many days Nodinite keeps the configuration backups of your Monitoring Agents, listed on the Configuration Backups tab. The Monitoring Service reads it in its daily backup cleanup.
At a Glance
| Property | Value |
|---|---|
| Key | DaysToKeepMonitorAgentBackups |
| Data type | integer (days) |
| Default | 90, on a new installation and an update alike |
| Read by | Monitoring Service (once a day) |
| Takes effect | At the next daily cleanup. No restart needed. |
| Status | ✅ Active |
| Since | Nodinite 6.0.0.22 |
How It Works
Once a day, and right after it starts, the Monitoring Service removes every Monitoring Agent configuration backup that is:
- older than DaysToKeepMonitorAgentBackups days,
- not pinned, and
- not among the 10 newest unpinned backups of its Monitoring Agent.
Every pinned backup, and the 10 newest unpinned backups of each Monitoring Agent, are always kept, however old they are. A value of 0, an empty value, or a value that is not a whole number removes nothing by age.
Each run that removes backups writes one Log Audit entry (Source Monitoring Service) with the number removed per Monitoring Agent.
Two other rules remove backups, whatever this parameter says:
- Version rule: right after it starts, and then every 4 hours, the Monitoring Service removes backups of configurations below the lowest supported Monitoring Agent version, or of an unknown version. This rule removes pinned backups too.
- Delete: a user removes a single backup with Delete in the backup's Action menu.
Choosing a Value
- A longer retention keeps more history to compare and restore from; a shorter one keeps the backup list short.
- Pin the backups you must keep with Edit Pin & Comment: a pinned backup is never removed by age.