Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Snapshot-based Backup

Direct 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.

When to use this

Use this topic when backup jobs create snapshots, when snapshot chains remain after backup, or when someone equates a hypervisor snapshot with the backup itself.

First 30 seconds

1. Snapshot-based backup takes a temporary snapshot, copies, then deletes it.

2. Leftover snapshots grow and slow VMs.

3. Check after every job.

4. Quiesce for consistency.

5. Large deltas during long backups.

Operational verification

snapshot → read frozen disk → delete snapshot

Evidence · next step

Inspect the production disk chain and restore the committed point without relying on the original snapshot.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show every snapshot is application-consistent or that unrelated snapshot chains are safe.

Next check: Inspect the production disk chain and restore the committed point without relying on the original snapshot.

Platform / version applicability
virtualization-storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-storage
Scope / prerequisiteUse this topic when backup jobs create snapshots, when snapshot chains remain after backup, or when someone equates a h…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

VM disk → snapshot/checkpoint → backup reader → repository → catalog commit → consolidation → restored copy

Step 2 Common mistakes Narrow the fault
  • No quiescing for databases.
  • Snapshots left after failed backups.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • 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.
Key checks
  • qm listsnapshot <vmid> — temporary backup snapshots gone?
  • Get-VMSnapshot -VMName * | ? Name -match backup — leftover checkpoints
  • virsh snapshot-list <vm> — libvirt
ReferenceWhat it is1 section · depth on demand

How it works

1. Backup software asks the hypervisor for a snapshot (quiesced via guest agent/VSS).

2. It reads the frozen disks (often only changed blocks via CBT/RCT/dirty bitmaps).

3. The snapshot is deleted and the delta merged.

Failures in step 3 leave orphaned snapshots — monitor for them.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

What "snapshot mode" means in Proxmox VE

The Proxmox backup chapter describes snapshot mode as the mode with the lowest downtime at the cost of a small inconsistency risk: VMs are backed up live, and with the QEMU guest agent enabled, file systems are frozen and thawed for better consistency.

vzdump 101 --mode snapshot --storage pbs01 --notes-template '{{guestname}}'
qm config 101 | grep agent              # agent: 1  → fs-freeze/thaw during backup
qm agent 101 ping

How it works for VMs

QEMU starts a backup job inside the running process. Blocks the guest is about to overwrite are copied first (copy-before-write), so the backup sees the disk as it was at the start. This is not a storage-level snapshot; it works on any storage. Optional fleecing caches those old blocks on fast local storage instead of sending them straight to a slow target, protecting guest I/O at the cost of extra space.

Consistency levels

SituationConsistency
No guest agentCrash-consistent — like pulling the power
Guest agent with fs-freezeFile-system consistent
Windows with agent + VSSApplication-consistent for VSS-aware apps
Databases without their own hooksFile-system consistent; use DB dumps or pre-freeze hooks for transaction consistency

Things that break or slow snapshot backups

SymptomCause
Guest freezes or I/O stalls during backupSlow target; enable fleecing or a faster datastore
fs-freeze timeout in the task logGuest agent hung, or an application blocking freeze — check agent service
Backup much larger than used spaceNo discard/TRIM in the guest; enable discard=on and run fstrim
Lock error VM is locked (backup) after a crashStale lock — confirm no backup runs, then qm unlock 101

Restore test

A backup is proven only by a restore: qmrestore to a new VMID on an isolated network, boot, and check the application.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-storage current

Authoritative/upstream documentation reviewed for bounded claims in VM Backup → Snapshot-based Backup. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://pve.proxmox.com/pve-docs/chapter-vzdump.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
snapshot backupcheckpoint based backupsnapshot-based vm backup
Embedded reference data

Quick lookup tables

VM Backup → Snapshot-based Backup reference map

Fast backup/recovery boundaries for VM Backup → Snapshot-based Backup.

BoundaryMeaningEvidence limit
SnapshotStable capture viewNot durable backup by itself
TransferData copied awayCan fail after snapshot creation
CommitRepository/catalog finalisedShould precede cleanup
CleanupSnapshot merged/removedVerify production chain
Confirmation

Confirm action

Continue?