You can call this operation to back up an ApsaraDB for Redis instance.

For more information about how to perform the corresponding operation in the console, see Back up and recover data in the console.


Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to search for APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
Action String Yes CreateBackup

The operation that you want to perform. Set this parameter to CreateBackup.

InstanceId String Yes r-bp1xxxxxxxxxxxxx

The ID of the instance to back up.

AccessKeyId String No Lxxxxxxxxxxxxxxw

The AccessKey ID that Alibaba Cloud provides for you to access services.

Response parameters

Parameter Type Example Description
BackupJobID String 1111111

The ID of the backup job.

RequestId String 2D719BD9-A536-4D8B-BEA9-CD299DE2AE1B

The ID of the request.


Sample request
? Action=CreateBackup
&<Common request parameters>

Sample success response

XML format


JSON format


Error codes

View error codes.