[Config Support]: Keeping records for 30 days but detection events forever #22654
Replies: 1 comment 2 replies
-
|
To keep detection events indefinitely while maintaining 30 days of continuous recordings, you need to configure the For your use case, modify your camera's record configuration like this: record:
enabled: true
retain:
days: 30
mode: motion
alerts:
retain:
days: 0
detections:
retain:
days: 0Setting For snapshots, setting Additionally, there's an API endpoint to manually set specific events to retain indefinitely: This is a legacy endpoint that sets an individual event to retain indefinitely. (2) If your snapshots and events are still being deleted despite these settings, verify that:
📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
I'm trying to to keep all snapshots that occur and all detection events (the brief recordings). And only 30 days of 24/7 footage.
the 30 days of footage looks like it is working and rotating properly - I've been observing it for 2 months now. But, my events and snapshots are also rotating. I would like to keep those two (snapshots/events) forever.
Version
0.16-0
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
Frigate stats
No response
Operating system
Other Linux
Install method
Docker Compose
docker-compose file or Docker CLI command
Object Detector
CPU (no coral)
Screenshots of the Frigate UI's System metrics pages
No response
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions