- Docs
- Concepts
Checkpoints
Keep a durable namespace view with a user snapshot and inspect the records that protect storage.
Understanding checkpoints
Section titled “Understanding checkpoints”A checkpoint is a durable pin of a namespace view. Use a user snapshot for this purpose. There is no separate checkpoint owner kind: stored snapshot owners are user or fork.
For a checkpoint that lasts until you release it, create a snapshot without ttl_ms. It keeps its captured manifest and referenced data readable even if the live namespace’s retention floor advances. It does not freeze that floor or preserve every later change.
Creating and releasing a checkpoint
Section titled “Creating and releasing a checkpoint”loonfs snapshot create --namespace demo --name before-migrationloonfs snapshot list --namespace demoKeep the returned snapshot_id and pass it to supported reads. Delete it when you no longer need the view:
loonfs snapshot delete --namespace demo {snapshot_id}Add --ttl-ms to the create command for a checkpoint that expires automatically. Deleting or expiring a snapshot makes it unreadable; garbage collection removes the underlying record after the safety grace window.
Inspecting retained views
Section titled “Inspecting retained views”The public snapshot listing includes available user snapshots. The maintenance inventory also shows fork snapshots and expired or deleted records that have not yet been collected:
loonfs use demoloonfs maintenance snapshot listFork snapshots are managed by the fork lifecycle and released at retirement. See Pools and Data lifecycle for how these records affect storage reclamation.