-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
FR: Delete Interval Snapshots Automatically #1330
Comments
The default behavior of the snapshots is to just overwrite the existing snapshot. Can you post any relevant parts of your |
Absolutely, docker-compose.yml below:
|
Thanks, I made some changes in the dev branch, so you should be able to use # Keep snapshots for 3 minutes:
- SNAPSHOT_KEEP=180
- SNAPSHOT_KEEP=180s
- SNAPSHOT_KEEP=3m
# keep snapshots for 3 days:
- SNAPSHOT_KEEP=72h
- SNAPSHOT_KEEP=3d
# keep snapshots for 2 weeks:
- SNAPSHOT_KEEP=14d
- SNAPSHOT_KEEP=2w |
@mrlt8 thanks so much! Just gave it a try and looks to be working as expected! |
* Delete old snapshots #1330 * purge old snapshots when taking any snapshot * Tweak RTMP and add RestreamIO #1333 * Increase MTX_WRITEQUEUESIZE for higher bitrates * Fix typo * restart stream on RTMP fail #1333 * Fix restore user data on restart #1334 * Use email from wyze api response directly * Bump previous build to 2.9.12 * Update config.yml * bump previous build * Changelog
Describe the bug
What is the current behavior of interval snapshots? It looks like the snapshots will continue to write until the directory is out of space. Does it overwrite older snapshots when this happens? Is it possible to limit snapshots to the last 7 days, last 30 days or w.e?
My docker host ran out of space and all images went down as a result.
Thanks!
Affected Bridge Version
Latest
Bridge type
Docker Run/Compose
Affected Camera(s)
No response
Affected Camera Firmware
No response
docker-compose or config (if applicable)
No response
The text was updated successfully, but these errors were encountered: