Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Remove Oldest Clips When SizeInGB Limit Reached #1311

Closed
utkarshjain00 opened this issue Jul 1, 2021 · 1 comment
Closed

Comments

@utkarshjain00
Copy link

As I understand, Frigate allows to keep last N days of clips and removes older clips automatically from its database and disk.

In most cases, this works fine as one could extrapolate disk used and keep some extra room. Except when it doesn't like someone was working outside all day and created a ton of clips.

My request is to create an option limit clips storage to X GB, and delete oldest clips if the size limits hits. Basically, guarantee that storage will never go over that limit.

I can do it with scripts and delete files, but that will leave entries in database and ideally this should be handled by Frigate. Please consider. Thanks.

@blakeblackshear
Copy link
Owner

Duplicate of #994

@blakeblackshear blakeblackshear marked this as a duplicate of #994 Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants