spin snapshot
Take, list and delete a workspace's snapshots
Usage: spin snapshot [flags] spin snapshot [command]
Aliases: snapshot, snap
Available Commands: create Snapshot a running workspace's disk delete Delete a snapshot diff List what changed in a workspace's files between two snapshots list List a workspace's snapshots, including those of disks it was restored away from
Flags: -h, --help[=true|false] help for snapshot
Global Flags: --config string config file (default is $HOME/.spin/config.yaml) -o, --output string text for a person, or json: one document of what the API answered, and no prose (default "text") --profile string named profile to use; SPIN_PROFILE names it when this flag does not (default "default") --traceparent string the W3C traceparent of the span this command is part of; its own span is sent to the installation unless the profile says telemetry: false
Use "spin snapshot [command] --help" for more information about a command.spin snapshot create
Section titled “spin snapshot create”Snapshot a running workspace's disk. The snapshot is usable once it is published: thehost seals the disk at this moment and uploads what changed since the last snapshot. --waitreturns once it is.
Usage: spin snapshot create <workspace> [flags]
Flags: --description string What the snapshot is of -h, --help[=true|false] help for create --timeout duration How long --wait waits (default 5m0s) --wait[=true|false] Return once the snapshot is published --with-memory[=true|false] Keep the running processes too, so a restore resumes them
Global Flags: --config string config file (default is $HOME/.spin/config.yaml) -o, --output string text for a person, or json: one document of what the API answered, and no prose (default "text") --profile string named profile to use; SPIN_PROFILE names it when this flag does not (default "default") --traceparent string the W3C traceparent of the span this command is part of; its own span is sent to the installation unless the profile says telemetry: falsespin snapshot delete
Section titled “spin snapshot delete”Delete a snapshot
Usage: spin snapshot delete <workspace> <snapshot-id> [flags]
Flags: -h, --help[=true|false] help for delete -y, --yes[=true|false] Skip confirmation
Global Flags: --config string config file (default is $HOME/.spin/config.yaml) -o, --output string text for a person, or json: one document of what the API answered, and no prose (default "text") --profile string named profile to use; SPIN_PROFILE names it when this flag does not (default "default") --traceparent string the W3C traceparent of the span this command is part of; its own span is sent to the installation unless the profile says telemetry: falsespin snapshot diff
Section titled “spin snapshot diff”List every file added (A), removed (D), modified (M) or changed type (T) between two of aworkspace's snapshots. --from names the earlier one; without it, the comparison starts from whatthe workspace was created from.
The comparison runs in a machine of its own, so the workspace does not have to be running.
--under narrows it to one path of the filesystem. The comparison starts there rather thanfiltering the whole of it, which is what keeps the change you are looking for inside the answer:a diff is of a root filesystem, and one dependency install is tens of thousands of changes.
Usage: spin snapshot diff <workspace> <snapshot-id> [flags]
Flags: --from string The earlier snapshot (default: what the workspace was created from) -h, --help[=true|false] help for diff --under string Compare only this path of the filesystem, from its root (default: all of it)
Global Flags: --config string config file (default is $HOME/.spin/config.yaml) -o, --output string text for a person, or json: one document of what the API answered, and no prose (default "text") --profile string named profile to use; SPIN_PROFILE names it when this flag does not (default "default") --traceparent string the W3C traceparent of the span this command is part of; its own span is sent to the installation unless the profile says telemetry: falsespin snapshot list
Section titled “spin snapshot list”List a workspace's snapshots, including those of disks it was restored away from
Usage: spin snapshot list <workspace> [flags]
Flags: -h, --help[=true|false] help for list
Global Flags: --config string config file (default is $HOME/.spin/config.yaml) -o, --output string text for a person, or json: one document of what the API answered, and no prose (default "text") --profile string named profile to use; SPIN_PROFILE names it when this flag does not (default "default") --traceparent string the W3C traceparent of the span this command is part of; its own span is sent to the installation unless the profile says telemetry: falseGenerated by task reference from spin/cmd/cli at 51f7e0dea.
Installations run Spinbox v20261027.01; the reference is generated from spin v20261114.01 (51f7e0dea). This page as Markdown, for a model or a terminal.

