Docs
api
Cloud Database(UDB)
DescribeUDBBinlogBackupURL

(New) Get the log backup address of UDB - DescribeUDBBinlogBackupURL

Overview

Obtain the backup address of UDB’s Binlog or error log or slow query log

ℹ️ The new version (NVMe type) MongoDB/PostgreSQL is not supported, please use the corresponding product’s API for the new version (NVMe type) MongoDB/PostgreSQL.

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeUDBBinlogBackupURL.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
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
DBIdstringDB Instance IdYes
BackupIdintThe ID of the DB instance log backup, which can be obtained from the DescribeUDBLogPackage result.Yes

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
BackupPathstringPublic network address of the DB instance backup fileNo
InnerBackupPathstringIntranet address of the DB instance backup fileNo

Example

Request Example

https://api.dezai.com/?Action=DescribeUDBBinlogBackupURL
&Region=cn-bj2
&DBId=udb-xxxxxx
&BackupId=1234

Response Example

{
  "Action": "DescribeUDBBinlogBackupURLResponse",
  "BackupPath": "http://udbbackup.ufile.ucloud.cn/bbasd?UCloudPublicKey=ucloududb@ucloud.cn1426152414000604875621\u0026Expires=1426761552\u0026Signature=8MEqKJlwRVLWI1ZvLE/23pveM=",
  "InnerBackupPath": "yurdmcLI",
  "RetCode": 0
}