This API is used to back up a specified DCS instance.
Only master/standby and cluster DCS instances can be backed up and restored, while single-node instances cannot.
POST /v1.0/{project_id}/instances/{instance_id}/backups
Parameter |
Type |
Mandatory |
Description |
|---|---|---|---|
project_id |
String |
Yes |
Project ID. For details on how to obtain the value of this parameter, see Obtaining a Project ID. |
instance_id |
String |
Yes |
DCS instance ID. |
Request parameters
Example request
POST https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/backups
{
"remark": "Backup instances"
}
Response parameters
{
"backup_id": "548ceeff-2cbb-47ab-9a1c-7b085a8c08d7"
}