RMAN> RUN
{
SET ARCHIVELOG DESTINATION TO '/oracle/temp_restore/'; <-- note the last /
RESTORE ARCHIVELOG ALL;
}
If the file is already on disk you will get an error message from RMAN.To override this, use the force option:
RMAN> run {
2> allocate channel t1 device type 'sbt';
3> set archivelog destination to '/oracle/temp_restore/';
4> restore archivelog logseq 15572 force;
5> }
No comments:
Post a Comment