Pcornel
Automation · Rollback & Recovery

Checkpoint

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

Back to the Topic

Answer

A checkpoint in rollback and recovery is a saved known-good point, such as a config archive, VM snapshot or database savepoint, that the system can return to.

Remember

  • A checkpoint is a saved known-good point.
  • Examples: config archive, VM snapshot, database savepoint.
  • Remove checkpoints after the change is verified.

First checks

  • Checkpoints in long workflows — resume points
  • Snapshot/checkpoint before change — VM/storage
  • Cleanup after success — hygiene

Verify in this order

checkpoint → change → success (cleanup) or restore

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Rollback & Recovery → Checkpoint · operational reference

LayerRollback & Recovery → Checkpoint operational reference
Runtime/ownershipautomation recovery checkpoints and state snapshots · the automation system that captures a consistent recoverable snapshot of control state before or during a multi-step mutation
Persistent intentcheckpoint policy defining what state/configuration must be captured, consistency boundary, retention, integrity protection and restore procedure
VerificationCreate a checkpoint for a bounded fixture before mutation, record its ID/hash, perform a reversible change, restore/resume from the checkpoint, and compare authoritative pre/post state.
Expected interpretationThe checkpoint captures the reviewed state at one known boundary, can be located and validated by ID/hash, and restoration or resume returns the fixture to the documented state without unrelated drift.
Recovery boundarydo not assume a checkpoint is usable from file existence alone; validate metadata/integrity, restore into a safe scope where possible, then perform independent state read-back before continuing

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

Confirmation

Confirm action

Continue?