Sequence of operation for NetBackup for SAP
NetBackup users or schedules start database backups or restores by running the SAP script. If a policy on the primary server initiates the backup, a NetBackup process called bphdb starts the SAP script on the client. Alternatively a user or process on the client host can run the script. The script runs the SAP tools command line interface which, then starts the requested operation on the databases.
Figure: NetBackup for SAP operations shows the sequence of operation.
For a backup, brbackup calls the NetBackup for SAP backint interface. The backint interface calls the XBSA API to interface with NetBackup.
A restore works in a similar way as a backup. Except that the NetBackup for SAP backint interface calls the XBSA API. Therefore causes NetBackup to retrieve the data from secondary storage and send it to the client.