Skip to content

Storages & Retention

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:

ContentPath
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

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.