Storage
System
The Storage component manages Viserons database and how to store files. It helps you to organize segments, recordings and snapshots across multiple storage locations.
Files can be retained based on age and/or space used so that you never run out of storage.
Configuration
Configuration example
/config/config.yaml
storage:
recorder:
tiers:
- path: /ssd/tier1
events:
max_age:
days: 1
continuous:
max_age:
days: 1
- path: /hdd/tier2
events:
max_age:
days: 7
snapshots:
tiers:
- path: /config/tier1
max_age:
days: 1
tip
The above example will store recordings/events on /ssd/tier1 for 1 day, and then move them to /hdd/tier2 for 7 days.
It will also store continuous recordings on /ssd/tier1 for 1 day, after which they are deleted.
storagemap required
Storage configuration.