Skip to main content

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​

OptionDescription
--name, -nNew name of the backup (required)
CommandDescription
dtctl backup listList backups
dtctl backup showShow a backup
dtctl backup createCreate a backup
dtctl backup deleteDelete a backup
dtctl backup restoreRestore a backup

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