RMAN restore - log_file_name_convert
Posted by Roshan on Nov 21, 2016; 7:15am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/RMAN-restore-log-file-name-convert-tp1576.html
Hello,
I am performing an RMAN restore. Below is my script. The issue is the redo log restore. The redo logs are found on multiple locations on production. How do I do log_file_name_convert?
rman target /
startup nomount
run {
allocate channel c1 device type disk;
allocate channel c2 device type disk;
allocate channel c3 device type disk;
allocate channel c4 device type disk;
set newname for database to '/data/WINSDB';
SET ARCHIVELOG DESTINATION TO '/archive/WINSDB/'
set newname for tempfile 1 to '/data/WINSDB';
duplicate database to 'WINSDB' backup location '/archive/winsbackup'
recover database;
alter database open resetlogs;
release channel c1;
release channel c2;
release channel c3;
release channel c4;
}
Thanks and Regards,
Roshan