bhatti snapshot resume
Resume a named snapshot into a new sandbox.
Synopsis
bhatti snapshot resume <snapshot-name> [--name <new-sandbox-name>]
Description
Creates a brand-new sandbox by restoring the snapshot's memory, CPU, and disk state. Running processes pick up exactly where they left off; open file descriptors are still open; in-memory data structures are intact.
The new sandbox gets a new ID and a new IP. Persistent volumes are not re-attached — re-attach them with the same --volume semantics if needed.
--name is optional. Without it, a name is generated from the snapshot's source sandbox plus a random suffix.
You can resume the same snapshot multiple times — each call produces a fresh sandbox with the same starting state. Useful for fork-and-experiment workflows.
Examples
# Resume into a sandbox with a specific name
bhatti snapshot resume pre-experiment --name dev-restored
abc123 dev-restored 192.168.137.42
# Auto-generated name (source sandbox + suffix)
bhatti snapshot resume pre-experiment
# Stamp out parallel copies for an A/B test
bhatti snapshot resume base --name worker-a
bhatti snapshot resume base --name worker-b
bhatti snapshot resume base --name worker-c
Options
| Flag | Default | Description |
| ---- | ------- | ----------- |
| --name <string> | auto-generated | Name for the new sandbox. |
See Global flags for --url, --token, --json, --timing, --data-dir.
See also
bhatti snapshot create— make the snapshotbhatti snapshot list— find snapshot names- API:
POST /snapshots/:name/resume