Manual Backup of CRS Instance

Last updated: 2019-11-29 16:35:38


1. API Description

This API (ManualBackupInstance) is used to back up a CRS instance manually.
Domain name for API request:

  • Please do not call this API frequently. The number of calls is limited to 24 each day, otherwise the operation will fail.

2. Input Parameters

The following request parameter list only provides API request parameters. Common request parameters are also needed when the API is called.The Action field for this API is ManualBackupInstance.

Parameter Name Required Type Description
redisId Yes String ID of instance to work with. This can be obtained from redisId in the returned values of API DescribeRedis.
remark No String Remarks of backup

3. Output Parameters

Parameter Name Type Description
code Int Common error code; 0: Succeeded; other values: Failed
message String Error message description. A null value indicates a success
codeDesc String Description of error code at business side. For a successful operation, "Success" will be returned. In case of an error, a message describing the reason for the error will be returned.
data Object Task ID

Parameter data indicates the task ID, and is composed as follows:

Parameter Name Type Description
data.requestId Task ID Task ID. You can use the API DescribeTaskInfo to query the task execution status

4. Error Codes

The following error codes include the business logic error codes for this API.

Error Code Error Message Error Description
11201 InvalidParameter Incorrect business parameter
10701 InstanceNotExists No instance can be found for the serialId
10707 InstanceLockedError The operation is impossible because the instance is locked
10702 InstanceStatusAbnormal The operation is impossible due to an abnormal instance status. For example, the instance has a status of "in process" or "isolated" or "deleted"

5. Example

The returned results are as below:

    "code": 0,
    "message": "",
    "codeDesc": "Success"
    "data": {
        "requestId": 375062