koush / nvr.scrypted.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: More retention options

linedpaper opened this issue · comments

Ideally I would like to be able to retain detection events for a longer time period than continuous recording. Also, the ability to set a max size on the storage manually would be nice. Setting a quota on the share in my NAS doesn't change the amount of storage perceived as available and I would rather it not be an entirely separate volume, I would prefer to set a max of say 2tb, then use the retention option to automatically overwrite once it hits the threshold.

There's no plans to set max storage. Create a partition or use retention days. Determining storage usage per directory is an extremely expensive operation.

If not a max option, then different retention for events. Other NVR apps already have these features so both are very doable. A partition just for NVR is a poor workaround and retention days does not account for max size.

You can work backwards and determine how many days is equal to the number of terabytes you want.

Other products make different design decisions and have different goals, and poorly planned feature parity can have adverse effects.

Run

time du -h /path/to/nvr/storage and tell me how long it takes. And try to scrub the timeline a few days back while it is doing that.

Event backup can likely be a separate plugin or option, but is not currently on the horizon.