Baidu AI Cloud
中国站

百度智能云

Simple Cache Service SCS

Get the Backup Information

Description

  • Query an Instance Backup List.

Request Structure

GET /v1/instance/{instanceId}/backup/{backupRecordId}  HTTP/1.1

Host: redis.{region}.baidubce.com
Authorization authorization string

Request Header Field

There are no other special header fields except the public header field.

Request Parameter

Parameter Name Type Required Parameter Position Description
version string Yes URI Parameter API version No.
instanceId string Yes URI Parameter Instance ID to be queried
backupRecordId string Yes URI Parameter Backup record ID to be queried

Request Example

GET /v1/instance/scs-bj-ykfiztgpxjny/backup/2404 HTTP/1.1
HOST: redis.bj.baidubce.com
ContentType: application/json 
Authorization bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2017-11-21T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de

Return Header Field

There are no other special header fields except the public header field.

Return Parameters

Only return one URL each time.

Parameter Name Type Description
url string Download address
urlExpiration string “url” download expiration time, expressed in sec

Return Example

{
    "url": "http://bos-sandbox-bj.baidu-int.com/scs-backup-rdb-bucket/expiration7/2680_11029_4f2082af-052d-4446-b517-787e259b26b0?authorization=bce-auth-v1%2Fce16d1f34a4e4b5481769e19322ff0d7%2F2019-08-29T11%3A42%3A33Z%2F1800%2Fhost%2Fbfec628b70b4e5f93b74903d6be86f47259849bfa8206afcf07a23a0e688b4d6",
    "urlExpiration": "1800"
}
Previous
Check the Backup List
Next
Modify the Backup Policy