Veritas-bu

[Veritas-bu] Oracle backup - Scripts

2002-07-03 03:21:15
Subject: [Veritas-bu] Oracle backup - Scripts
From: JR.Redelinghuys AT mgxgroup DOT com (JR Redelinghuys)
Date: Wed, 3 Jul 2002 09:21:15 +0200
Hi

We try to backup an Oracle 7.3.4 DB on Sequent Dynix 4.4.8 system. We use an 
EBU script. When we run it from command line, it  runs fine, with the output on 
the NBU monitor screen. It completes successfully.
When we however run the same backup from Netbackup, with the same script in the 
file list, it fails with error code 6. Backup is setup as an Oracle backup.

Netbackup 34_3
Sequent Dynix 4.4.8
Oracle 7.3.4

The output of the outfile is attached:

Thu Jun 27 14:08:02 USAST 2002 ----------------Beginning of Script------------
Script name: 
/usr/openv/netbackup/ext/db_ext/oracle/scripts/rman/cold_database_backup_DREX.sh

EBU: ebu
SVRMGR: svrmgrl
ORACLE_SID: EBU
ORACLE_USER: oracle
ORACLE_HOME: /luke/u01/app/oracle/product/EBU
NB_ORA_SCRIPTS: /usr/openv/netbackup/ext/db_ext/oracle/scripts/rman

NB_ORA_FULL: 1
NB_ORA_INCR: 0
NB_ORA_CINC: 0
NB_ORA_SERV: luke
NB_ORA_CLASS: Luke_Oracle_DREX_cold_EBU
NB_ORA_PC_SCHED: Daily
NB_ORA_SCHEDULED: 1
NB_ORA_USER_INITIATED: 0

% /luke/u01/app/oracle/product/EBU/bin/svrmgrl
connect internal
shutdown immediate
exit


% /luke/u01/app/oracle/product/EBU/bin/svrmgrl
connect internal
startup restrict open
shutdown immediate
exit


cold database backup requested (incremental level 0)

 /luke/u01/app/oracle/product/EBU/obackup/bin/ebu 
'/usr/openv/netbackup/ext/db_ext/oracle/scripts/rman/drex_backup.rcv'


Thu Jun 27 14:08:02 USAST 2002 ----------------End of Script------------------

exit 137

END

Any ideas as to why the backup can run from command line successfully but not 
out of Netbackup?


JR Redelinghuys 
jr.redelinghuys AT mgxgroup DOT com
MGX - Software Engineer 
Tel  - +27 82 459 1091 
(W) - +27 11 695 2191 
(H)  - +27 11 976 1212 
  

<Prev in Thread] Current Thread [Next in Thread>