Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Checkpoint

Direct 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.

When to use this

Use this when saving a known-good point before changes.

First 30 seconds

1. Checkpoints mark recoverable points.

2. Workflow checkpoints for resume.

3. VM/storage snapshots for rollback.

4. Clean up afterwards.

5. Don't keep long.

Operational verification

checkpoint → change → success (cleanup) or restore

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
automation recovery checkpoints and state snapshots
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformautomation recovery checkpoints and state snapshots · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when saving a known-good point before changes.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

Exercise failure-oriented cases such as partial snapshots, state/config version mismatch, encrypted secret dependencies omitted, stale checkpoint selected, restore tool incompatibility and checkpoint existing without tested restore semantics so the test covers failure cases, not only the happy path.

Step 2 Common mistakes Narrow the fault
  • Checkpoints left in place for weeks.
Step 3 Where it fails Narrow the fault

Failure analysis for Rollback & Recovery → Checkpoint should follow the path through the components: live pre-state → quiesce/consistency boundary → checkpoint capture → durable storage/integrity → mutation → restore/resume decision. Tests should include edge cases such as partial snapshots, state/config version mismatch, encrypted secret dependencies omitted, stale checkpoint selected, restore tool incompatibility and checkpoint existing without tested restore semantics. Recovery should 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.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • A checkpoint is a saved known-good point.
  • Examples: config archive, VM snapshot, database savepoint.
  • Remove checkpoints after the change is verified.
Key checks
  • Checkpoints in long workflows — resume points
  • Snapshot/checkpoint before change — VM/storage
  • Cleanup after success — hygiene
ReferenceWhy it matters1 section · depth on demand

In depth

In rollback and recovery, a checkpoint is a recorded known-good point that a system can return to: an on-device config checkpoint (NX-OS checkpoint), a VM snapshot, a Git tag of the deployed version, or a database restore point.

checkpoint pre-chg12345                 ! NX-OS
rollback running-config checkpoint pre-chg12345

Documented example, not captured output.

Name checkpoints after the change, record them in the job log, and clean them up after the change is accepted.

ReferenceImportant terms & boundaries1 section · depth on demand

Mechanics

Checkpoint in Rollback & Recovery is owned at runtime by the automation system that captures a consistent recoverable snapshot of control state before or during a multi-step mutation. The durable intent is checkpoint policy defining what state/configuration must be captured, consistency boundary, retention, integrity protection and restore procedure. Reliable automation must carry stable identity across the path: change/run ID, checkpoint ID, target/version set, timestamp and integrity hash. The consumer-visible target is the exact control/data state needed to resume or restore the bounded automation scope. The key invariants are checkpoint represents a known consistency point, sensitive material is protected, restore compatibility is known and checkpoint creation success is independently verified before risky steps.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Lifecycle

Store and review checkpoint policy defining what state/configuration must be captured, consistency boundary, retention, integrity protection and restore procedure; pin or at least record implementation/model versions and keep environment-specific identity outside reusable logic where possible. The stable identity contract is change/run ID, checkpoint ID, target/version set, timestamp and integrity hash.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docautomation recovery checkpoints and state snapshots current concepts

Authoritative/upstream documentation reviewed for bounded claims in Rollback & Recovery > Checkpoint. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://developer.hashicorp.com/terraform/language/state/purpose · confidence 94%
Embedded reference data

Quick lookup tables

Rollback & Recovery → Checkpoint · operational reference

Context-specific ownership, verification, output and failure-boundary lookup for Rollback & Recovery → Checkpoint.

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
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

At minimum retain run/change ID, checkpoint ID, capture timestamp, scope/object versions, checksum/integrity result, storage location, restore/resume ID and post-restore state comparison. The useful output makes ambiguity visible, links to the target identity from change/run ID, checkpoint ID, target/version set, timestamp and integrity hash, and provides enough context to safely decide whether a retry is permitted.

Confirmation

Confirm action

Continue?