Backup Netbackup (short)configuration for SAP agent with test backup

** Myself
1. Edit /usr/openv/netbackup/ext/db_ext/sap/scripts/sap_oracle
    1.1 Comment and Uncomment because default command is for C-shell
        Comment SAP_ENV="$SAP_ENV SAP_SERVER=$SAP_SERVER; export SAP_SERVER;"
        Uncomment       SAP_ENV="$SAP_ENV setenv SAP_SERVER $SAP_SERVER;"
        Comment SAP_ENV="$SAP_ENV SAP_POLICY=$SAP_POLICY; export SAP_POLICY;"
        Uncomment       SAP_ENV="$SAP_ENV setenv SAP_POLICY $SAP_POLICY;"
        Comment SAP_ENV="$SAP_ENV SAP_SCHED=$SAP_SCHED; export SAP_SCHED;"
        Uncomment       SAP_ENV="$SAP_ENV setenv SAP_SCHED $SAP_SCHED;"
     1.2  Change option in brbacku if need , this case add " -u / " for force no need enter oracle password
        CMD_LINE="$SAP_ENV brbackup -u / -c -d util_file_online -t online -m all"
     1.3  Change option in brbacku if need , this case add " -u / " for force no need enter oracle password
        CMD_LINE="$SAP_ENV brarchive -u / -c -d util_file -sd > archive_out"
     1.4  Edit username : "orasap" become your default Oracle system (oraPRD)
2. Create Netbackup Client log directory /usr/openv/logs
    2.1 # mkdir bpbackup bpbkar bprestore tar backint bphdb
    2.2 # chmod 777 bphdb
3. Edit /oracle/PRD/102_64/dbs/initPRD.utl
        switch_list /oracle/PRD/sapbackup/.switch.lis
        switch_sem /oracle/PRD/sapbackup/.switch.sem
        switch_log /oracle/PRD/sapbackup/.switch.log
        backint_dir /oracle/SAP/sapbackup
        server backupserver
        client thPRDrd1
        drive 1
        policy SAP_DB
        schedule Default-Application-Backup

1 comments:

sap testing tools said...

Great, it is really amazing! Thank you everyone for your efforts on this. it is faster than "Perldoc" all the time.

Loading