dmscli thick-clone snapshot
Creates a new snapshot from an existing volume's snapshot on a Lightbits cluster.
Synopsis
Creates a new snapshot from an existing volume's snapshot on a Lightbits cluster. The thick clone operation will copy the data from the source snapshot to the destination snapshot.
dmscli thick-clone snapshot [flags]
Examples:
x
# specify new parameters for the new snapshot
dmscli thick-clone snapshot \
--src-cluster-id 6d7f14cf-64ac-4a63-9696-0a88a94b22888 \
--src-proj-name default \
--src-snap-id 6d7f14cf-64ac-4a63-9696-0a88a94b22c3 \
--dst-cluster-id 6d7f14cf-64ac-4a63-9696-0a88a94b22888 \
--dst-proj-name default \
--dst-name volume-001 \
--replica-count 1 \
--size 10gib
# use source snapshot size, replica count and dst cluster for the new snapshot (inheriting them)
dmscli thick-clone snapshot \
--src-cluster-id 6d7f14cf-64ac-4a63-9696-0a88a94b22888 \
--src-proj-name default \
--src-snap-id 6d7f14cf-64ac-4a63-9696-0a88a94b22c3 \
--dst-proj-name default \
--dst-name volume-001
Flag | Short | Type | Default | Description |
---|---|---|---|---|
--help | -h | bool | Help for clusters . | |
--compression | bool | Enable/Disable compression for the new clone snapshot (default: same as the src snapshot). | ||
--src-cluster-id | -c | string | Source cluster ID of the source snapshot (required). | |
--description | string | Description of destination snapshot (default: empty). | ||
--dst-cluster-id | -t | string | Destination cluster ID for the new clone snapshot (required). | |
--dst-name | -v | string | Name of the new snapshot (required). | |
--dst-proj-name | -d | string | Destination project name of the new clone snapshot (required). | |
--dst-qos-policy-name | -q | string | Limiting write/read rates for the thick-clone operation by using lb qos-policy (default is empty). | |
--replica-count | -r | int32 | Replica count of the new snapshot (default: same as the src snapshot). | |
--sector-size | uint32 | Sector size of the new clone snapshot (default: same as the src snapshot). | ||
--size | -z | string | Size of the new snapshot (default: same as the src snapshot). | |
--src-proj-name | -p | string | Project name of the source snapshot (required). | |
--src-snap-id | -s | string | Source snapshot UUID for creating a new clone snapshot (required). | |
--verify-clone | bool | Whether to run verify-clone activity after the clone (default is false). |
Response Type
ThickCloneSnapshotResponse
- Thick Clone Snapshot Response.
The response to create a thick clone snapshot from a source snapshot.
The ListWorkflows API and the returned workflow ID can be used to track the status of this operation.
Name | Type | Description |
---|---|---|
WorkflowId | string |
Was this page helpful?