Platform O&M/Backup Management/Backup Service (Plus)/Backup Service Operations
POSTBackup Service OperationsSince 2.6.0SynchronousAuth Required
CreateVolumeBackup
CreateVolumeBackup
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramsObjectRequiredRequest body parameter object.
volumeUuidStringRequiredThe UUID of the volume.
backupStorageUuidStringRequiredThe UUID of the backup storage.
nameStringRequiredThe name of the backup.
descriptionStringOptional. The detailed description of the backup.
resourceUuidStringOptional. Specify a UUID of the backup.
volumeReadBandwidthLongOptional. The maximum speed at which data from the volume is read.
volumeWriteBandwidthLongOptional. The maximum speed at which data is written to the volume.
networkReadBandwidthLongOptional. The network bandwidth for data reads.
networkWriteBandwidthLongOptional. The network bandwidth for data writes.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/volumes/{volumeUuid}/volume-backups
/zstack/v1/volumes/{volumeUuid}/volume-backups
Request Example
curl -X POST 'http://{host}/zstack/v1/volumes/{volumeUuid}/volume-backups' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"volumeUuid":"<volumeUuid>","backupStorageUuid":"<backupStorageUuid>","name":"<name>","description":"<description>","resourceUuid":"<resourceUuid>","volumeReadBandwidth":1,"volumeWriteBandwidth":1,"networkReadBandwidth":1,"networkWriteBandwidth":1},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "6bd6608ecda63747b2471a02b42704d6", "volumeUuid": "1a0c6b2ca31a3b40b2c06a0f2ecb0849", "name": "Backup-1", "description": "volume backup", "size": 1.073741824E9, "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.
