This operation queries the precheck progress for a backup plan or a restore job.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dbs:DescribePreCheckProgressList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BackupPlanId |
string |
No |
The ID of the backup plan. Note
Specify either BackupPlanId or RestoreTaskId. |
dbsr1l3ro21**** |
| RestoreTaskId |
string |
No |
The ID of the restore job. |
dbasdsa**** |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. |
ETnLKlblzczshOTUbOCziJZNwH**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Status |
string |
The precheck status. Valid values:
|
finish |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. |
C4A45FE1-A903-470D-B113-F12A4DF942AB |
| Progress |
integer |
The precheck progress. The value ranges from 0 to 100. |
100 |
| 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. |
| Items |
object |
||
| PreCheckProgressDetail |
array<object> |
A list of progress details. |
|
|
object |
The response parameters. |
||
| FinishTime |
integer |
The time when the task was complete. This value is a UNIX timestamp. |
1704351396000 |
| State |
string |
The progress status. Valid values:
|
warning |
| BootTime |
integer |
The time when the task started. This value is a UNIX timestamp. |
1704351395000 |
| JobId |
string |
The progress ID. |
qxwmxh2b**** |
| Item |
string |
The code for the precheck item. |
CHECK_BINLOG_ON |
| ErrMsg |
string |
The error message. |
java.lang.RuntimeException: Could not find any schema ...... |
| OrderNum |
string |
The sequence number. |
30 |
| Names |
string |
The group to which the precheck item belongs. |
CHECK_BINLOG_ON_DETAIL |
Examples
Success response
JSON format
{
"Status": "finish",
"HttpStatusCode": 200,
"RequestId": "C4A45FE1-A903-470D-B113-F12A4DF942AB",
"Progress": 100,
"ErrCode": "Param.NotFound",
"Success": true,
"ErrMessage": "The specified parameter %s value is not valid. ",
"Items": {
"PreCheckProgressDetail": [
{
"FinishTime": 1704351396000,
"State": "warning",
"BootTime": 1704351395000,
"JobId": "qxwmxh2b****",
"Item": "CHECK_BINLOG_ON",
"ErrMsg": "java.lang.RuntimeException: Could not find any schema ......",
"OrderNum": "30",
"Names": "CHECK_BINLOG_ON_DETAIL"
}
]
}
}
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.