Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: RMAN Scripts and Unix
"Daniel_Bryant" <DanielBryant_at_cobbk12.org> wrote in message
news:f5ec3093.0204251003.648f6b98_at_posting.google.com...
> 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 in rman catalog database (rcvcat) under the user rman in the
rman catalog.
The print script command (IIRC) will however print the script for you to
standard output.
Hth
-- Sybrand Bakker Senior Oracle DBA to reply remove '-verwijderdit' from my e-mail addressReceived on Thu Apr 25 2002 - 14:50:13 CDT