blakeblackshear.frigate/docs/docs/configuration
Nicolas Mowen b4d4adb75b
Limit recording retention to available storage (#3942)
* Add field and migration for segment size

* Store the segment size in db

* Add comment

* Add default

* Fix size parsing

* Include segment size in recordings endpoint

* Start adding storage maintainer

* Add storage maintainer and calculate average sizes

* Update comment

* Store segment and hour avg sizes per camera

* Formatting

* Keep track of total segment and hour averages

* Remove unused files

* Cleanup 2 hours of recordings at a time

* Formatting

* Fix bug

* Round segment size

* Cleanup some comments

* Handle case where segments are not deleted on initial run or is only retained segments

* Improve cleanup log

* Formatting

* Fix typo and improve logging

* Catch case where no recordings exist for camera

* Specifically define sort

* Handle edge case for cameras that only record part time

* Increase definition of part time recorder

* Remove warning about not supported storage based retention

* Add note about storage based retention to recording docs

* Add tests for storage maintenance calculation and cleanup

* Format tests

* Don't run for a camera with no recording segments

* Get size of file from cache

* Rework camera stats to be more efficient

* Remove total and other inefficencies

* Rewrite storage cleanup logic to be much more efficient

* Fix existing tests

* Fix bugs from tests

* Add another test

* Improve logging

* Formatting

* Set back correct loop time

* Update name

* Update comment

* Only include segments that have a nonzero size

* Catch case where camera has 0 nonzero segment durations

* Add test to cover zero bandwidth migration case

* Fix test

* Incorrect boolean logic

* Formatting

* Explicity re-define iterator
2022-10-09 06:28:26 -05:00
..
advanced.md Restructured camera specific documentation (#4005) 2022-10-07 21:15:12 -05:00
birdseye.md Add an example for birdseye override at camera level (#3922) 2022-10-01 09:04:05 -05:00
camera_specific.md Restructured camera specific documentation (#4005) 2022-10-07 21:15:12 -05:00
cameras.md Restructured camera specific documentation (#4005) 2022-10-07 21:15:12 -05:00
detectors.md warning for dev board incompatibility post-0.9.x 2021-10-09 11:23:51 -03:00
hardware_acceleration.md Link to env var option (#4032) 2022-10-07 21:13:47 -05:00
index.md Merge remote-tracking branch 'origin/master' into release-0.11.0 2022-08-13 06:50:21 -05:00
masks.md optimize images for web 2021-10-04 07:00:30 -05:00
objects.mdx Update objects.mdx 2021-12-01 07:33:16 -06:00
record.md Limit recording retention to available storage (#3942) 2022-10-09 06:28:26 -05:00
rtmp.md Use relative path without .. for rtmp documentation to fix #3481 2022-07-19 07:06:27 -05:00
snapshots.md docs updates 2021-09-12 14:48:21 -05:00
stationary_objects.md DOCS: Add stationary tracking config section to elaborate more on stationary tracking (#3077) 2022-04-11 07:19:25 -05:00
user_interface.md feat: Timeline UI (#2830) 2022-02-27 08:04:12 -06:00
zones.md clarify that zones are based on the bottom center 2022-02-18 21:18:26 -06:00