Disclaimer

Friday, 20 November 2020

Restoring archivelogs from RMAN tape backup

 


Restoring archivelogs from RMAN tape backup


Connect to target database as well as recovery catalog and run the below command

 

run

{

allocate channel t1 type 'sbt_tape';

send 'NSR_ENV=(NSR_SERVER=denetbcksrv, NSR_CLIENT=samikrac1,NSR_DATA_VOLUME_POOL=DATA)';

set archivelog destination to '+DATA/ORCL/ARCHIVELOG/';

restore archivelog from logseq=5577 until logseq=5583;

}

 

 

RMAN> crosscheck backup;

No comments:

Post a Comment

Index rebuild online in Oracle - shell script

  [oracle@rac10p reorg]$ cat index_rebuild_EMP.sh #!/bin/ksh export ORACLE_HOME=/oracle/K12/19 export ORACLE_SID=K12 export PATH=$PATH:/$ORA...