You need to enable JavaScript to run this app.
Cloud Backup and Recovery

Cloud Backup and Recovery

Copy page
Download PDF
Backup source
CreateBackupResource - Create backup source
Copy page
Download PDF
CreateBackupResource - Create backup source
Call CreateBackupResource to create a backup source.​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
Below are the request parameters specific to this API and some common parameters. For more information, see Common Parameters.​
Action string required Example value: CreateBackupResource​
Operation to perform: CreateBackupResource.​
​
Version string required Example value: 2024-03-01​
The version of the API: 2024-03-01.​
​
ResourceType string required Example value: ECS​
Backup source type. The possible values are as follows:​
  • ECS: ECS instance.​
  • vePFS: vePFS file system.​
​
InstanceId string required Example value: i-ye7v75j7y8wuxjt7****​
Instance ID.​
​
InstanceName string required Example value: cbr_ecs_instance​
Instance name.​
​
​
Response parameters​
Below are the response parameters specific to this API. For more information, see Response Structure.​
ResourceId string Example value: res-4ygbgf97qu2rxn12****​
Backup source ID.​
​
​
Sample request​
​
POST /?Action=CreateBackupResource&Version=2024-03-01 HTTP/1.1​
Host: cbr.cn-beijing.volcengineapi.com​
Content-Type: application/json; charset=UTF-8​
X-Date: 20251013T034210Z​
X-Content-Sha256: 287e874e******d653b44d21e​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251013/cn-beijing/cbr/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
{​
"ResourceType": "ECS",​
"InstanceName": "cbr_ecs_instance",​
"InstanceId": "i-ye7v75j7y8wuxjt7****"​
}​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "20250422192416****D8A4",​
"Action": "CreateBackupResource",​
"Version": "2024-03-01",​
"Service": "cbr",​
"Region": "cn-beijing"​
},​
"Result": {​
"ResourceId": "res-4ygbgf97qu2rxn12****"​
}​
}​
​
Error code​
The table below lists error codes related to this interface and business logic. For public error codes, refer to the Public Error Codes documentation.​
​
Status code​
Error code​
Error message​
Description​
400​
ObjectNotExist​
The specified object does not exist.​
The object does not exist under the current account.​
400​
InvalidParameter​
The specified parameter %s is not valid.​
Invalid parameter value.​
400​
TooManyResources​
There are already too many resources and you cannot create more.​
The number of backup sources in your account has reached the limit. No more backup sources can be created.​
500​
InternalError​
The request processing has failed due to some unknown error, exception or failure.​
Internal error.​
​
​
Last updated: 2026.09.10 16:27:14