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

Home -> Community -> Usenet -> c.d.o.server -> Re: RMAN Scripts and Unix

Re: RMAN Scripts and Unix

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Thu, 25 Apr 2002 21:00:07 +0100
Message-ID: <3CC86047.7A0A@yahoo.com>


Daniel_Bryant wrote:
>
> I have a shell script that starts the RMAN Backup Process (which was
> set up by someone else long ago)
>
> # Shell script called by Netbackup to backup SID_Name database
>
> su - oracle -c "ORACLE_SID=SID_Name;export ORACLE_SID;rman rcvcat
> rman/****@rcvcat cmdfile
> /u01/app/oracle/admin/rman_scripts/backup_db_full.cmdfile msglog
> /u01/app/oracle/admin/rman_scripts/backup_db_full_SID_Name.log"
> exit 0
>
> The "backup_db_full.cmdfile" is below:
>
> connect target;
> resync catalog;
> run { execute script backup_db_full; }
>
> My question is - I cannot find the script called "backup_db_full" ? I
> can see all the commands executing in the msglog file (ie: allocate,
> backup, release etc) but cannot figure out where the above script is
> located ? ? ? Also, I am using Veritas B/U Software. Any help
> would be appreciated... Thanks...

The script is 'within' rman - ie someone created it and stored it within the rman catalog. Its not a plain file or shell script per se.

hth
connor

-- 
==============================
Connor McDonald

http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue..."
Received on Thu Apr 25 2002 - 15:00:07 CDT

Original text of this message

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