Skip to content

Snapshots and Templates

Tobias Vorwachs edited this page Nov 23, 2026 · 1 revision

Snapshots and Templates

Save the state of a sandbox's disk and go back to it, or save a sandbox as a starting point for new ones.

Snapshots

boxquell snapshot take mybox before the refactoring   # keep the disk as it is now
boxquell snapshot ls mybox
boxquell snapshot restore mybox s1795462697           # go back; what happened since is gone
boxquell snapshot rm mybox s1795462697

The words after the name are a label to recognise the snapshot by. Snapshots are also under the sandbox's Settings in the app.

A snapshot covers the sandbox's own disk: installed software, settings, everything outside the project folder. The project folder lives on your computer and is not part of it.

  • A running sandbox is stopped for the copy and started again.
  • On file systems that can share data between files (btrfs, XFS, APFS) a snapshot takes a moment and no extra space.
  • boxquell task --snapshot takes one before a task. See Tasks.

Note

Restoring throws away what happened on the disk since the snapshot. Keep your project under version control.

Templates

boxquell template save mybox node-project        # a starting point for new sandboxes
boxquell template ls
boxquell new other --template node-project       # starts with its system and software
boxquell template rm node-project

A template keeps the disk, system and software of a sandbox. boxquell template save takes an optional description after the name. In the app, "Start from" in the new sandbox form chooses a template.

Next: Tasks | Sandboxes | Project File

Clone this wiki locally