Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Snapshot-based Backup

Direct answer

The snapshot stabilizes the read view while the durable protection copy should end up independent of the production snapshot chain.

When to use this

Use it when configuring, checking or troubleshooting Snapshot-based Backup in Backup.

First 30 seconds

1. Snapshot-based backup: snapshot → read → delete.

2. Reduces backup window impact.

3. Leftover snapshots are a common failure.

4. Large change rate during backup grows delta.

5. Monitor.

Operational verification

snapshot → backup read → snapshot removed

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Data protection and recovery
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.

PlatformData protection and recovery
Scope / prerequisiteUse it when configuring, checking or troubleshooting Snapshot-based Backup in Backup.
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.

1 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 Common mistakes Narrow the fault
  • Keeping array snapshots as the only backup.
  • Snapshots on the same array that could fail or be encrypted.
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 used by backup ≠ snapshot itself being the backup; snapshot removal success ≠ backup restorable.
  • Snapshot-based Backup state or job status proves only its own boundary; it does not automatically prove end-to-end recoverability.
  • A current green status does not prove historical restore points, alternate failure domains or future recovery behavior.
  • Recovery evidence is strongest when the original protected data or service can be read back and validated after the intended recovery action.
Key checks
  • qm listsnapshot <vmid> — leftover backup snapshots
  • Get-VMSnapshot -VMName * — Hyper-V
  • Get-Snapshot -VM * (PowerCLI) — VMware
ReferenceWhat it is1 section · depth on demand

Snapshot vs backup

A snapshot freezes a point in time on the same storage system, so it is fast but not independent: if the array or volume fails, the snapshot is lost too. Snapshot-based backup copies data from the snapshot to a separate repository, then removes the snapshot. Keep snapshots short-lived on hypervisors (they grow and slow I/O); on arrays use them for fast operational restores alongside real backups.

ReferenceImportant terms & boundaries3 sections · depth on demand

Quick reference

A snapshot-based backup takes a short-lived snapshot (VM, volume or array), reads a stable image from it while production keeps writing, then deletes the snapshot. The snapshot only exists for the duration of the copy; leaving it behind grows the delta and slows the VM.

Array-integrated backups go further: the array takes the snapshot and the backup proxy reads it directly from the SAN, which offloads the hypervisor. Either way, the backup is only complete when the data has been copied off the array that holds production.

In depth

Back up from a snapshot so the backup is one point in time

A file-level backup of a busy system takes minutes or hours. Without a snapshot, files are read at different moments, and open files may be inconsistent. The fix is to snapshot first, back up the frozen snapshot, then remove it.

Windows: VSS built into restic

The restic backup documentation describes --use-fs-snapshot on Windows. It reads files from a Volume Shadow Copy, so files locked by other processes can still be backed up. It also describes --stdin-from-command for database dumps: a non-zero exit code from the dump tool cancels the backup, so no snapshot is created from a failed dump.

PS> restic backup C:\Data --use-fs-snapshot
$ restic backup --stdin-from-command --stdin-filename app.sql -- pg_dump -Fc app

Linux: snapshot, back up, release

# lvcreate -s -L 20G -n data_bk vg0/data
# mount -o ro,nouuid /dev/vg0/data_bk /mnt/data_bk          # nouuid needed for XFS
# restic backup /mnt/data_bk --one-file-system
# umount /mnt/data_bk && lvremove -y vg0/data_bk
# zfs snapshot tank/data@bk && restic backup /tank/data/.zfs/snapshot/bk && zfs destroy tank/data@bk

Consistency levels

MethodConsistency
Plain file copy of a live systemInconsistent across files
File-system snapshotCrash-consistent for that volume
Snapshot after application quiesce or VSS writersApplication-consistent
Database dump through the database's toolLogically consistent for that database

Points to watch

  • Several volumes: snapshot them together (zfs snapshot -r, array consistency groups), or the backup mixes times.
  • Snapshot space: classic LVM snapshots need room for changes during the backup run.
  • Always remove the snapshot afterwards, also when the backup fails. Use a trap in scripts.

Documented example, not captured output.

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 docData protection and recovery current

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

Basis: https://restic.readthedocs.io/en/stable/ · 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-based backupsnapshot-based-backupbackup snapshot-based backup
Embedded reference data

Quick lookup tables

Backup → Snapshot-based Backup protection/recovery map

Fast scope, recovery-state, failure-boundary and acceptance checks for Backup → Snapshot-based Backup.

Protection / recovery boundaryWhat to verifyProof limit
Scope / objectiveCorrect protected service, data, dependencies and recovery targetConfiguration or policy alone does not prove recoverability
Recovery stateUsable restore point, payload, metadata/catalog, keys and repository accessPresence or green job status does not prove successful recovery
Failure boundarySnapshot used by backup ≠ snapshot itself being the backup; snapshot removal success ≠ backup restorable. The backup boundary is proven only when a selected restore point survives the protected failure scenario and can be restored and validated.Correlate evidence for the same restore/failover attempt and time window
AcceptanceHealthy evidence for Snapshot-based Backup: the intended protected scope and recovery point are identifiable, required payload/metadata/keys are readable, and the documented restore path produces data or system state that passes the defined validation.Close only after original workload/data validation and protection restoration
Confirmation

Confirm action

Continue?