Skip to main content
A snapshot saves a sandbox’s memory, running processes and disk at one moment. Restoring it rolls that same sandbox back. To start a second sandbox from the same state instead, use zode fork. Background: Snapshots and fork.
A <snapshot> is its name or its snp_ id. zode snapshots works too, as do the aliases create for save, list for ls, rollback for restore and delete for rm.

Save

Leave out the name and the API picks one, snapshot-YYYYMMDD-HHMMSS. A sandbox keeps up to 20 snapshots.

List

With no snapshots it prints no snapshots yet: zode snapshot save <sandbox>.

Restore

Memory, processes and disk go back to the saved moment. Anything the sandbox did after it is lost, unless you saved another snapshot first. A snapshot restores only onto the sandbox it was taken from.

Delete

From an agent

The MCP server has the same operations as snapshot_save, snapshot_list and snapshot_restore, so an agent can save before a risky step and roll back on its own.