There are a number of ways to run backups for the SAP HANA system.
Create a Shell Script for Netbackup to Call when Running a Backup
The script will need to either be located in an authorized location , or the location it is being held needs to be registered as an authorized location. More information can be found in the VERITAS support article Registering authorized locations used by a Netbackup database script based policy.
Example shell script to backup the SAP HANA SystemDB:
#!/bin/sh
DATE_TIME="`date \"+%Y%m%d_%H_%M_%S\"`"
BACKUP_PREFIX="COMPLETE_DATA_BACKUP"
BACKUP_PREFIX="$BACKUP_PREFIX"_"$DATE_TIME"
/usr/sap/SH1/HDB00/exe/hdbsql -i 0 -d SYSTEMDB -u SYSTEM -p Osmium76 "BACKUP DATA for SYSTEMDB using backint ('$BACKUP_PREFIX')"
In the change policy view, go to Backup Selections and add a new Script to execute. Multiple scripts can be added to this list.
To execute the backup, either wait for the schedule to execute or right-click on the policy and select "Manual Backup". Select the clients and schedule to use.
Execute a Backup Using HDBSQL
Executing the following HDBSQL command for a database (either tenant or SystemDB) will trigger a backup being run:
BACKUP DATA for <Database_name> using backint ('BACKUP_PREFIX')
Execute a Backup Using SAP HANA Studio
See the Protecting SAP HANA with VERITAS Netbackup for details on how to create a backint backup.
Execute a Backup Using SAP HANA Cockpit
SAP HANA Cockpit can be used to schedule and create manual backint backups. More information on using SAP HANA Cockpit can be found in SAP HANA Administration with SAP HANA Cockpit : Backup and Recovery.