Pcornel
Virtualization

VM Backup

Cheat sheet · https://pcornel.dk/topic.php?topic=3622

Back to the Topic

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 backup
  • Get-WBJob / backup tool job report — job status
  • proxmox-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

BoundaryMeaningEvidence limit
CaptureVM/config/application state selectedDoes not prove consistency
RepositoryBackup data stored outside active VM chainDoes not prove recoverability
Restore pointCatalog/metadata identifies usable pointDoes not prove restore path
Recovery testRecovered workload passes original testStrongest 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

Confirmation

Confirm action

Continue?