Skip to main content

dtctl backup-plan volumes

Usage​

dtctl backup-plan volumes <backup_plan_id>

Aliases​

v

Description​

Retrieve the volumes attached to a backup plan by ID.

Example​

dtctl backup-plan volumes <backup-plan-id>

Response​

In text output (the default), this command returns the following columns: ID, Name.

Pass --output json to get the full response object instead.

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 add-volumesAdd volumes to a plan
dtctl backup-plan disableEnable or disable a backup plan
dtctl backup-plan remove-volumesRemove volumes from a plan

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