Pcornel
Virtualization · VM Backup

Application-consistent Backup

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

Back to the Topic

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 capability
  • vssadmin list writers — Windows VSS writers state
  • Get-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

BoundaryMeaningEvidence limit
CoordinationApplication prepares stateRequires supported integration
CapturePoint created while state is consistentTiming must correlate
ResumeProduction I/O continuesCheck frozen/stuck writers
RestoreApplication validates recovered stateStrong proof

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

Confirmation

Confirm action

Continue?