Platform O&M/Backup Management/Continuous Data Protection (CDP)/CDP Operations
PUTCDP OperationsSince 4.5.0SynchronousAuth Required
RevertVmFromCdpBackup
RevertVmFromCdpBackup
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
vmInstanceUuidStringRequiredThe UUID of the VM instance.
Body Fields
paramsObjectRequiredRequest body parameter object.
backupStorageUuidStringRequiredThe UUID of the backup storage.
groupIdlongRequiredThe group ID of the recovery points.
primaryStorageUuidForRootVolumeStringOptional. The UUID of the primary storage for new root volume.
primaryStorageUuidForDataVolumeStringOptional. The UUID of the primary storage for new data volume.
hostUuidStringOptional. The UUID of the host.
useExistingVolumebooleanOptional. Use the recover data to overwrite existing volume or not.
recoverBandwidthlongOptional. The recover bandwidth.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/cdp-backups/{vmInstanceUuid}/actions
/zstack/v1/cdp-backups/{vmInstanceUuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/cdp-backups/{vmInstanceUuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"backupStorageUuid":"<backupStorageUuid>","groupId":1,"primaryStorageUuidForRootVolume":"<primaryStorageUuidForRootVolume>","primaryStorageUuidForDataVolume":"<primaryStorageUuidForDataVolume>","hostUuid":"<hostUuid>","useExistingVolume":true,"recoverBandwidth":1},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{}Change History
This API has no change history records yet.
