Calls the DescribeBackupSets operation to query backup set information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:DescribeBackupSets |
get |
*instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DrdsInstanceId |
string |
Yes |
The instance ID of the DRDS instance. |
drds*********** |
| StartTime |
string |
Yes |
The start time of the query. Specify a timestamp in milliseconds. |
1591327800000 |
| EndTime |
string |
Yes |
The end time of the query. Specify a timestamp in milliseconds. Note
The end time must be later than the start time. |
1591326000000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
The result of the request. |
true |
| RequestId |
string |
The request ID. |
7103AEE3-9025-442F-B82B-BABD0A****** |
| BackupSets |
object |
||
| backupSet |
array<object> |
The list of backup sets. |
|
|
array<object> |
|||
| EnableRecovery |
boolean |
Indicates whether the backup set can be restored. Valid values: |
false |
| Status |
integer |
The status of the backup instance. Valid values:
|
2 |
| BackupConsitentTime |
string |
Backup Recovery duration. |
2020-06-05 11:31:38 |
| BackupType |
string |
The type of the backup. Valid values:
|
manual |
| BackupStartTime |
integer |
The beginning of the backup time which is in timestamp format (measured in millisecond). |
1591327754000 |
| BackupLevel |
string |
The level of the backup. Valid values:
|
instance |
| BackupMode |
string |
The backup method. Valid values:
|
logic |
| BackupEndTime |
integer |
The end of the backup time which is in timestamp format (measured in millisecond). Note
0 indicates not finished. |
1591327899000 |
| Id |
string |
The ID of the data backup file you want to use. |
ba30d5c4-a6dc-11ea-bd40-************ |
| BackupTotalSize |
string |
The size of the backup set. Unit: MB. |
93.24 |
| BackupDbs |
object |
||
| backupDb |
array |
The list of backup databases. |
|
|
string |
["dts********"] |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "7103AEE3-9025-442F-B82B-BABD0A******",
"BackupSets": {
"backupSet": [
{
"EnableRecovery": false,
"Status": 2,
"BackupConsitentTime": "2020-06-05 11:31:38",
"BackupType": "manual",
"BackupStartTime": 1591327754000,
"BackupLevel": "instance",
"BackupMode": "logic",
"BackupEndTime": 1591327899000,
"Id": "ba30d5c4-a6dc-11ea-bd40-************",
"BackupTotalSize": "93.24",
"BackupDbs": {
"backupDb": [
"[\"dts********\"]"
]
}
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.