Pcornel
Storage · Snapshots

Application-consistent Snapshot

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

Back to the Topic

Answer

The capture workflow asks supported applications to flush, freeze or checkpoint their state, then creates the storage snapshot and releases the quiesce. Platform agents, writers or scripts must report success for the same capture.

Remember

  • Snapshot exists ≠ application quiesce succeeded.
  • Quiesce success ≠ application data is semantically correct.
  • Application-consistent ≠ backup.
  • Agent status from another timestamp ≠ proof for this snapshot.

First checks

  • vssadmin list writers — VSS writer status
  • fsfreeze -f <mount>; snapshot; fsfreeze -u <mount> — Linux freeze
  • qm agent <vmid> fsfreeze-status — guest agent

Commands

virsh domfsfreeze

Verify in this order

quiesce app → snapshot → thaw

Where it usually breaks

First mismatch in source consistency → capture/journal → transport → repository/replica → catalog/checkpoint → restore/failover read-back; preserve identity/pre-state before mutation.

Snapshots → Application-consistent Snapshot proof map

Storage boundaryWhat to verifyProof limit
Identity / stateCorrect object, source/target or snapshot point and same-window timestampsInventory alone does not prove data correctness
Dependency pathSnapshot mapping/chain, active write target, capacity and backing storageA healthy adjacent component is not end-to-end proof
Failure boundaryApplication-consistency evidence proves coordinated capture only when the application hook, filesystem flush and snapshot creation all succeeded in the same window.Correlate evidence for the same operation and time window
AcceptanceHealthy evidence for Application-consistent Snapshot: the expected point-in-time mapping and dependency chain are intact, required backing data is readable, and the intended snapshot lifecycle action completes with correct current-data read-back.Close only after original read-back/recovery test and protection-state verification

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

Confirmation

Confirm action

Continue?