Queries the backup tasks of a specific PolarDB cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | DescribeBackupTasks |
The operation that you want to perform. Set the value to DescribeBackupTasks. |
DBClusterId | String | Yes | pc-*************** |
The ID of the cluster. |
BackupJobId | String | No | 11111111 |
The ID of the backup task. |
BackupMode | String | No | Manual |
The backup mode. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Items | Array of BackupJob |
The details of the backup task. |
|
BackupJob | |||
BackupJobId | String | 11111111 |
The ID of the backup task. |
BackupProgressStatus | String | NoStart |
The status of the backup task. Valid values:
|
JobMode | String | Automated |
The backup mode. Valid values:
|
Process | String | 0 |
The progress percentage of the backup task. |
StartTime | String | 2020-08-08T07:24:01Z |
The time when the backup task started. The time follows the ISO 8601 standard in the
|
TaskAction | String | NormalBackupTask |
The type of the backup task. Valid values:
|
RequestId | String | FA8C1EF1-E3D4-44D7-B809-823187****** |
The ID of the request. |
Examples
Sample request
http(s)://polardb.aliyuncs.com/? Action=DescribeBackupTasks
&DBClusterId=pc-***************
&<Common request parameters>
Sample success responses
XML
format
<DescribeBackupTasksResponse>
<RequestId>FA8C1EF1-E3D4-44D7-B809-823187******</RequestId>
<Items>
<BackupJob>
<JobMode>Automated</JobMode>
<TaskAction>NormalBackupTask</TaskAction>
<StartTime>2020-08-08T07:24:01Z</StartTime>
<BackupProgressStatus>NoStart</BackupProgressStatus>
<Process>0</Process>
<BackupJobId>11111111</BackupJobId>
</BackupJob>
</Items>
</DescribeBackupTasksResponse>
JSON
format
{
"RequestId": "FA8C1EF1-E3D4-44D7-B809-823187******",
"Items": {
"BackupJob": [
{
"JobMode": "Automated",
"TaskAction": "NormalBackupTask",
"StartTime": "2020-08-08T07:24:01Z",
"BackupProgressStatus": "NoStart",
"Process": "0",
"BackupJobId": 11111111
}
]
}
}
Error codes
For a list of error codes, visit the API Error Center.