Re: rman duplicate set until time

  • From: hrishy <hrishys@xxxxxxxxxxx>
  • To: WilliamBlanchard <wblanchard@xxxxxxxxxxxxxxxxxxxx>, joan.hsieh@xxxxxxxxx
  • Date: Wed, 14 Oct 2009 21:18:32 -0700 (PDT)

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;
 }





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


Other related posts: