Skip to main content

dtctl backup-plan disable

Usage​

dtctl backup-plan disable <backup_plan_id> [flags]

Aliases​

db

Description​

Enable or disable a backup plan. When disabled, its scheduled backups do not run.

Example​

# Disable a plan, then re-enable it
dtctl backup-plan disable <backup-plan-id> --disabled
dtctl backup-plan disable <backup-plan-id> --disabled=false

Flags​

OptionDescription
--disabled, -dSet to true to disable the plan, false to enable it (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 add-volumesAdd volumes to a 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