stratumctl snapshots
Manage volume snapshots
stratumctl snapshots [flags]Aliases: snapshot, snap
Subcommands
Section titled “Subcommands”stratumctl snapshots create: Snapshot a volume (returns 202; poll until state=available)stratumctl snapshots delete: Delete a snapshotstratumctl snapshots get: Describe a snapshotstratumctl snapshots list: List snapshots in a projectstratumctl snapshots restore: Restore a new volume from a snapshot
stratumctl snapshots create
Section titled “stratumctl snapshots create”Snapshot a volume (returns 202; poll until state=available)
stratumctl snapshots create <name> [flags]Examples
Section titled “Examples”stratumctl snapshots create data-before-upgrade --volume vol-3k8m2x7q9astratumctl snapshots create data-before-upgrade --volume vol-3k8m2x7q9a --description "before the 2.1 upgrade"| Flag | Type | Default | Description |
|---|---|---|---|
--description |
string | Free-form description | |
--display-name |
string | Human-friendly display name | |
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) | |
--quiesce |
bool | false |
Reserved — guest-agent quiesce is wired |
--volume |
string | Source volume ID (required) |
stratumctl snapshots delete
Section titled “stratumctl snapshots delete”Delete a snapshot
stratumctl snapshots delete <snapshot-id> [flags]Examples
Section titled “Examples”stratumctl snapshots delete snap-4k8m2x7q9a| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl snapshots get
Section titled “stratumctl snapshots get”Describe a snapshot
stratumctl snapshots get <snapshot-id> [flags]Examples
Section titled “Examples”stratumctl snapshots get snap-4k8m2x7q9astratumctl snapshots get snap-4k8m2x7q9a --output json| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl snapshots list
Section titled “stratumctl snapshots list”List snapshots in a project
stratumctl snapshots list [flags]Examples
Section titled “Examples”stratumctl snapshots liststratumctl snapshots list --source-volume vol-3k8m2x7q9a --output json| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) | |
--source-volume |
string | Filter to snapshots of this volume |
stratumctl snapshots restore
Section titled “stratumctl snapshots restore”Restore a new volume from a snapshot
stratumctl snapshots restore <snapshot-id> [flags]Examples
Section titled “Examples”stratumctl snapshots restore snap-4k8m2x7q9a --name data-restoredstratumctl snapshots restore snap-4k8m2x7q9a --name data-restored --size-gib 200| Flag | Type | Default | Description |
|---|---|---|---|
--display-name |
string | Human-friendly display name | |
--name |
string | New volume name (required) | |
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) | |
--size-gib |
int64 | 0 |
Override size in GiB (must be >= snapshot size; defaults to snapshot size) |
