hiloop sandbox create --from <snapshot> boots
a new sandbox from it. That one verb is restore, fork, and branch: one child resumes work, several
children explore alternatives from an identical starting point.
The model
Three properties do the work:
- Disk, not memory. A snapshot captures the filesystem. Processes and memory never survive; checkpoint durable work as files before snapshotting.
- Truthful durability. A receipt reports exactly what has been proven,
localorreplicated, rather than holding your request until replication completes; pass--wait-remoteto wait (bounded at 25 seconds) for confirmed replication. - No hidden snapshots. Persistence is explicit. Nothing is captured unless you ask; deleting a sandbox destroys its runtime state, while snapshots you created outlive it.
Snapshot
409 snapshot_in_progress), retries are replay-safe with --idempotency-key, and a snapshot
still needed by a live restore refuses deletion with 409 snapshot_in_use.
Branch
fork, restore, or resume verbs: creating from a snapshot is the
single, deliberate spelling of all three.
What survives what
Processes and memory are not resumed across a stop or a node loss on either storage class (a stop
does capture the process tree as a recorded restore point, but a start does not replay it; see
memory capture), so a program that
must pick up where it left off has to rebuild that from what it wrote to disk. On the default
standard class, snapshot anything you cannot afford to lose. For large shared inputs such as
datasets and model caches, publish a volume instead of baking data into
snapshots.
Related pages
- Sandbox lifecycle: states, stop/start, TTLs.
- Run a sandbox: the end-to-end flow these verbs live in.
- Architecture: where snapshots sit in the system.