RMAN> RUN {
2> SET NEWNAME FOR DATAFILE 1 to ¨+ASMDISK2/repdb/datafile/system01.dbf¨;
3> SET NEWNAME FOR DATAFILE 2 to ¨+ASMDISK2/repdb/datafile/undoa01.dbf¨;
4> SET NEWNAME FOR DATAFILE 3 to ¨+ASMDISK2/repdb/datafile/sysaux01.dbf¨;
5> SET NEWNAME FOR DATAFILE 5 to ¨+ASMDISK2/repdb/datafile/users01.dbf¨;
6> SET NEWNAME FOR DATAFILE 6 to ¨+ASMDISK2/repdb/datafile/jsstbs01.dbf¨;
7> SET NEWNAME FOR TEMPFILE 1 to ¨+ASMDISK2/repdb/datafile/temp01.dbf¨;
8> RESTORE DATABASE;
9> SWITCH DATAFILE ALL;
10> SWITCH TEMPFILE ALL;
11> }
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 25-MAR-10
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to +ASMDISK2/repdb/datafile/system01.dbf
restoring datafile 00002 to +ASMDISK2/repdb/datafile/undoa01.dbf
restoring datafile 00003 to +ASMDISK2/repdb/datafile/sysaux01.dbf
restoring datafile 00005 to +ASMDISK2/repdb/datafile/users01.dbf
restoring datafile 00006 to +ASMDISK2/repdb/datafile/jsstbs01.dbf
channel ORA_DISK_1: reading from backup piece /data1/backup/08l9esfa_1_1
channel ORA_DISK_1: restored backup piece 1
failover to piece handle=/data/backup/08l9esfa_1_1 tag=TAG20100325T110930
channel ORA_DISK_1: restore complete, elapsed time: 00:00:55
Finished restore at 25-MAR-10
datafile 1 switched to datafile copy
input datafile copy recid=6 stamp=714576020 filename=+ASMDISK2/repdb/datafile/system01.dbf
datafile 2 switched to datafile copy
input datafile copy recid=7 stamp=714576021 filename=+ASMDISK2/repdb/datafile/undoa01.dbf
datafile 3 switched to datafile copy
input datafile copy recid=8 stamp=714576021 filename=+ASMDISK2/repdb/datafile/sysaux01.dbf
datafile 5 switched to datafile copy
input datafile copy recid=9 stamp=714576021 filename=+ASMDISK2/repdb/datafile/users01.dbf
datafile 6 switched to datafile copy
input datafile copy recid=10 stamp=714576021 filename=+ASMDISK2/repdb/datafile/jsstbs01.dbf
renamed temporary file 1 to +ASMDISK2/repdb/datafile/temp01.dbf in control file