docs
api
Cloud Memory(UMem)
DescribeURedisBackupURL

Obtain the download link for master-slave Redis backup - DescribeURedisBackupURL

Overview

Obtain the download link for master-slave Redis backup

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeURedisBackupURL.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
ZonestringAvailability Zone. See Availability Zone ListNo
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.No
BackupIdstringBackup IDYes
RegionFlagbooleanIs it a cross-IDC URedis (default is false)No
GroupIdstringInstance IDNo
SlaveZonestringCross-IDC URedis, the availability zone where the slave is located (must be in the same Region as the Zone, and cannot be the same)No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
BackupURLstring[Going offline, please use BackupPath]Public network address of the backup fileNo
BackupPathstringPublic network address of the backup fileNo

Example

Request Example

https://api.surfercloud.com/?Action=DescribeURedisBackupURL
&Region=cn-bj2
&Zone=cn-bj2-04
&BackupId=00XXX68c-c7f5-XX52-9eac-dXXXXXXX8f0e1
&GroupId=mfweUQnQ
&SlaveZone=VlwscEJR

Response Example

{
  "Action": "DescribeURedisBackupURLResponse",
  "BackupPath": "KgVuXeBu",
  "BackupURL": "http://umembXXXXXup-9001.cn-bj.ilXXXXeos.com/uredis-XXXXbz/sgbf_xxxxxx-a75b24a9-d9e1-4d38-9dc1-aecad464XXX45?SurferCloudPublicKey=ucloudXXX@ucloud.cn142615241XXXX604875621\u0026Expires=1529927068\u0026Signature=sbH+QOWbtxXXXX6z5o6HBxrOcU=\n",
  "InnerBackupPath": "zeAzhTZt",
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved