Re: Nested Windows shell scripts for rman backups

From: Jeffrey Beckstrom <JBECKSTROM_at_gcrta.org>
Date: Fri, 26 Jul 2013 09:42:59 -0400
Message-Id: <51F244A30200000B0050A06D_at_groupwise.gcrta.org>



Do "call" to your cmd file.

Jeffrey Beckstrom
Database Administrator
Greater Cleveland Regional Transit Authority Information Systems
1240 W. 6th Street
Cleveland, Ohio 44113

>>> "Schauss, Peter (ESS)" <peter.schauss_at_ngc.com> 7/26/13 9:27 AM >>>
My apologies if this is too far off topic. I am running several instances of Oracle 11.2.0.3 and 11.1.0.7 on some Windows 2003 servers, multiple instances on each server. Our Grid Control 11g environment has proved a bit unreliable so I am trying to setup Windows scripts for my rman backups similar to what I do on my UNIX servers. Rather than have a separate task to backup each instance, I created a script called run_rman.cmd to run a single backup and created a master script to call it multiple times passing the instance name as a parameter. The master script looks like this:

e:\oracle\admin\batch\run_rman.cmd <instance1> >e:\oracle\admin\batch\run_rman_<instance1>.log 2>&1

e:\oracle\admin\batch\run_rman.cmd <instance2> >e:\oracle\admin\batch\run_rman_<instance2>.log 2>&1

...

When I run it, however, it runs the first instance of run_rman.cmd and then quits. What am I doing wrong here?

Thanks,
Peter Schauss

--
https://access.seg.att.com/redir/?krFI9LLK6QrFTKqehO9I04X7_fBite00U09rifVmeSfYKurLObbP3ybXbPVKVKItIvVsYKgGT2TwFSf-vaAWs01dIccndEIzC7C7ShPNJxYS3fFfQ3h00IE8lckd452vDDCy2BEOmDgQgeRyq88GX0Qg4dIlrmErDUvf5zZB0SyrhdETjLsQsIICUyTz6RU- 






.
--
http://www.freelists.org/webpage/oracle-l
Received on Fri Jul 26 2013 - 15:42:59 CEST

Original text of this message