Skip to main content

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​

OptionDescription
--volume-ids, -vComma-separated volume IDs to add (required)
CommandDescription
dtctl backup-plan listList backup plans
dtctl backup-plan showShow a backup plan
dtctl backup-plan createCreate a backup plan
dtctl backup-plan updateUpdate a backup plan
dtctl backup-plan deleteDelete a backup plan
dtctl backup-plan disableEnable or disable a backup plan
dtctl backup-plan remove-volumesRemove volumes from a plan
dtctl backup-plan volumesList a plan's volumes

Global Flags​

OptionDescription
--api-urlSend this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1")
--config, -cSpecify a custom config file
Default: ~/.config/dtctl/config.yaml
--no-headersOmit the column headers, for scripting
Default: false
--output, -oOutput format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line
Default: text