Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Veritas and rman

Status
Not open for further replies.
Nov 21, 2002
31
US
Can anyone provide me with a good overview on how rman and Veritas work. Our DBA left and all his custom scripting is not up to our enterprise standards. I am very familure with Veritas and SQL but I have yet to try to understand the big O.

Timmy.
 
here's an example ora db backup (ora 9i) under netbackup -

rman script that netbackup runs.....

#!/bin/ksh

BACKUP_DIR=/home/TEST3/oracle;export BACKUP_DIR
NB_ORA_POLICY=CL_ORACLEDB_gentest3;export NB_ORA_POLICY

<shedload of ORACLE environment variables snipped for brevity !>

/u01/TEST3/app/oracle/product/9.2/bin/rman target=username/password@system.world catalog=username/password@RMAN.WORLD cmdfile=/home/TEST3/oracle/db-backup0-tape-gentest3.rcv > /home/TEST3/oracle/$LOGFILE





rcv file that the netbackup script calls.....

run {
allocate channel t1 type 'sbt_tape';
allocate channel t2 type 'sbt_tape';
allocate channel t3 type 'sbt_tape';

resync catalog;

# Backup the Database, control file, archivelogs, then deletes 1 copy of archivelogs.
backup full database plus archivelog delete input;

release channel t1;
release channel t2;
release channel t3;
}



works like a dream


Rich
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top