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