Step 2. Create a Configuration File for SAP HANA to Use for backint Operations

SAP

Audience
Public
Product
FlashBlade
FlashArray
FlashStack
FlashBlade > Purity//FB
FlashArray > Purity//FA
Technology Integrations
SAP
Source Type
Documentation
Note:

If using multiple policies for each tenant then multiple copies of the configuration need to be made and customized to accommodate the backup strategy.

In the directory /usr/openv/netbackup/ext/db_ext/sap/scripts/sap_oracle on the SAP HANA Scale Up system there are a number of files:


-r-xr-xr-x 1 root bin  1194 Jun 25  2019 bplist_filter
-r-xr-xr-x 1 root bin  6865 Jun 25  2019 initSAP.sap
-r-xr-xr-x 1 root bin 15197 Jun 25  2019 initSAP.utl
-r-xr-xr-x 1 root bin  1195 Jun 25  2019 restore_filter
-r-xr-xr-x 1 root bin  1055 Jun 25  2019 sap_custom_sort_file
-r-xr-xr-x 1 root bin  1792 Jun 25  2019 sap_offline_backup
-r-xr-xr-x 1 root bin  3743 Jun 25  2019 sap_online_backup
-r-xr-xr-x 1 root bin  2554 Jun 25  2019 sap_redo_log_backup
-r-xr-xr-x 1 root bin  2349 Jun 25  2019 sap_rman_backup

Copy the "initSAP.utl" file and give it a new name.

In the new file the minimum requirement is that the policy name and schedule to be used are set, the policy name setup in the pre-requisites (create a policy for the SAP HANA backup and recovery operations) should be used here:


# policy: is an optionl parameter and should be set to the name of a SAP policy
# type that has been defined in Netbackup.  The SAP policy must have a schedule
# type of Application Backup defined in order for BACKINT to work.  If BACKINT finds
# a $SAP_POLICY environment variable, the policy parameter value will be
# overriden by the value of the $SAP_POLICY variable.  If the policy parameter
# is not specified and there is no environment variable, then BACKINT will
# exit with an error.
#
policy sap-hana-backup
#
#
# schedule: Is optional and must be set to the name of type  Application Backup
# schedule that is associates with a SAP policy type.  The schedule can
# define aspects of the backup such as how long Netbackup retains images,
# maximum MPX per drive, storage unit, and volume pool.  If BACKINT finds a
# $SAP_SCHED environment variable, the schedule parameter value will be
# overriden by the value of the $SAP_SCHED environment variable.  If the
# schedule parameter is not specified and there is no environment variable,
# then, NetBackup uses the first schedule of type Application Backup
# that it finds. It is higly recommended to set schedule parameter in *.utl file.
#
schedule Default-Application-Backup