Defining record retention period #4528
Replies: 2 comments 3 replies
-
This is not a valid config. If frigate starts when you use this config, then you may be changing a different file than the one frigate uses when running. It should immediately exit with an error message. record:
enabled: true
events:
retain:
days: 4 |
Beta Was this translation helpful? Give feedback.
-
By default frigate will retain recordings of events for 10 days and discard recordings not related to events. record:
enabled: true
retain:
days: 0
events:
retain:
default: 10 Setting retain -> days will increase the number of days to keep all recordings regardless of events, but will not impact event storage: record:
enabled: true
retain:
days: 4 # <---- keeps all recordings, not just events for 4 days
events:
retain:
default: 10 Setting events -> retain -> default will adjust the number of days to keep recordings related to events: record:
enabled: true
retain:
days: 0
events:
retain:
default: 4 # <---- deletes recordings related to events after 4 days |
Beta Was this translation helpful? Give feedback.
-
Which is the proper syntax for retention for recorded files:
My files do not get deleted after 4 days no matter which syntax I use.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions