02-10-2022 12:35 AM - edited 02-17-2022 02:38 AM
To help backup SAP HANA databases, SAP provides a backup interface called Backint for SAP HANA database. This utility allows third party backup vendors to connect their products to the backup and recovery capabilities of the SAP HANA database. Backint for SAP HANA is fully integrated into SAP HANA database and allows data and log backups to be configured individually, created and recovered in the third-party backup tool.
The NetBackup for SAP HANA Agent integrates the Backint interface for SAP HANA along with the backup and the recovery capabilities of NetBackup.
Deploy SAP HANA on AWS
3. Create a single windows VM which is hosting the SAP HANA studio. All Systems are deployed in one region (for ex- US EAST2).
4. Create a security group for SAP HANA with inbound rule port range:
To start using NetBackup for SAP HANA Backup and Restore, perform the following:
Node Level configuration-
Note: The Database Instance installation creates a directory /usr/sap/<SID> containing links to the installation directory.
The path /usr/sap/<SID>/SYS/global/hdb/opt/hdbbackint is the same on each HANA
installation, independent of the hardware vendor.
Example: ln -s /usr/openv/netbackup/bin/hdbbackint_script /usr/sap/<SID>/SYS/global/hdb/opt/hdbbackint
2. Manually create a node_names.txt file under /usr/openv/netbackup/ext/db_ext/sap.
This file should contain all probable client names (appliance node), one name per line.
For example:
Node1.test.lab
Node2.test.lab
The SAP HANA admin should update this file whenever a new node is added or removed from the appliance.
Using the root user, give +r permissions to the newly created file node_names.txt on every client (appliance node).
3. Create a initSAP.util file at shared path and provide NetBackup SAP policy name in this .util file.
Example: /efs/<instance_name>/HDB00/initSAP.utl
SAP HANA Backint configuration from SAP HANA studio-
for Catalog- go to Instance->Configuration->global.ini-> catalog_backup_parameter_file.
2. To specify backup using Backint, go to Instance->Configuration- >global.ini and make both log_backup_using_bakint and catalog_backup_using_bakint as "true".
Suppose we wanted to use one Cloud Storage Unit (For ex- CloudS3_B1) to store database backups and a different Cloud Storage Unit (For ex- CloudS3_B2) for log backups.
To Achieve this we need to perform, on SAP HANA node, on shared path create two util files. For example- initSAP.util file for database backups and initLOG.util for log backups.
Edit these .util files to provide the SAP Policy name under "Policy" parameter and schedule name under "Schedule" parameter.
Using a NetBackup SAP Policy, we can achieve this. To configure the NetBackup policy, follow the steps below.
Configuration at NBU Policy
Configuration on SAP HANA Node -
Configuration on SAP HANA Studio -
Once the configuration is ready, we can perform a backup and restore of the SAP HANA database instance.