Storages & Retention
Storage backends
Section titled “Storage backends”Recordings, exported clips, and screenshots are written to a storage backend. Manage backends under Settings → Storages. The default is the local filesystem under /var/lib/altavms/; the backend is pluggable.
Default layout:
| Content | Path |
|---|---|
| Database | /var/lib/altavms/altavms.db |
| Clips | /var/lib/altavms/clips/{camera_id}/{clip_id}.mp4 |
| Screenshots | /var/lib/altavms/screenshots/{camera_id}/{screenshot_id}.jpg |
Retention
Section titled “Retention”A cleanup worker runs on a schedule and removes data past its retention window — clips, screenshots, events, and logs each have their own policy. This keeps disk usage bounded automatically. Audit logs default to one year.
Keep /var/lib/altavms/ on durable storage and include it in your backups.