GetDBListFromAgent
Retrieves the database and table data of physical backups through a backup gateway.
Operation description
Call the CreateGetDBListFromAgentTask operation to create an asynchronous task and obtain the task ID. Then, pass the task ID to the GetDBListFromAgent operation to retrieve the database and table data of physical backups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dbs:GetDBListFromAgent |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BackupGatewayId |
integer |
No |
The ID of the backup gateway. You can call the DescribeBackupGatewayList operation to query the value of this parameter. Note
This parameter is required. |
160*** |
| SourceEndpointRegion |
string |
No |
The region ID of the backup gateway. |
cn-hangzhou |
| TaskId |
integer |
No |
The ID of the asynchronous task. You can call the CreateGetDBListFromAgentTask operation to obtain the value of this parameter. |
123456 |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request and prevent duplicate submissions. You can generate the value of this parameter on the client side. The value must be unique across different requests and can be up to 64 ASCII characters in length. The value cannot contain non-ASCII characters. |
ETnLKlblzczshOTUbOCzxxxxxxxxxx |
| BackupGatewayIdentifier |
string |
No |
The unique identifier of the backup gateway. |
4DF900B7082BC3230D******C8D2ABE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response details are as follows. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
400 |
| RequestId |
string |
The ID of the request. |
EB4DFD5E-3618-498D-BE35-4DBEA0072122 |
| ErrCode |
string |
The error code. |
InvalidParameter |
| Success |
boolean |
Indicates whether the request is successful. |
true |
| ErrMessage |
string |
The error message. |
This backupPlan can't support this action |
| DbList |
object |
||
| dbName |
array |
The database list. |
|
|
string |
The database list. |
TaskDB |
Examples
Success response
JSON format
{
"HttpStatusCode": 400,
"RequestId": "EB4DFD5E-3618-498D-BE35-4DBEA0072122",
"ErrCode": "InvalidParameter",
"Success": true,
"ErrMessage": "This backupPlan can't support this action",
"DbList": {
"dbName": [
"TaskDB"
]
}
}
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.