stackblaze snapshots
Alias: snapshot.
stackblaze snapshots liststackblaze snapshots create [--group-id <id>]stackblaze snapshots restore --group-id <id> [-y]stackblaze snapshots restore --pvc-name <name> --snapshot-name <name> [-y]| Subcommand | Description |
|---|---|
list |
Snapshots of the app’s volumes |
create |
Snapshot every snapshot-capable volume of the app as one group |
restore |
Restore a whole group, or one volume from one snapshot. Asks for confirmation unless -y |
| Flag | Applies to | Description |
|---|---|---|
--group-id <id> |
create, restore |
Group ID to create, or the group to restore |
--pvc-name <name>, --snapshot-name <name> |
restore |
Restore a single volume |
-y, --yes |
restore |
Skip the confirmation |
Every subcommand accepts the scope and output flags: -p, --pipeline, --phase, -a, --app, --token, --api-url, -o, --output, --json.
Example
Section titled “Example”stackblaze snapshots create --group-id before-migrationstackblaze snapshots restore --group-id before-migration -y