stackblaze volume
Extra persistent volumes mounted into the app’s container. Alias: volumes. stackblaze volume with no subcommand lists them.
stackblaze volume [list]stackblaze volume add <name> --mount <path> [--size <qty>]stackblaze volume delete <name> [-y]| Subcommand | Description |
|---|---|
list |
The app’s extra volumes |
add <name> |
Attach a new volume at an absolute mount path. Names are lowercase letters, digits and dashes |
delete <name> |
Detach a volume; asks you to type its name unless -y |
| Flag | Applies to | Description |
|---|---|---|
--mount <path> |
add |
Container mount path (required) |
--size <qty> |
add |
Size (default 5Gi) |
--name <name> |
add |
Same as the positional name |
-y, --yes |
delete |
Skip the confirmation |
Every subcommand accepts the scope and output flags: -p, --pipeline, --phase, -a, --app, --token, --api-url, -o, --output, --json.
Examples
Section titled “Examples”stackblaze volume add data --mount /data --size 10Gistackblaze volume delete data -yWork with the files on a volume using stackblaze files; back it up with stackblaze snapshots.