Skip to main content

dtctl volume clone

Usage​

dtctl volume clone [flags]

Aliases​

cl

Description​

Create a new volume that is a copy of an existing one.

Example​

dtctl volume clone --volume-id <volume-id> --name data-copy --size 20 --storage-policy default

Flags​

OptionDescription
--name, -nName of the new volume (required)
--size, -sSize of the new volume in GB (required)
--storage-policy, -pStorage policy name for the new volume, e.g. HI-IOPS (required)
--volume-id, -iID of the volume to clone (required)
CommandDescription
dtctl volume listList volumes
dtctl volume showShow a volume
dtctl volume createCreate a volume
dtctl volume updateUpdate a volume
dtctl volume deleteDelete a volume
dtctl volume actionPerform a volume action
dtctl volume attachAttach a volume to a VM
dtctl volume detachDetach a volume from a VM
dtctl volume snapshotsList a volume's snapshots
dtctl volume storage-policiesList storage policies

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