Stopping a Backup
Description
This API is used to stop a backup in case of an emergency.
Constraints
This API is available only for DB instances in the Backing up or Uploading backup state.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependencies
dds:backup:delete
write
-
-
-
-
URI
|
Parameter |
Type |
IN |
Mandatory |
Description |
|---|---|---|---|---|
|
X-Auth-Token |
string |
header |
Yes |
User token obtained from IAM. For details, see Authentication. |
|
project_id |
string |
path |
Yes |
Project ID of a tenant in a region. Obtain the project ID by following the instructions in Obtaining a Project ID. |
|
backup_id |
string |
path |
Yes |
Backup ID. |
Request
- Parameter description
Table 2 Parameter description Parameter
Type
Mandatory
Description
action
String
Yes
Operation.
stop indicates the operation for stopping a backup.
- Example Request
{ "action" : "stop" }
Response
- Parameter description
Table 3 Parameter description Parameter
Type
Description
job_id
String
ID of the workflow for stopping a backup.
- Example Response
{ "job_id": "b52cc59d-e1e2-4e63-bb00-7694e126f66a" }
SDK
Click Document Database Service DDS SDK to download the SDK or view the SDK document. To learn how to install and authenticate an SDK, read the Usage section.
Status Code
For details, see Status Code.
Error Code
For details, see Error Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot