About NetBackup for SAP sample backup scripts (UNIX or Linux)

Article:HOWTO48266  |  Created: 2011-03-30  |  Updated: 2011-05-05  |  Article URL http://www.symantec.com/docs/HOWTO48266
Article Type
How To


Environment

Subject


About NetBackup for SAP sample backup scripts (UNIX or Linux)

NetBackup for SAP installs sample scripts in the following location:

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

You can use some of the sample scripts as they are, or with a little modification, you can use them to perform snapshot backups.

The scripts are as follows:

  • sap_online_backup

    This script sets environment variables and calls brbackup with the appropriate options to perform online backups of the Oracle database through backint.

  • sap_rman_backup

    By default, this script performs offline backups of the Oracle database through RMAN.

    You can use this script to perform online snapshot backups of Oracle through RMAN proxy. Change the brbackup commands in this script to read as follows:

    if [ $SAP_FULL -eq 1 ]; then
            CMD_LINE="$SAP_ENV brbackup -d rman_util -t online -m full -c"
    elif [ $SAP_CINC -eq 1 ]; then
            CMD_LINE="$SAP_ENV brbackup -d rman_util -t online -m incr -c" 
    fi

If you want to perform backups by using brbackup through RMAN proxy, add following lines in the initSID.sap file:

    rman_proxy = yes
    rman_send = "'NB_ORA_PC_SCHED=auto_sched_name'"

See About NetBackup for SAP backup types

See Mixing RMAN stream and RMAN proxy NetBackup for SAP backups

See About NetBackup for SAP with Snapshot Client


Legacy ID



v15501299_v55997056


Article URL http://www.symantec.com/docs/HOWTO48266


Terms of use for this information are found in Legal Notices