Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Tivoli and RMAN

Tivoli and RMAN

From: JOE TESTA <JTESTA_at_longaberger.com>
Date: Tue, 19 Nov 2002 10:26:10 -0800
Message-ID: <F001.00506E8A.20021119102610@fatcity.com>


Hello all, just finished reading the chapter on RMAN/Tivoli and a .pdf on installation.

It appears NO environment variables are read when using tivoli that all "enviroment stuff" has to be put in the tdpo.opt file.

so all of the scripts that we wrote that uses enviroment variables will have to be canned?

take for example this:

$ORACLE_HOME/bin/rman << EOF > ${LOGFILE_NAME} 2>&1

# this is for controlfile backups, connect to catalog and target databases

# allocate one channel based on rmantab values, archive the current log,
# resync catalog, so its up to date and backup the current controlfile.

   connect catalog $CUSER_PASS
   connect target $DUSER_PASS

   run{

     allocate channel d1 type disk format "${BACKUP_CHANNEL_1}/${ORACLE_SID}_arc_${BACKUP_TYPE}_on_${DATETIME}_%p_%s.rman";
     setlimit channel d1 kbytes 2097150 maxopenfiles 32 readrate 200;       
     sql 'ALTER SYSTEM ARCHIVE LOG CURRENT';
     resync catalog;
     backup  current controlfile;
     release channel d1;

}

EOF exit $?

If anyone is using tivoli in conjunction w/rman and has good/bad stuff to say about it, kindly let me know.

thanks, joe

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: JOE TESTA
  INET: JTESTA_at_longaberger.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Nov 19 2002 - 12:26:10 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US