Snapshot-based Backup
Cheat sheet · https://pcornel.dk/topic.php?topic=3626
Answer
The snapshot is normally a capture aid, not the final protection copy. A backup workflow creates or coordinates a point-in-time view, reads the protected blocks, commits them to repository storage, and then consolidates/removes transient snapshot state.
Remember
- Snapshot-based backup ≠ snapshot-only protection.
- Temporary snapshot creation can succeed while backup transfer fails.
- Backup completion should include safe snapshot cleanup/consolidation.
- Long-lived backup snapshots can increase capacity and performance risk.
First checks
qm listsnapshot <vmid>— temporary backup snapshots gone?Get-VMSnapshot -VMName * | ? Name -match backup— leftover checkpointsvirsh snapshot-list <vm>— libvirt
Commands
qm unlock 101
Verify in this order
snapshot → read frozen disk → delete snapshot
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 → Snapshot-based Backup reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Snapshot | Stable capture view | Not durable backup by itself |
| Transfer | Data copied away | Can fail after snapshot creation |
| Commit | Repository/catalog finalised | Should precede cleanup |
| Cleanup | Snapshot merged/removed | Verify production chain |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3626