Default changelog retention at zero in Netbox 4.4 and above #20559
Replies: 2 comments 3 replies
-
The housekeeping script is part of the NetBox application and should be run regularly per the documentation. If you want to preserve all changelog history, you need to set the |
Beta Was this translation helpful? Give feedback.
-
Hi Jeremy,
My point here is to set CHANGELOG_RETENTION = 0 for Netbox 4.4 and above, because the default behaviour for change log history has changed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In versions before 4.4, the housekeeping script was external (cron). We deliberately didn’t run it because we wanted to preserve the entire change history.
Starting with 4.4, housekeeping became part of the NetBox scheduler, including automatic cleanup of changelog entries past the default 90-day retention.
The day after upgrading, the scheduler attempted to delete our full history (~1.3M records) except the last 90 days.
I suggest keeping the default changelog retention at 0 (no automatic purge), rather than 90 days, to avoid surprises like this.
Beta Was this translation helpful? Give feedback.
All reactions