Skip to content

Commit c1fec41

Browse files
author
David Curwin
committed
SAPHANA preregistration script
1 parent f10c94a commit c1fec41

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

articles/backup/tutorial-backup-sap-hana-db.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,23 @@ Running the pre-registration script performs the following functions:
9191

9292
* It installs or updates any necessary packages required by the Azure Backup agent on your distribution.
9393
* It performs outbound network connectivity checks with Azure Backup servers and dependent services like Azure Active Directory and Azure Storage.
94-
* It logs into your HANA system using the user key listed as part of the [prerequisites](#prerequisites). This key is used to create a backup user (AZUREWLBACKUPHANAUSER) in the HANA system and can be deleted after the pre-registration script runs successfully. This backup user (AZUREWLBACKUPHANAUSER) will allow the backup agent to discover, backup and restore databases in your HANA system.
94+
* It logs into your HANA system using the user key listed as part of the [prerequisites](#prerequisites). The user key is used to create a backup user (AZUREWLBACKUPHANAUSER) in the HANA system and the user key can be deleted after the pre-registration script runs successfully.
95+
* AZUREWLBACKUPHANAUSER is assigned these required roles and permissions:
96+
* DATABASE ADMIN: to create new databases during restore.
97+
* CATALOG READ: to read the backup catalog.
98+
* SAP_INTERNAL_HANA_SUPPORT: to access a few private tables.
99+
* The script adds a key to **hdbuserstore** for AZUREWLBACKUPHANAUSER for the HANA plug-in to handle all operations (database queries, restore operations, configuring and running backup).
100+
101+
To confirm the key creation, run the HDBSQL command on the HANA machine with SIDADM credentials:
102+
103+
```hdbsql
104+
hdbuserstore list
105+
```
106+
107+
The command output should display the {SID}{DBNAME} key, with the user shown as AZUREWLBACKUPHANAUSER.
108+
109+
>[!NOTE]
110+
> Make sure you have a unique set of SSFS files under `/usr/sap/{SID}/home/.hdb/`. There should be only one folder in this path.
95111
96112
## Create a Recovery Service vault
97113

0 commit comments

Comments
 (0)