Restarting SAP database restores on Oracle
You can restore an SAP database that is based on Oracle by using the brrestore command. The brrestore command writes a record into the input file for each file to be restored. This record is named BID filename. brrestore then calls the NetBackup for SAP agent (backint) with the appropriate options.
Restores can be either successful or unsuccessful.
For each record in the input file, the brrestore command expects one of the following messages from backint:
For a successful restore:
#FILE..... filename #RESTORED BID
For an unsuccessful restore:
#ERROR filename
If the restore is successful, backint reports #RESTORED BID filename. Then, brrestore writes the following:
UNIX or Linux:
#RESTORED. VXF1147974254
Windows:
#RESTORED. VXF1147974254
brrestore does not write any messages if backint reports #ERROR filename.
If the restore job fails after restoring some files, the NetBackup for SAP agent (backint) reports #RESTORED for the files it restored. It reports #ERROR for the files that it did not restore.