Skip to main content
Snapshots preserve the current state of a volume or branch. They are immutable, so you can return to the same files later without affecting the live volume. This guide assumes you completed the Quickstart and have a mounted demo volume with at least one file.
1

Create a named snapshot

From a terminal separate from the running mount, capture the current state:
The command prints the snapshot name and its immutable version.
2

List saved snapshots

The list includes the immutable version and creation time. Use either the name or version in later commands.
3

Mount the snapshot

Keep this command running while you inspect the snapshot:
Snapshot mounts are read-only.
4

Read the saved files

In another terminal:
5

Unmount the snapshot

Create a writable branch from the snapshot

Mounting a missing branch with --from-snapshot creates a writable fork:
Write changes through ./recovery; the original snapshot remains unchanged.

Snapshot a branch

Use the volume@branch form to snapshot and list an individual branch:
Mount it with the same branch reference:
To create a new branch from that branch snapshot, specify both sources: