delete

Delete a snapshot and its manifest-db entry.

Back to CLI Commands

delete removes one snapshot from a space and deletes its manifest.db entry.

It does not delete CAS chunk files directly. Unreachable chunks are handled later by rinne gc.

Usage
rinne delete <selector> [--space <space>]
Options
--space <space>
Use the specified space instead of the current space.
Examples
Delete the latest snapshot in the current space
rinne delete '@0'
Delete a snapshot in another space
rinne delete '@0' --space experiment
Delete by id prefix
rinne delete 20260308
Notes
  • The command deletes the entire snapshots/<space>/<id>/ directory and the matching entry in .rinne/store/manifests/manifest.db.
  • CAS chunk files are never deleted by delete itself.
  • Snapshot directory cleanup is staged to .rinne/tmp/trash, and temporary trash cleanup is handled by rinne gc.