Domain name for API request: mariadb.intl.tencentcloudapi.com.
This API is used to query the list of backup files.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeBackupFiles. |
Version | Yes | String | Common Params. The value used for this API: 2017-03-12. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
InstanceId | No | String | Query by instance ID |
BackupType | No | String | Backup type. Valid values: Data (data backup), Binlog (Binlog backup), Errlog (error log), Slowlog (slow log). |
StartTime | No | String | Query by start time |
EndTime | No | String | Query by end time |
Limit | No | Integer | Pagination parameter |
Offset | No | Integer | Pagination parameter |
OrderBy | No | String | Sorting dimension. Valid values: Time , Size . |
OrderType | No | String | Sorting order. Valid values: DESC , ASC . |
Parameter Name | Type | Description |
---|---|---|
Files | Array of InstanceBackupFileItem | List of backup files |
TotalCount | Integer | Total number |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: mariadb.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBackupFiles
<Common request parameters>
{}
{
"Response": {
"Files": [
{
"BackupType": "Data",
"EndTime": "2022-05-20 00:02:19",
"FileName": "cos_xtrabackup+1652976129+20220520+000209+3085636221+xbstream.lz4",
"FilePath": "cos_backup/tdsql/set_1652843814_8559529/xtrabackup/2022-05-20/cos_xtrabackup+1652976129+20220520+000209+3085636221+xbstream.lz4",
"FileSize": 48721218,
"InstanceId": "tdsql-lyzax5rb",
"InstanceName": "test-name",
"InstanceStatus": 2,
"ManualBackup": 0,
"ShardId": "",
"StartTime": "2022-05-20 00:02:09"
},
{
"BackupType": "Data",
"EndTime": "2022-05-19 00:23:03",
"FileName": "cos_xtrabackup+1652890972+20220519+002252+3085636221+xbstream.lz4",
"FilePath": "cos_backup/tdsql/set_1652843814_8559529/xtrabackup/2022-05-19/cos_xtrabackup+1652890972+20220519+002252+3085636221+xbstream.lz4",
"FileSize": 47738611,
"InstanceId": "tdsql-lyzax5rb",
"InstanceName": "test-name",
"InstanceStatus": 2,
"ManualBackup": 0,
"ShardId": "",
"StartTime": "2022-05-19 00:22:52"
},
{
"BackupType": "Data",
"EndTime": "2022-05-18 11:44:52",
"FileName": "cos_xtrabackup+1652845485+20220518+114445+3085636221+xbstream.lz4",
"FilePath": "cos_backup/tdsql/set_1652843814_8559529/xtrabackup/2022-05-18/cos_xtrabackup+1652845485+20220518+114445+3085636221+xbstream.lz4",
"FileSize": 10281128,
"InstanceId": "tdsql-lyzax5rb",
"InstanceName": "test-name",
"InstanceStatus": 2,
"ManualBackup": 0,
"ShardId": "",
"StartTime": "2022-05-18 11:44:45"
},
{
"BackupType": "Binlog",
"EndTime": "2022-05-20 17:13:31",
"FileName": "binlog+1652843821+20220518+111701+3085636221+binlog.000002.lz4",
"FilePath": "cos_backup/tdsql/set_1652843814_8559529/binlog/2022-05-18/binlog+1652843821+20220518+111701+3085636221+binlog.000002.lz4",
"FileSize": 51119079,
"InstanceId": "tdsql-lyzax5rb",
"InstanceName": "test-name",
"InstanceStatus": 2,
"ManualBackup": 0,
"ShardId": "",
"StartTime": "2022-05-18 11:17:01"
}
],
"RequestId": "dce77e5f-57b9-4df5-9889-1a4b9f318659",
"TotalCount": 4
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InvalidParameter.ActionNotFound | API not found |
UnauthorizedOperation.PermissionDenied | You have no permission to manipulate this API or resource. |
Was this page helpful?