(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 Name | Type | Description Information | Required |
---|---|---|---|
Action | string | Corresponding API command name, the current API is DescribeUDBBinlogBackupURL . | Yes |
PublicKey | string | The user’s public key can be obtained from Console | Yes |
Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Region | string | Region. See List of Regions and Availability Zones | Yes |
Zone | string | Availability Zone. See Availability Zone List | No |
DBId | string | DB Instance Id | Yes |
BackupId | int | The ID of the DB instance log backup, which can be obtained from the DescribeUDBLogPackage result. | Yes |
Response Field
Field Name | Type | Description Information | Required |
---|---|---|---|
RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
Action | string | Operation command name. | Yes |
Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
BackupPath | string | Public network address of the DB instance backup file | No |
InnerBackupPath | string | Intranet address of the DB instance backup file | No |
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
}