0% found this document useful (0 votes)
57 views2 pages

Sap

This document provides instructions for configuring NetBackup for SAP backups. Key steps include: 1) Copying SAP binaries to specific directories on Windows and UNIX systems. 2) Linking the NetBackup for SAP binary file. 3) Modifying configuration files initSID.utl and initSID.sap to specify NetBackup policy, schedule, client and other parameters for backups. 4) Testing backups manually by running scripts in the sap_oracle directory.

Uploaded by

Mohamed ElFateh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views2 pages

Sap

This document provides instructions for configuring NetBackup for SAP backups. Key steps include: 1) Copying SAP binaries to specific directories on Windows and UNIX systems. 2) Linking the NetBackup for SAP binary file. 3) Modifying configuration files initSID.utl and initSID.sap to specify NetBackup policy, schedule, client and other parameters for backups. 4) Testing backups manually by running scripts in the sap_oracle directory.

Uploaded by

Mohamed ElFateh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Netbackup for SAP

=================
1) Ensure the SAP binaries are copied to the following directory

Windows: C:\usr\sap\SID\SYS\exe\run
UNIX: /usr/sap/APP/SYS/exe/run

2) link the NetBackup for SAP binary file (UNIX or Linux Oracle databases without
RMAN only)

ln -s /usr/openv/netbackup/bin/backint /usr/sap/APP/SYS/exe/run/backint

3) Explore SAP Backup Scripts located in the following directory

/usr/openv/netbackup/ext/db_ext/sap/scripts/sap_oracle

4) If you are going to use NetBackup for SAP online and without RMAN , use the
following script located in the directory mentioned in the step "3"

sap_online_backup

5) Sure if the Client based on Active/Passive Cluster, you have to copy the same
version of the script in the same path in the cluster nodes

mkdir /home/nbu_scripts
cp /usr/openv/netbackup/ext/db_ext/sap/scripts/sap_oracle /home/nbu_scripts
chmod -R 777 /home/nbu_scripts

6) There are some important configuration files should be concerned while modifying
the scripts

initSID.utl SAP parameter file. This file specifies policy, schedule, client, and
other information to the backint interface.
initSID.sap SAP profile file. This file contains information that the SAP tools use
to interact with the backintand RMAN interfaces.

7) Modify initSID.utl and backup the file already exists in the $ORACLE_HOME/dbs or
%ORACLE_HOME%\database directory, copy it to a backup file.

cp /oracle/APP/102_64/dbs/initAPP.utl /oracle/APP/102_64/dbs/initAPP.utl.bkp

a) cp /usr/openv/netbackup/ext/db_ext/sap/scripts/sap_oracle/initAPP.utl
/oracle/APP/102_64/dbs/initAPP.utl
b) The following parameters are required: client, switch_list,
switch_log,switch_sem.
c) If you use RMAN, set policy, schedule, and server.
If you do not use RMAN, set drives, policy, schedule, and server.
d)
policy sap_policy_1
schedule Default-Application-Backup
client puffin
server puffin
drives 2
switch_list /oracle/sap/sapbackup/.switch.lis
switch_sem /oracle/sap/sapbackup/.switch.sem
switch_log /oracle/sap/sapbackup/.switch.log

8) Modifying the initSID.sap and backup the file already exists in the
$ORACLE_HOME/dbs or %ORACLE_HOME%\database directory, copy it to a backup file.
cp /oracle/APP/102_64/dbs/initAPP.sap /oracle/APP/102_64/dbs/initAPP.sap.bkp

a) cp /usr/openv/netbackup/ext/db_ext/sap/scripts/sap_oracle/initSAP.sap
/oracle/APP/102_64/dbs/initAPP.sap
b) Modify the initSID.sap file with a text editor to set the backup_dev_type and
util_par_file parameters to values that are appropriate to your site.
c)
backup_type = online
backup_dev_type = util_file_online
util_par_file = /oracle/APP/102_64/dbs/initAPP.utl

9) Test the backup manual using the following

brbackup -d util_file_online -t online -m all

sap_backup
userbkps

alter tablespace PSAPBTABD end backup;

You might also like