dtctl backup-plan add-volumes
Usage
dtctl backup-plan add-volumes <backup_plan_id> [flags]
Aliases
av
Description
Add one or more volumes to a backup plan so they are included in its scheduled backups.
Example
dtctl backup-plan add-volumes <backup-plan-id> --volume-ids <volume-id-1>,<volume-id-2>
Flags
| Option | Description |
|---|---|
--volume-ids, -v | Comma-separated volume IDs to add (required) |
Related Commands
| Command | Description |
|---|---|
| dtctl backup-plan list | List backup plans |
| dtctl backup-plan show | Show a backup plan |
| dtctl backup-plan create | Create a backup plan |
| dtctl backup-plan update | Update a backup plan |
| dtctl backup-plan delete | Delete a backup plan |
| dtctl backup-plan disable | Enable or disable a backup plan |
| dtctl backup-plan remove-volumes | Remove volumes from a plan |
| dtctl backup-plan volumes | List a plan's volumes |
Global Flags
| Option | Description |
|---|---|
--api-url | Send this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1") |
--config, -c | Specify a custom config file Default: ~/.config/dtctl/config.yaml |
--no-headers | Omit the column headers, for scripting Default: false |
--output, -o | Output format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line Default: text |