Queries the list of full backup jobs in Database Backup Service (DBS).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dbs:DescribeFullBackupList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BackupPlanId |
string |
Yes |
The ID of the backup schedule. |
dbsr179qz****** |
| PageSize |
integer |
No |
The number of entries to return on each page. Valid values:
Default value: 30. |
30 |
| PageNum |
integer |
No |
The page number to return. The value must be a number that is greater than or equal to 0. The value cannot exceed the maximum value of an integer. Default value: 0. |
1 |
| ClientToken |
string |
No |
A client token that is used to ensure the idempotence of the request. This prevents the system from processing duplicate requests. |
ETnLKlblzczshOTUbOCzxxxxxxx |
| ShowStorageType |
boolean |
No |
Specifies whether to show the storage class. |
true |
| BackupSetId |
string |
No |
The ID of the backup set. |
1iukx5h****** |
| StartTimestamp |
integer |
No |
The backup start time. |
1676887100 |
| EndTimestamp |
integer |
No |
The end of the time range to query. This is a UNIX timestamp. |
1676887128 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| PageNum |
integer |
The page number of the returned page. |
1 |
| RequestId |
string |
The ID of the request. |
636BC118-6080-4119-A6B5-C199CEC1037D |
| ErrCode |
string |
The error code. |
Param.NotFound |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrMessage |
string |
The error message. |
The specified parameter %s value is not valid. |
| TotalPages |
integer |
The total number of pages returned. |
1 |
| TotalElements |
integer |
The total number of full backup jobs. |
1 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| Items |
object |
||
| FullBackupFile |
array<object> |
The details of the full backup job. |
|
|
object |
The details of the full backup job. |
||
| FinishTime |
integer |
The UNIX timestamp that indicates when the task ended. |
1676887128000 |
| BackupStatus |
string |
The status of the backup job. Valid values:
|
finish |
| SourceEndpointIpPort |
string |
The database endpoint. |
121.XXX.XXX.144:3306 |
| CreateTime |
integer |
The UNIX timestamp that indicates when the task was created. |
1676886947000 |
| ErrMessage |
string |
The error message. |
NULL |
| BackupObjects |
string |
The backup objects. |
[{\"DBName\":\"test\"}] |
| EndTime |
integer |
The UNIX timestamp that indicates when the backup ended. |
1676887128000 |
| StartTime |
integer |
The UNIX timestamp that indicates when the backup started. |
1676887100000 |
| BackupSetExpiredTime |
integer |
The UNIX timestamp that indicates when the backup set expires. |
1677491900000 |
| StorageMethod |
string |
The storage class. Valid values:
|
Standard |
| BackupSetId |
string |
The ID of the backup set. |
1iukx5h****** |
| BackupSize |
integer |
The backup size in bytes. |
580 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"PageNum": 1,
"RequestId": "636BC118-6080-4119-A6B5-C199CEC1037D",
"ErrCode": "Param.NotFound",
"Success": true,
"ErrMessage": "The specified parameter %s value is not valid. ",
"TotalPages": 1,
"TotalElements": 1,
"PageSize": 10,
"Items": {
"FullBackupFile": [
{
"FinishTime": 1676887128000,
"BackupStatus": "finish",
"SourceEndpointIpPort": "121.XXX.XXX.144:3306",
"CreateTime": 1676886947000,
"ErrMessage": "NULL",
"BackupObjects": "[{\\\"DBName\\\":\\\"test\\\"}]",
"EndTime": 1676887128000,
"StartTime": 1676887100000,
"BackupSetExpiredTime": 1677491900000,
"StorageMethod": "Standard",
"BackupSetId": "1iukx5h******",
"BackupSize": 580
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Request.Forbidden | Have no Permissions |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.