Skip to content
Soulsand Docs

Snapshots & forks

A snapshot is a copy of the sandbox's whole disk.

  • Automatic: every hour while running, and at stop. The 3 newest are kept. Free.
  • Saved: kept until you delete them.
$ soulsand snapshot my-box --name before-upgrade   # save
$ soulsand snapshots my-box                        # list
$ soulsand fork my-box@before-upgrade my-box-2     # new sandbox from a snapshot
$ soulsand fork my-box try --count 5               # try-1 … try-5
$ soulsand restore my-box@before-upgrade           # roll back in place (snapshots the current state first)

The dashboard's Snapshots view shows a timeline with forks. In the API, a forked sandbox has forked_from.

Saved snapshots as templates

A saved snapshot belongs to your account and outlives its sandbox. Install your stack once, then start many sandboxes from it.

$ soulsand snapshot my-box --name web-stack
$ soulsand new app --from web-stack --count 5   # app-1 … app-5, same OS and size unless --size
$ soulsand snapshots                            # your saved snapshots (--all: every snapshot)
$ soulsand snapshots --rm web-stack
$ soulsand snapshot my-box --delete-auto        # delete its automatic snapshots
  • Names are unique per account. Saving a name again replaces it; existing sandboxes don't change. In an organization only the creator, an owner or an admin can replace it (403 saved_snapshot_name_taken).
  • New sandboxes get your current environment (unless --no-environment), not the source's settings.
  • 10 saved snapshots are included; each extra one is $0.056 a day from the wallet. A new name past the included ones needs a day of every extra one in the wallet, else 402 credit_required. Share-code copies and Seaeye caches count too.

Share a saved snapshot with another account

$ soulsand snapshot share web-stack              # prints the code once: fsh_…
$ soulsand snapshot shares web-stack             # its codes and uses
$ soulsand snapshot unshare web-stack shr_…      # revoke one
$ soulsand new app --from fsh_…                  # the other account
  • Only a hash is stored. Up to 20 live codes per snapshot. A revoked or unknown code: 404 share_code_invalid.
  • The code follows the newest save of that name from the same sandbox. Saving the name from another sandbox, deleting it, or unshare revokes its codes.
  • The recipient gets their own copy (marked shared). It stays after you revoke, bills as their saved snapshot, and can't be re-shared.
  • Their sandbox starts without their environment, since your disk could read their secrets. --environment NAME opts in; only for disks you trust.
  • Before it runs, froog removes your logins, your environments' secret files and cloned repos. Everything else on the disk is shared, so keep no other secrets there.
  • API: POST · GET /saved-snapshots/{name}/shares, DELETE …/shares/{id}, POST /sandboxes {"from": "fsh_…"}. All need snapshot.write.

Look inside a snapshot

Browse and download files without starting anything.

$ soulsand snapshot ls web-stack                    # a saved snapshot's ~
$ soulsand snapshot ls my-box@latest app/src        # SANDBOX@id, label or latest
$ soulsand snapshot pull web-stack ~/app -o ./app
$ soulsand snapshot pull my-box@before-upgrade /etc/nginx/nginx.conf

Relative paths are under ~. Symlinks pointing outside are skipped. Only ext4 and XFS disks (Omarchy is btrfs: 501 not_supported). API: GET /sandboxes/{name}/snapshots/{snap}/files?path=P, GET /saved-snapshots/{name}/files?path=P, plus …/files/download; needs snapshot.read and file.read.

Stops and disks

soulsand stop snapshots the disk and deletes the VM; soulsand start brings it back. The SSH address can change.

A stopped sandbox keeps its disk for 14 days (disk_expires_at). After that, start and fork fail with snapshot_data_expired. We email you 3 days before. Start the sandbox (stopping it again restarts the 14 days) or save a snapshot to keep it: saved snapshots never expire.

Warm resume. For up to 4 hours after a stop, the VM stays paused in memory, so soulsand start resumes in about a second with programs still running. Billing still stops. It can end sooner if the host needs memory (warm_until in soulsand info). Don't rely on it: save state to disk.

Full host. If the host holding a snapshot has no room, froog copies the disk to another host first. The start takes longer; progress shows the copy.

Start times

The status page shows median and 95th-percentile start times for the last 7 days (API: start_times in GET /v1/status). Targets (95th percentile, to SSH-ready):

WhatTarget
New Ubuntu 24.04, default size (pre-booted VM)3 s (typically under 1 s)
New sandbox, anything else45 s
Start a stopped sandbox45 s
Warm resume3 s
Fork60 s

Not included: a disk copy between hosts, and environment setup, which runs after the sandbox is running.