dtctl backup update
Usage
dtctl backup update <id> [flags]
Aliases
u
Description
Change the name of a backup.
Example
dtctl backup update <backup-id> --name nightly-2
Response
In text output (the default), this command returns the following columns: ID, Name.
Pass --output json to get the full response object instead.
Flags
| Option | Description |
|---|---|
--name, -n | New name of the backup (required) |
Related Commands
| Command | Description |
|---|---|
| dtctl backup list | List backups |
| dtctl backup show | Show a backup |
| dtctl backup create | Create a backup |
| dtctl backup delete | Delete a backup |
| dtctl backup restore | Restore a backup |
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 |