Pcornel
Storage · Backup

Application-aware Backup

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

Back to the Topic

Answer

The goal is application-level consistency, not merely a crash-consistent view of storage blocks or files.

Remember

  • Application-aware flag ≠ verified application recovery; quiesce success ≠ every external dependency captured.
  • Application-aware 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.

First checks

  • sqlcmd -Q "BACKUP DATABASE ... TO DISK=..." — SQL Server
  • pg_basebackup / pg_dump — PostgreSQL
  • vssadmin list writers — VSS app writers

Verify in this order

app quiesce/API → consistent backup → logs managed

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.

Backup → Application-aware Backup protection/recovery map

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 boundaryApplication-aware flag ≠ verified application recovery; quiesce success ≠ every external dependency captured. 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 Application-aware 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

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

Confirmation

Confirm action

Continue?