Application-consistent Backup
Cheat sheet · https://pcornel.dk/topic.php?topic=3630
Answer
Application consistency usually requires guest/application quiescence, writers/hooks or native backup APIs. It is stronger than merely freezing a virtual disk view, but the exact guarantee depends on the application and integration reporting success.
Remember
- Application-consistent ≠ every application in the guest was coordinated.
- Guest quiescence success ≠ backup repository success.
- Writer/hook success should be correlated with the same restore point.
- Application consistency ≠ zero data loss relative to the latest production transaction.
First checks
qm agent <vmid> fsfreeze-status— fs freeze capabilityvssadmin list writers— Windows VSS writers stateGet-VMIntegrationService <vm> -Name 'Backup (volume shadow copy)'— Hyper-V backup integration
Verify in this order
quiesce → snapshot → thaw → copy
Where it usually breaks
First mismatch in guest block/filesystem view → virtual controller/disk → hypervisor mapping → datastore/path → storage backend → durability/read-back; preserve identity/native error/pre-state before mutation.
VM Backup → Application-consistent Backup reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Coordination | Application prepares state | Requires supported integration |
| Capture | Point created while state is consistent | Timing must correlate |
| Resume | Production I/O continues | Check frozen/stuck writers |
| Restore | Application validates recovered state | Strong proof |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3630