Skip to content

Checkpoints

Keep a durable namespace view with a user snapshot and inspect the records that protect storage.

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.

Commands
loonfs snapshot create --namespace demo --name before-migration
loonfs snapshot list --namespace demo

Keep the returned snapshot_id and pass it to supported reads. Delete it when you no longer need the view:

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

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:

Commands
loonfs use demo
loonfs maintenance snapshot list

Fork snapshots are managed by the fork lifecycle and released at retirement. See Pools and Data lifecycle for how these records affect storage reclamation.