RE: rman duplicate set until time

  • From: "Bobak, Mark" <Mark.Bobak@xxxxxxxxxxxx>
  • To: "hrishys@xxxxxxxxxxx" <hrishys@xxxxxxxxxxx>, WilliamBlanchard <wblanchard@xxxxxxxxxxxxxxxxxxxx>, "joan.hsieh@xxxxxxxxx" <joan.hsieh@xxxxxxxxx>
  • Date: Thu, 15 Oct 2009 00:30:41 -0400

It seems to me that they are equivalent.

-Mark

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On 
Behalf Of hrishy
Sent: Wednesday, October 14, 2009 9:19 PM
To: WilliamBlanchard; joan.hsieh@xxxxxxxxx
Cc: oracle_l
Subject: Re: rman duplicate set until time

Hi

Just a  wild thought shouldnt this script be something like 
run {
     allocate auxiliary channel aux1 type disk;
     allocate auxiliary channel aux2 type disk;
     allocate auxiliary channel aux3 type disk;
     duplicate target database to $A_ORACLE_SID
     until time 'sysdate-1';
     release channel aux1;
     release channel aux2;
     release channel aux3;
 }


instead of
run {
     allocate auxiliary channel aux1 type disk;
     allocate auxiliary channel aux2 type disk;
     allocate auxiliary channel aux3 type disk;
     set until time 'SYSDATE -1';
     duplicate target database to $A_ORACLE_SID;
     release channel aux1;
     release channel aux2;
     release channel aux3;
 }





      
--
//www.freelists.org/webpage/oracle-l



Other related posts: