Queries one or more SAP HANA restore jobs that meet the specified conditions.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
hbr:DescribeHanaRestores | get |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
VaultId | string | No | The ID of the backup vault. | v-000au6bq******mpu |
ClusterId | string | Yes | The ID of the SAP HANA instance. | cl-000b******soejg |
PageNumber | integer | No | The page number. Pages start from page 1. Default value: 1. | 1 |
PageSize | integer | No | The number of entries per page. Valid values: 1 to 99. Default value: 10. | 10 |
RestoreId | string | No | The ID of the restore job. | r-0007o3vqfukfe92hvf13 |
DatabaseName | string | No | The database name. | SYSTEMDB |
BackupId | long | No | The backup ID. | 1632754800158 |
RestoreStatus | string | No | The status of the restore job. Valid values:
| COMPLETE |
ResourceGroupId | string | No | The ID of the resource group. | rg-acfm4ebtpkzx7zy |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "7DEFC897-8F05-5C05-912C-C9A9510FBFF1",
"Success": true,
"Code": "200",
"Message": "successful",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 19,
"HanaRestore": {
"HanaRestores": [
{
"Status": "COMPLETE",
"ReachedTime": 1635315505,
"VaultId": "v-000g9acf******gta",
"CurrentPhase": 2,
"ClearLog": true,
"Message": "SQL Error 448 - recovery could not be completed:",
"CheckAccess": true,
"Mode": "RECOVERY_TO_SPECIFIC_BACKUP",
"SystemCopy": true,
"CurrentProgress": 1,
"UseDelta": true,
"BackupID": 1635315505,
"SourceClusterId": "cl-0000g3mvy******5cj",
"VolumeId": 0,
"DatabaseName": "BWD",
"Phase": "restart",
"ClusterId": "cl-000923yu******p00j4",
"DatabaseRestoreId": 1644038961030,
"State": "successful",
"Source": "PRD@H4P",
"MaxPhase": 4,
"EndTime": 1634356382,
"StartTime": 1636970413,
"BackupPrefix": "INC_DATA_BACKUP",
"RestoreId": "r-000c1en183ayn9sesgqh",
"LogPosition": 0,
"RecoveryPointInTime": 1649851200,
"MaxProgress": 1,
"UseCatalog": false
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history