Skip to content

bhatti snapshot delete

Delete a named snapshot.

bhatti snapshot delete <snapshot-name> [-y]

Removes the snapshot record and the on-disk snapshot files (mem.snap, vm.snap, copied rootfs). Cannot be undone.

By default, prompts for confirmation. In a non-interactive shell without -y, the command refuses and exits 1.

Sandboxes that were previously resumed from this snapshot are unaffected — they have their own copy of the state and don’t reference the original.

Terminal window
bhatti snapshot delete pre-experiment
Delete snapshot "pre-experiment"? [y/N]: y
deleted
Terminal window
# Non-interactive
bhatti snapshot delete pre-experiment -y
FlagDefaultDescription
-y, --yesfalseSkip confirmation.

See Global flags for --url, --token, --json, --timing, --data-dir.