How to restore archivelog in another location
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