Use it when the storage-protection question has been narrowed to Snapshots → Application-consistent Snapshot. Preserve object identity, timestamps, dependency state and the newest authoritative data before changing configuration, deleting snapshot state, resynchronizing or changing replication ownership.
Application-consistent Snapshot
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.
1. Application-consistent snapshots quiesce apps first (VSS, fsfreeze, DB hooks).
2. Needed for databases and AD.
3. Requires agents/integration.
4. Freeze time must be short.
5. Check writer errors.
quiesce app → snapshot → thaw
Context & applicabilityCommon mistakes · platform/version boundaries
Application-consistency evidence shows coordinated capture only when the application hook, filesystem flush and snapshot creation all succeeded in the same window.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
application quiesce/checkpoint → filesystem flush/freeze → snapshot create → thaw → restore/test → application integrity check
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.
- Snapshot exists ≠ application quiesce succeeded.
- Quiesce success ≠ application data is semantically correct.
- Application-consistent ≠ backup.
- Agent status from another timestamp ≠ proof for this snapshot.
vssadmin list writers— VSS writer statusfsfreeze -f <mount>; snapshot; fsfreeze -u <mount>— Linux freezeqm agent <vmid> fsfreeze-status— guest agent
ReferenceImportant terms & boundaries3 sections · depth on demand
Scope and what the checks show
Application-consistency evidence shows coordinated capture only when the application hook, filesystem flush and snapshot creation all succeeded in the same window.
In depth
Application-consistent: the application flushed and paused writes before the snapshot
An application-consistent snapshot asks the guest and its applications to flush buffers, complete in-flight transactions and pause writes for a moment. The snapshot is then taken and writes resume. The result restores without crash recovery.
Hyper-V checkpoint types
Set-VM documents -CheckpointType:
| Value | Behaviour |
|---|---|
| Disabled | Checkpoints are blocked |
| Standard | Standard checkpoints |
| Production | Production checkpoints if the guest supports them, otherwise standard |
| ProductionOnly | Production checkpoints if the guest supports them, otherwise the operation fails |
PS> Set-VM -Name SQL01 -CheckpointType ProductionOnly
PS> Get-VM SQL01 | Select Name,CheckpointType
PS> Get-VMIntegrationService -VMName SQL01 | ? Name -match 'Backup|VSS'
With Production, a failed freeze silently produces a standard (crash-consistent) checkpoint. ProductionOnly makes the failure visible.
Mechanisms by platform
| Platform | Mechanism |
|---|---|
| Windows guests | VSS writers (SQL Server, Exchange, AD) |
| Linux guests on Hyper-V | File-system freeze through integration services |
| KVM / libvirt | qemu-guest-agent fsfreeze (virsh domfsfreeze, snapshot-create-as --quiesce) |
| VMware | VMware Tools quiescing, with VSS in Windows guests |
| Databases directly | Backup mode or flush with read lock, e.g. PostgreSQL pg_backup_start |
Verify it is really consistent
- Check the backup or snapshot job log for VSS or quiesce errors. Many tools fall back silently.
- Keep guest agents and integration services running and updated.
- A file-system freeze alone does not flush database buffers. For databases, use the database's own backup interface or a VSS writer.
Documented example, not captured output.
Quick reference
An application-consistent snapshot asks the application to flush and briefly freeze writes before the snapshot: VSS writers on Windows, fsfreeze or pre/post scripts on Linux, guest agents (VMware Tools, QEMU guest agent, Hyper-V integration services) in VMs.
Sequence: quiesce → snapshot → thaw, typically within seconds. If quiescing fails, many tools silently fall back to crash-consistent — check the job log for a warning.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Snapshots → Application-consistent Snapshot. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://openzfs.github.io/openzfs-docs/man/master/8/zfs-snapshot.8.html · confidence 94%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.
Quick lookup tables
Snapshots → Application-consistent Snapshot proof map
Fast identity, dependency, failure-boundary and acceptance checks for Snapshots → Application-consistent Snapshot.
| Storage boundary | What to verify | Proof limit |
|---|---|---|
| Identity / state | Correct object, source/target or snapshot point and same-window timestamps | Inventory alone does not prove data correctness |
| Dependency path | Snapshot mapping/chain, active write target, capacity and backing storage | A healthy adjacent component is not end-to-end proof |
| Failure boundary | Application-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 |
| Acceptance | Healthy 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 |