Queries the list of recoverable database backups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeUniRecoverableList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PolicyId |
integer |
Yes |
The ID of the anti-ransomware backup policy for the database. Note
You can call the DescribeUniBackupPolicies operation to obtain this parameter. |
123 |
| PageSize |
integer |
No |
The maximum number of entries per page when using paging. Default value: 20. If you leave this parameter empty, 20 entries are returned per page by default. Note
Do not leave PageSize empty. |
20 |
| CurrentPage |
integer |
No |
The page number of the page to return. Default value: 1, which indicates the first page. |
1 |
| Database |
string |
No |
The database name. |
msdb |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| CurrentPage |
integer |
The current page number when using paging. |
1 |
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for this request. You can use it to troubleshoot issues. |
F35F45B0-5D6B-4238-BE02-A62D0760**** |
| Database |
string |
The database name. |
msdb |
| PageSize |
integer |
The number of recoverable database backup snapshots per page when using paging. |
20 |
| TotalCount |
integer |
The total number of recoverable database backup snapshots. |
23 |
| Count |
integer |
The number of recoverable database backup snapshots on the current page. |
20 |
| RecoverableInfoList |
array<object> |
The list of recoverable database backup snapshots. |
|
|
object |
The information about a recoverable database backup snapshot. |
||
| LastTime |
integer |
The timestamp of the latest backup. Unit: milliseconds. |
1671468180000 |
| ResetTime |
integer |
The reset_time value of the selected record in the recoverable point-in-time query for an Oracle database backup. |
2021-01-30 08:04:36 |
| RestoreInfo |
string |
The database restoration information when the database type is MSSQL. The value is a JSON string. Valid values:
|
{ "files": { "qtc": "F:\\database\\qtc.mdf", "qtc_log": "F:\\database\\qtc_0.ldf" }, "name": "qtc" } |
| FirstTime |
integer |
The timestamp when the backup started. Unit: milliseconds. |
1671468180000 |
| ResetScn |
string |
The reset_scn value of the selected record in the recoverable point-in-time query for an Oracle database backup. |
4529940.0 |
Examples
Success response
JSON format
{
"CurrentPage": 1,
"RequestId": "F35F45B0-5D6B-4238-BE02-A62D0760****",
"Database": "msdb",
"PageSize": 20,
"TotalCount": 23,
"Count": 20,
"RecoverableInfoList": [
{
"LastTime": 1671468180000,
"ResetTime": 0,
"RestoreInfo": "{\n \"files\": {\n \"qtc\": \"F:\\\\database\\\\qtc.mdf\",\n \"qtc_log\": \"F:\\\\database\\\\qtc_0.ldf\"\n },\n \"name\": \"qtc\"\n}",
"FirstTime": 1671468180000,
"ResetScn": "4529940.0"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.