Saturday, May 18, 2019

Validate RMAN

RMAN> validate archivelog sequence 155790;


 run {
       allocate channel t1 type 'sbt_tape';
   allocate channel t2 type 'sbt_tape';
       backup
          format '/recover/oracle/%d/arc_%d_%t_%s'
          archivelog until time 'sysdate-5' delete input;
   release channel t1;
   release channel t2;
       }