DescribeBackupDataList
Queries the details of backup data for PolarDB for MySQL.
Operation description
Supported engines
PolarDB for MySQL
This operation is currently available only to specific customers. To apply for access, join the DBS customer consultation DingTalk group (group ID: 35585947).
Related documentation
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dbs:DescribeBackupDataList |
list |
DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceName |
string |
No |
The PolarDB instance ID. |
pc-2ze3nrr64c5****** |
| RegionCode |
string |
No |
The region where the backup set is stored. |
cn-hangzhou |
| SceneType |
string |
No |
The backup scenario type. Currently, only LEVEL_1 is supported, which indicates level-1 backups in the region where the instance resides. |
LEVEL_1 |
| StartTime |
string |
No |
The start time of the query. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2024-04-17T17:00:16Z |
| EndTime |
string |
No |
The end time of the query. The end time must be later than the start time. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2024-04-17T17:00:32Z |
| BackupStatus |
string |
No |
The status of the backup set. Valid values:
|
OK |
| BackupId |
string |
No |
The ID of the backup set. |
213064**** |
| BackupMethod |
string |
No |
The backup method. Valid values:
|
Snapshot |
| BackupMode |
string |
No |
The backup mode. Valid values:
|
Automated |
| BackupType |
string |
No |
The backup type. Valid values:
|
FullBackup |
| BackupScale |
string |
No |
The backup scale. Valid values:
|
DBInstance |
| PageSize |
integer |
No |
The number of entries per page. Default value: 20. |
20 |
| PageNumber |
integer |
No |
The page number. The value must be a positive integer that does not exceed the maximum value of the Integer type. Default value: 1. |
1 |
| InstanceIsDeleted |
boolean |
No |
Specifies whether the instance is deleted. Valid values:
|
false |
| InstanceRegion |
string |
No |
The original region of the instance. |
cn-hangzhou |
| DataSourceId |
string |
No |
This parameter is reserved and can be ignored. |
test**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameter details. |
||
| Data |
object |
The response data. |
|
| Content |
array<object> |
The task details. |
|
|
array<object> |
The task details. |
||
| BackupId |
string |
The ID of the backup set. |
213088**** |
| BackupName |
string |
The name of the backup set. |
logic_backup |
| BackupMode |
string |
The backup mode. Valid values:
|
Automated |
| BackupType |
string |
The backup type. Valid values:
|
FullBackup |
| BackupScale |
string |
The backup scale. Valid values:
|
DBInstance |
| BackupMethod |
string |
The backup method. Valid values:
|
Snapshot |
| BackupSize |
integer |
The size of the backup set. Unit: bytes. |
25669140480 |
| BackupStatus |
string |
The status of the backup set. Valid values:
|
OK |
| BackupStartTime |
string |
The start time of the backup. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time). |
2024-04-17T17:00:16Z |
| BackupEndTime |
string |
The end time of the backup. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time). |
2024-04-17T17:00:32Z |
| ConsistentTime |
integer |
The point in time of the consistent snapshot. The value is a UNIX timestamp in seconds. |
1713373221 |
| BackupLocation |
string |
The storage path of the backup. |
logic |
| InstanceName |
string |
The instance ID. |
pc-2ze3nrr64c5****** |
| Engine |
string |
The engine type. |
polardb_mysql |
| EngineVersion |
string |
The DPI engine version. |
5.7 |
| SupportDeletion |
integer |
Specifies whether the backup set can be deleted. Valid values:
|
0 |
| Encryption |
string |
The encryption information. |
psk2 |
| IsAvail |
integer |
Specifies whether the backup set is available. Valid values:
|
1 |
| Checksum |
string |
The checksum. |
84a4c16431f969712e6895992719**** |
| BackupDownloadURL |
string |
The public download URL of the backup set. Note
This parameter is returned only when BackupMethod is set to Physical (physical backup) or Logical (logical backup). |
http://oss.com/**** |
| BackupIntranetDownloadURL |
string |
The internal download URL of the backup set. Note
This parameter is returned only when BackupMethod is set to Physical (physical backup) or Logical (logical backup). |
http://oss.com/**** |
| ExpectExpireType |
string |
The expected expiration type of the backup set. Valid values:
|
DELAY |
| ExpectExpireTime |
string |
The expected expiration time of the backup set. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time). |
2024-04-19T05:00:49Z |
| PolarSnapshot |
object |
The PolarDB secondary dump information. Note
The PolarSnapshot information is returned only when the same-region secondary dump feature is enabled for the PolarDB instance and the primary backup dump succeeds. |
|
| DumpId |
integer |
The dump ID. |
123**** |
| DumpSize |
integer |
The size of the dump backup. Unit: bytes. |
25669140589 |
| expectExpireType |
string |
The expected expiration type of the backup set. Valid values:
|
DELAY |
| ExpectExpireTime |
string |
The expected expiration time of the backup set. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time). |
2024-04-19T05:00:49Z |
| PageSize |
integer |
The page size. |
20 |
| PageNumber |
integer |
The page number. |
1 |
| TotalPages |
integer |
The total number of pages. |
1 |
| TotalElements |
integer |
The total number of backup sets. |
1 |
| Extra |
string |
The extra information. |
dbtest |
| RequestId |
string |
The request ID. |
95A5FFD0-7F46-5A7D-9DFE-6A376B4E2A28 |
| ErrCode |
string |
The error code. |
Request.Forbidden |
| Success |
string |
Indicates whether the request is successful. Valid values:
|
true |
| ErrMessage |
string |
The error message. |
The specified parameter %s value is not valid. |
| Code |
string |
The status code. |
Success |
| Message |
string |
The returned message. |
The specified parameter %s value is not valid. |
Examples
Success response
JSON format
{
"Data": {
"Content": [
{
"BackupId": "213088****",
"BackupName": "logic_backup",
"BackupMode": "Automated",
"BackupType": "FullBackup",
"BackupScale": "DBInstance",
"BackupMethod": "Snapshot",
"BackupSize": 25669140480,
"BackupStatus": "OK",
"BackupStartTime": "2024-04-17T17:00:16Z",
"BackupEndTime": "2024-04-17T17:00:32Z",
"ConsistentTime": 1713373221,
"BackupLocation": "logic",
"InstanceName": "pc-2ze3nrr64c5******",
"Engine": "polardb_mysql",
"EngineVersion": "5.7",
"SupportDeletion": 0,
"Encryption": "psk2",
"IsAvail": 1,
"Checksum": "84a4c16431f969712e6895992719****",
"BackupDownloadURL": "http://oss.com/****",
"BackupIntranetDownloadURL": "http://oss.com/****",
"ExpectExpireType": "DELAY",
"ExpectExpireTime": "2024-04-19T05:00:49Z",
"PolarSnapshot": {
"DumpId": 0,
"DumpSize": 25669140589,
"expectExpireType": "DELAY",
"ExpectExpireTime": "2024-04-19T05:00:49Z"
}
}
],
"PageSize": 20,
"PageNumber": 1,
"TotalPages": 1,
"TotalElements": 1,
"Extra": "dbtest"
},
"RequestId": "95A5FFD0-7F46-5A7D-9DFE-6A376B4E2A28",
"ErrCode": "Request.Forbidden\t",
"Success": "true",
"ErrMessage": "The specified parameter %s value is not valid. ",
"Code": "Success",
"Message": "The specified parameter %s value is not valid."
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Request.Forbidden | Have no Permissions | You are not authorized to perform the current operation. Contact the Alibaba Cloud account to grant permissions in the Resource Access Management (RAM) console before you perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.