Platform O&M/Backup Management/Backup Service (Plus)/Backup Service Operations
POSTBackup Service OperationsSince 3.0.0SynchronousAuth Required
CreateVmBackup
CreateVmBackup
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
rootVolumeUuidStringRequiredThe UUID of the root volume.
Body Fields
paramsObjectRequiredRequest body parameter object.
backupStorageUuidStringRequiredThe UUID of the backup storage.
nameStringRequiredThe name of the VM backup.
descriptionStringOptional. The detailed description of the backup.
resourceUuidStringOptional.
volumeReadBandwidthLongOptional. The maximum speed at which data is read from the root volume.
volumeWriteBandwidthLongOptional. The maximum speed at which data is written to the root volume.
networkReadBandwidthLongOptional. The network bandwidth for data reads.
networkWriteBandwidthLongOptional. The network bandwidth for data writes.
systemTagsListOptional.
userTagsListOptional.
Responses
Endpoint
POST/zstack/v1/volumes/{rootVolumeUuid}/vm-backups
/zstack/v1/volumes/{rootVolumeUuid}/vm-backups
Request Example
curl -X POST 'http://{host}/zstack/v1/volumes/{rootVolumeUuid}/vm-backups' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"backupStorageUuid":"<backupStorageUuid>","name":"<name>","description":"<description>","resourceUuid":"<resourceUuid>","volumeReadBandwidth":1,"volumeWriteBandwidth":1,"networkReadBandwidth":1,"networkWriteBandwidth":1},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventories": [ { "uuid": "785edb93bb1b3a31857dac1e69cc8392", "volumeUuid": "2ae6b881bb1239cd907d48993e86a2e8", "name": "Root-Volume-Backup-1", "description": "volume backup", "size": 1.073741824E9, "groupUuid": "2f7c0a5bb86430e8a5ac48312172d70d", "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM" }, { "uuid": "3084eea905f4311b9d484bfe97142bdf", "volumeUuid": "f6c7d5276c873eba8accddd4a09a1ee6", "name": "Data-Volume-Backup-1", "description": "volume backup", "size": 2.147483648E9, "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM" } ] }Change History
This API has no change history records yet.
