All Products
Search
Document Center

Cloud Backup:CreateHanaInstance

Last Updated:Oct 26, 2026

Registers an SAP HANA instance.

Operation description

To register an SAP HANA instance, configure the SAP HANA connection information. After the instance is registered, Cloud Backup installs a backup client on the nodes of the SAP HANA instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

hbr:CreateHanaInstance

create

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

VaultId

string

Yes

The ID of the backup vault.

v-0003v4a******gfv2

HanaName

string

No

The name of the SAP HANA instance.

HANA-DEV

Host

string

No

The private or internal IP address of the SAP HANA primary node.

47.100.XX.XX

InstanceNumber

integer

No

The instance number specified when SAP HANA is installed.

00

UserName

string

No

The username of the SYSTEMDB database.

admin

Password

string

No

The password used to connect to the SAP HANA instance.

************

UseSsl

boolean

No

Specifies whether to enable SSL connections to securely connect to the database.

true

ValidateCertificate

boolean

No

Specifies whether to validate the SSL certificate of the database server.

false

AlertSetting

string

No

The alert settings. A value of INHERITED indicates that the alerting method is the same as that of the backup vault.

INHERITED

EcsInstanceId

string

No

The instance IDs of all nodes of the HANA system to be registered. Cloud Backup installs backup clients on these nodes.

[\"i-uf6ir9y******hvisj\"]

Sid

string

No

The system ID (SID) of the SAP HANA database. For more information, see How to find SID.

HXE

ResourceGroupId

string

No

The ID of the resource group.

rg-acfm4ebtpkzx7zy

CrossAccountType

string

No

The cross-account backup type. Valid values:

  • SELF_ACCOUNT: Backs up data within the current account.

  • CROSS_ACCOUNT: Backs up data across accounts.

CROSS_ACCOUNT

CrossAccountUserId

integer

No

The ID of the source account for cross-account backup managed by the current account.

158975xxxxx4625

CrossAccountRoleName

string

No

The name of the RAM role created in the source account for cross-account backup managed by the current account.

hbrcrossrole

Response elements

Element

Type

Description

Example

object

Code

string

The return code. A value of 200 indicates success.

200

Message

string

The return message. A value of successful indicates success, and an error message is returned if an error occurs.

successful

RequestId

string

The request ID.

EB526A5D-1FE2-51C1-B790-1732C1DBA969

Success

boolean

Indicates whether the request is successful. Valid values:

  • true: The request is successful.

  • false: The request fails.

true

ClusterId

string

The instance ID of the SAP HANA instance.

cl-000dp1sz******6hn

Examples

Success response

JSON format

{
  "Code": "200",
  "Message": "successful",
  "RequestId": "EB526A5D-1FE2-51C1-B790-1732C1DBA969",
  "Success": true,
  "ClusterId": "cl-000dp1sz******6hn"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.