Skip to Content
Cloud Database(UDB) DescribeUDBBinlogBackup

DescribeUDBBinlogBackup - DescribeUDBBinlogBackup

Overview

List UDB Instance Binlog Automatic Backup Information

💡 The new version (NVMe type) MongoDB/PostgreSQL is not supported. For the new version (NVMe type) MongoDB/PostgreSQL, please use the API of the corresponding product.

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeUDBBinlogBackup.Yes
PublicKeystringThe user’s public key can be obtained from Console Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See Region and Availability Zone ListYes
ZonestringAvailable Zones. See the list of available zones.(/docs/api/summary/regionlist)No
ProjectIdstringProject ID. If not filled in, the default project will be used. Sub-accounts must fill this in. Please refer to the
(/docs/api/summary/get_project_list)
No
OffsetintStarting offset for paginated display, specify for list operationsYes
LimitintNumber of items displayed per page, list operations specifyYes
DBIdstringDB Instance ID, if specified, only retrieves the backup information for that DB; Required when Type is 2No
BeginTimeintFilter Condition: Start Time (Timestamp)No
EndTimeintFilter Condition: End Time (Timestamp)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
DataSetarray[BinlogBackupSet]Binlog backup information. See BinlogBackupSet.No
TotalCountintTotal number of backups. If dbid is specified, it refers to the total number of backups for that db.No

Data Model

BinlogBackupSet

Field NameTypeDescription InformationRequired
BackupIdintBackup IDNo
BackupNamestringBackup NameNo
BackupTimeintBackup TimeNo
BackupSizeintBackup File SizeNo
StatestringBackup Status Backuping // Backing up Success // Backup Successful Failed // Backup Failed Expired // Backup ExpiredNo
BinlogTypestringbinlog backup type Manual: Manual backup, Auto: Automatic backupNo
DBIdstringdbidNo
ServerIdstringNode Identification IDNo
LogStartTimeintLog Start TimeNo
LogEndTimeintLog End TimeNo

Example

Request Example

https://api.dezai.com/?Action=DescribeUDBBinlogBackup &Region=gNAvFCyO &Zone=KDHzwwya &ProjectId=WkNtMEyG &Offset=8 &Limit=7 &Type=12 &Types.N=4 &DBId=RFMjcVCt &BeginTime=4 &EndTime=7

Response Example

{ "Action": "DescribeUDBBinlogBackupResponse", "DataSet": [ { "BackupId": 3, "BackupName": "DwxKzVqP", "BackupSize": 3, "BackupTime": 5, "BackupType": 4, "BackupZone": "WpMTrrKC", "BinlogType": "OlcVXUHe", "DBId": "ARAqnTdp", "DBName": "fWTAzrvH", "State": "BjNSkrQf", "Zone": "mComZFLQ" } ], "RetCode": 0, "TotalCount": 8 }