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
| Option | Description |
|---|---|
--disabled, -d | Set to true to disable the plan, false to enable it (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 add-volumes | Add volumes to a 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 |