VM Backup
Cheat sheet · https://pcornel.dk/topic.php?topic=3622
Answer
Virtualization backup is the protection workflow around a VM: select the protected scope, capture disk/configuration and optionally application state, transfer it to a protection repository, retain restore points, verify integrity, and prove recovery through restore testing.
Remember
- Backup ≠ snapshot/checkpoint; independence from the production write path is the key distinction.
- Backup job success ≠ recoverability until a restore is tested.
- Replication ≠ backup because replicated corruption/deletion can be propagated.
- RPO describes acceptable data loss; backup frequency alone does not prove the achieved RPO.
First checks
vzdump <vmid> --storage <pbs> --mode snapshot— Proxmox backupGet-WBJob / backup tool job report— job statusproxmox-backup-client snapshot list— PBS snapshots
Verify in this order
VM → snapshot/CBT → backup repository → offsite copy
Where it usually breaks
First mismatch in guest block/filesystem view → virtual controller/disk → hypervisor mapping → datastore/path → storage backend → durability/read-back; preserve identity/native error/pre-state before mutation.
VM Backup reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Capture | VM/config/application state selected | Does not prove consistency |
| Repository | Backup data stored outside active VM chain | Does not prove recoverability |
| Restore point | Catalog/metadata identifies usable point | Does not prove restore path |
| Recovery test | Recovered workload passes original test | Strongest practical proof |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3622