Snapshots
Snapshots are derived read models for the .firecube/ control plane. They make
inspection and cleanup commands faster, but the WAL under .firecube/runs/ is
the authoritative state.
Set The Product
Set the full product URI:
Pass the full URI through --product-name to bind the command directly to the
product without a storage configuration.
Check Snapshot Status
Expected output when no snapshot exists:
Use JSON when automation needs to branch on exists:
Expected output after a rebuild resembles:
{
"exists": true,
"completed_before": "2026-06-03T15:54:27.100797+00:00",
"age_human": "3m",
"generation": "1780502101660654725",
"records": 0
}
Rebuild A Snapshot
Preview:
Expected output:
Rebuild:
Expected output:
Use JSON if you need the snapshot path:
Expected output resembles:
{
"product": "MY_PRODUCT.zarr",
"generation": "1780502101660654725",
"records": 4,
"snapshot_path": "file:///data/products/MY_PRODUCT.zarr/.firecube/snapshots/snapshot-1780502101660654725.jsonl",
"locked": false,
"remote": false
}
Next Steps
- Inspect ChunkManager State — confirm records after rebuild
- Delete And Reingest — clean up after inspection