|
| 1 | +## stackit volume snapshot create |
| 2 | + |
| 3 | +Creates a snapshot from a volume |
| 4 | + |
| 5 | +### Synopsis |
| 6 | + |
| 7 | +Creates a snapshot from a volume. |
| 8 | + |
| 9 | +``` |
| 10 | +stackit volume snapshot create [flags] |
| 11 | +``` |
| 12 | + |
| 13 | +### Examples |
| 14 | + |
| 15 | +``` |
| 16 | + Create a snapshot from a volume with ID "xxx" |
| 17 | + $ stackit volume snapshot create --volume-id xxx |
| 18 | +
|
| 19 | + Create a snapshot from a volume with ID "xxx" and name "my-snapshot" |
| 20 | + $ stackit volume snapshot create --volume-id xxx --name my-snapshot |
| 21 | +
|
| 22 | + Create a snapshot from a volume with ID "xxx" and labels |
| 23 | + $ stackit volume snapshot create --volume-id xxx --labels key1=value1,key2=value2 |
| 24 | +``` |
| 25 | + |
| 26 | +### Options |
| 27 | + |
| 28 | +``` |
| 29 | + -h, --help Help for "stackit volume snapshot create" |
| 30 | + --labels stringToString Key-value string pairs as labels (default []) |
| 31 | + --name string Name of the snapshot |
| 32 | + --volume-id string ID of the volume from which a snapshot should be created |
| 33 | +``` |
| 34 | + |
| 35 | +### Options inherited from parent commands |
| 36 | + |
| 37 | +``` |
| 38 | + -y, --assume-yes If set, skips all confirmation prompts |
| 39 | + --async If set, runs the command asynchronously |
| 40 | + -o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"] |
| 41 | + -p, --project-id string Project ID |
| 42 | + --region string Target region for region-specific requests |
| 43 | + --verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info") |
| 44 | +``` |
| 45 | + |
| 46 | +### SEE ALSO |
| 47 | + |
| 48 | +* [stackit volume snapshot](./stackit_volume_snapshot.md) - Provides functionality for snapshots |
| 49 | + |
0 commit comments