Skip to main content
Manage saved snapshots with msb snapshot (alias: msb snap). See the snapshot guide for workflows. Local selectors accept a group head, group:member, an unambiguous ID or digest, or an artifact path. On cloud, use the snapshot reference returned by the command.

msb snapshot create

Capture disk state. Add --full to include memory and running processes.
Local disk capture accepts running, paused, stopped, or crashed sources. Stop first to include buffered writes. Cloud requires a stopped or crashed source.

msb snapshot list

List snapshots. Aliases: msb snapshot ls, msb snapshots, and msb snaps.

msb snapshot inspect

Show snapshot metadata. Add --verify to check recorded content hashes.

msb snapshot verify

Check recorded content integrity. Local-only; capture with --integrity to record disk hashes.
Without disk hashes, size and structure checks cannot detect same-size corruption. Full snapshots also validate their memory and execution objects. See integrity.

msb snapshot remove

Delete one or more snapshots. Alias: msb snapshot rm.
If other group members remain, select another head before removing the current one. --force does not bypass this rule.

msb snapshot head

Read a local group’s head, or select a member as its head.
Use --format json for structured output. The first capture sets the head; later captures advance it only when ancestry proves they descend from it. See snapshot groups.

msb snapshot save

Export a local snapshot to a compressed .msb archive.
--since, --last-layers, and --with-parents are mutually exclusive. Export preserves recorded hashes but does not verify them. See incremental exports for base requirements.

msb snapshot load

Import one or more local archives. Dependencies resolve regardless of input order; all members are validated before publication.
Dependencies come from the batch, matching members in the named group, or --base. Import preserves recorded hashes; run verify to check them.

msb snapshot reindex

Rebuild the local snapshot index from artifacts on disk. An omitted directory uses the configured snapshot store.