Automation · Rollback & Recovery
Checkpoint
Cheat sheet · https://pcornel.dk/topic.php?topic=5951
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
| Layer | Rollback & Recovery → Checkpoint operational reference |
|---|---|
| Runtime/ownership | automation 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 intent | checkpoint policy defining what state/configuration must be captured, consistency boundary, retention, integrity protection and restore procedure |
| Verification | Create 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 interpretation | The 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 boundary | do 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