[Veritas-bu] Oracle backup - Scripts
2002-07-03 13:39:42
change the name of the script to name:
/usr/openv/netbackup/ext/db_ext/oracle/scripts/rman/cold_database_backup_DREX2.sh
and make name:
/usr/openv/netbackup/ext/db_ext/oracle/scripts/rman/cold_database_backup_DREX.sh
just be su - oracle -c "name:
/usr/openv/netbackup/ext/db_ext/oracle/scripts/rman/cold_database_backup_DREX2.sh"
That should help.
Bob
>
> From: "JR Redelinghuys" <JR.Redelinghuys AT mgxgroup DOT com>
> Date: 2002/07/03 Wed AM 03:21:15 EDT
> To: <Veritas-bu AT mailman.eng.auburn DOT edu>
> CC: "Bertie Booysens" <Bertie.Booysens AT mgxgroup DOT com>
> Subject: [Veritas-bu] Oracle backup - Scripts
>
> 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
>
> _______________________________________________
> Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
|
|
|