ADR-010 / Decision record
Two backup layers
Whole-guest images for fast restores, plus file-level history that survives a corrupted image.
- Context
- Restoring a whole machine and recovering one file are different problems with different time pressure.
- Decision
- Whole-guest vzdump backups for fast machine restores, plus restic for per-file, versioned, encrypted history. Both go to a NAS that holds backups only.
- Why
- vzdump gets a whole VM back quickly. restic keeps file history that survives a corrupted VM image, because it doesn't depend on that image.
- Trade-off
- Two systems to schedule, monitor and drill.
Notes
Databases get consistent backups through pre/post hooks (pg_dump, Nextcloud maintenance mode). Restores are drilled monthly and quarterly and recorded in a log.