Pcornel
Virtualization · Snapshots & Checkpoints

Snapshot

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

Back to the Topic

Answer

A Snapshot captures a reference point for a VM or virtual disk without normally creating a fully independent duplicate of all data. Later changes are typically redirected or tracked so the preserved state can remain addressable.

Remember

  • A snapshot normally depends on its source/base storage and is therefore not an independent copy.
  • Snapshot creation can be fast because metadata/delta redirection may occur without copying the whole virtual disk.
  • Deleting a snapshot commonly means merge/consolidation of dependent data rather than simply deleting all referenced blocks.
  • Consistency level depends on whether guest/application quiescing was performed.

First checks

  • virsh snapshot-create-as <vm> pre-change --disk-only --atomic — disk snapshot (libvirt)
  • qm snapshot <vmid> pre-change --vmstate 0 — Proxmox snapshot
  • Get-VMSnapshot <vm> — Hyper-V

Verify in this order

current state → frozen base + delta

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 → Snapshot reference map

BoundaryMeaningEvidence limit
BasePre-snapshot stateStill required in most designs
BoundaryPoint-in-time referenceMetadata success only
DeltaPost-snapshot writesConsumes capacity
RecoveryRevert/clone/export depending platformMust be tested

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3566

Confirmation

Confirm action

Continue?