All Products
Search
Document Center

Cloud Backup:DescribeHanaBackupsAsync

Last Updated:Aug 26, 2024

Queries one or more SAP HANA backups that meet the specified conditions.

Operation description

After you call the DescribeHanaBackupsAsync operation to query the SAP HANA backups that meet the specified conditions, call the DescribeTask operation to query the final result.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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.
OperationAccess levelResource typeCondition keyAssociated operation
hbr:DescribeHanaBackupsAsyncget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
VaultIdstringNo

The ID of the backup vault.

v-000270c******pi81
ClusterIdstringYes

The ID of the SAP HANA instance.

cl-00098******yuqvu
PageNumberintegerNo

The page number. Pages start from page 1. Default value: 1.

1
PageSizeintegerNo

The number of entries per page. Valid values: 1 to 99. Default value: 10.

10
DatabaseNamestringNo

The database name.

BPD
ModestringNo

The recovery mode. Valid values:

  • RECOVERY_TO_MOST_RECENT: restores the database to the recently available state to which the database has been backed up.
  • RECOVERY_TO_POINT_IN_TIME: restores the database to a specified point in time.
  • RECOVERY_TO_SPECIFIC_BACKUP: restores the database to a specified backup.
  • RECOVERY_TO_LOG_POSITION: restores the database to a specified log position.
RECOVERY_TO_SPECIFIC_BACKUP
RecoveryPointInTimelongNo

The point in time to which you want to restore the database. This parameter is valid only if you set the Mode parameter to RECOVERY_TO_POINT_IN_TIME. Cloud Backup restores the database to a state closest to the specified point in time.

1649851200
LogPositionlongNo

The log position to which you want to restore the database. This parameter is valid only if you set the Mode parameter to RECOVERY_TO_LOG_POSITION.

0
VolumeIdintegerNo

The ID of the volume that you want to restore. This parameter is valid only if you set the Mode parameter to RECOVERY_TO_LOG_POSITION.

0
SystemCopybooleanNo

Specifies whether to restore the database to a different instance.

  • true: restores the database to a different instance.
  • false: restores the database within the same instance.
true
SourcestringNo

The name of the source system. This parameter specifies the name of the source database that you want to restore. You must set the parameter in the <Source database name>@SID format.

P01@HP1
SourceClusterIdstringNo

The ID of the source SAP HANA instance.

cl-0000g3m******5cj
IncludeDifferentialbooleanNo

Specifies whether to include differential backups in the query results. Valid values:

  • true: includes differential backups.
  • false: excludes differential backups.
false
IncludeIncrementalbooleanNo

Specifies whether to include incremental backups in the query results. Valid values:

  • true: includes incremental backups.
  • false: excludes incremental backups.
true
IncludeLogbooleanNo

Specifies whether to include log backups in the query results. Valid values:

  • true: includes log backups.
  • false: excludes log backups.
true
UseBackintbooleanNo

Specifies whether Backint is used. Valid values:

  • true: Backint is used.
  • false: Backint is not used.
false
ResourceGroupIdstringNo

The ID of the resource group.

rg-acfmz7mced2ldhy

Response parameters

ParameterTypeDescriptionExample
object
Codestring

The response code. The status code 200 indicates that the request was successful.

200
Messagestring

The returned message. If the request was successful, "successful" is returned. If the request failed, an error message is returned.

successful
RequestIdstring

The request ID.

31F97233-8563-563D-8880-914B00EEA928
TaskIdstring

The ID of the asynchronous job. You can call the DescribeTask operation to query the execution result of an asynchronous job.

t-0006xmbplrqebt9dhkth
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true

Examples

Sample success responses

JSONformat

{
  "Code": "200",
  "Message": "successful",
  "RequestId": "31F97233-8563-563D-8880-914B00EEA928",
  "TaskId": "t-0006xmbplrqebt9dhkth",
  "Success": true
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history