This API is used to restore 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}/restores
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
Request URL:
POST https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/restores
{
"remark":"restore instance",
"backup_id":"8ba256cb-e5ac-44f6-a3da-c03d8f0e5029"
}
Response parameters
{ "restore_id": "a6155972-800c-4170-a479-3231e907d2f6" }