Snapshots & Checkpoints
Cheat sheet · https://pcornel.dk/topic.php?topic=3565
Answer
Snapshots & Checkpoints is the platform-independent lifecycle model for point-in-time VM state. A snapshot/checkpoint preserves a reference state and records later changes separately so the VM can be inspected, protected operationally for a short period, merged forward or reverted according to the hypervisor's implementation.
Remember
- Snapshot/checkpoint is not a backup because it usually depends on the same VM/storage failure domain and often on the same base disk.
- Point-in-time capture does not automatically mean application-consistent capture.
- Every active delta/differencing layer becomes part of the VM's live storage dependency chain until merged or consolidated.
- Create, revert and merge are separate operations with separate evidence and failure boundaries.
First checks
qm listsnapshot <vmid>— Proxmox snapshotsvirsh snapshot-list <vm>— libvirt snapshotsGet-VMSnapshot -VMName *— Hyper-V checkpoints
Verify in this order
VM state → snapshot → delta → merge/revert
Where it usually breaks
First mismatch in guest/app quiescence → hypervisor snapshot/template task → metadata/backing chain → storage durability → restore/clone read-back; preserve identity/native error/pre-state before mutation.
Snapshots & Checkpoints reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Capture | Point-in-time VM/storage state | Not automatically a backup |
| Dependency | Base plus delta/differencing state | May share same failure domain |
| Consistency | Crash/filesystem/application level | Must be proven separately |
| Lifecycle | Revert/merge/consolidate/delete | Each action changes dependencies |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3565