Database Backup and Recovery (MOSC)

MOSC Banner

How to restore archivelog in another location

edited Dec 21, 2016 3:27AM in Database Backup and Recovery (MOSC) 4 commentsAnswered

Good afternoon,

I am trying to restore some archives in another location, following the MySupportOracle documentation 944831.1.

First I made the backup:

    Run {
     Allocate channel ch1 type disk format '/export/TCBP/export/%U';
     Backup
     Archivelog from logseq 18 until logseq 23 thread 1;
     }

After doing the restore in another location I use the following command:

     Run {
     Set archivelog destination to '/export/TCBP/export';
     Restore archivelog from logseq 18 until logseq 23 thread 1;
     }

However, archives are not generated in the path that I specify but in the location defined in the DB:

     Starting restore at 16-DEC-16
     Using channel ORA_DISK_1

     Archived log for thread 1 with sequence 18 is already on disk as file +RECO1/tcbp/archivelog/2016_12_10/thread_1_seq_18.1029.930197281

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center