Monday, June 9, 2014

RESTORE TABLE FROM RMAN BACKUP ORACLE12c database


The RECOVER TABLE command is a new feature in 12C that allows point in time recovery of a table or a table partition.
The table is recovered into an auxiliary instance and there is the option to:


  • import the recovered table into a new table or partition using REMAP option
  • create the expdp dump of the recovered table only, for import at a later time of your choosing

Pre-requisites:


  • The target database must be in read-write mode.
  • The target database must be in ARCHIVELOG mode.
  • You must have RMAN backups of the tables or table partitions as they existed at the point in time to which you want recover  these objects.
  • To recover single table partitions, the COMPATIBLE initialization parameter for target database must be set to 11.1.0 or higher.

Setting the Point-in-time to Which Tables and Table Partitions Must be Recovered

Options are:

  • SCN
  • Time
  • Sequence number

The ROOT container SYSTEM and UNDO tablespaces are restored to the auxiliary therefore RECOVER TABLE has to be run after a direct connection to ROOT CDB.  If a service_name is not used, RMAN will fail during export:

SELECT SEQUENCE#, THREAD#, FIRST_TIME, NEXT_TIME   FROM V$ARCHIVED_LOG

run
{
RECOVER TABLE "SCOTT"."EMP"
UNTIL SEQUENCE 10 thread 1
AUXILIARY DESTINATION '/u01/app/oracle/oradata/HLRMAIN3'
REMAP TABLE 'SCOTT'.'EMP':'EMP_PREV';
}

OR

run
{
RECOVER TABLE "SCOTT"."SALGRADE"
UNTIL time "TO_DATE('09-JUN-14 14:00:00','DD-MON-YY HH24:MI:SS')"
AUXILIARY DESTINATION '/u01/app/oracle/oradata/HLRMAIN3'
REMAP TABLE 'SCOTT'.'SALGRADE':'SALGRADE_PREV';
}


the out put is


RMAN> run
2> {
RECOVER TABLE "SCOTT"."EMP"
UNTIL SEQUENCE 10 thread 1
AUXILIARY DESTINATION '/u01/app/oracle/oradata/HLRMAIN3'
REMAP TABLE 'SCOTT'.'EMP':'EMP_PREV';
}3> 4> 5> 6> 7>

Starting recover at 09-JUN-14
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=346 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=207 device type=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: SID=253 device type=DISK
allocated channel: ORA_DISK_4
channel ORA_DISK_4: SID=347 device type=DISK
RMAN-05026: WARNING: presuming following set of tablespaces applies to specified Point-in-Time

List of tablespaces expected to have UNDO segments
Tablespace SYSTEM
Tablespace UNDOTBS1

Creating automatic instance, with SID='zmww'

initialization parameters used for automatic instance:
db_name=HLRMAIN2
db_unique_name=zmww_pitr_HLRMAIN2
compatible=12.1.0.0.0
db_block_size=8192
db_files=200
sga_target=1G
processes=80
diagnostic_dest=/u01/app/oracle
db_create_file_dest=/u01/app/oracle/oradata/HLRMAIN3
log_archive_dest_1='location=/u01/app/oracle/oradata/HLRMAIN3'
#No auxiliary parameter file used


starting up automatic instance HLRMAIN2

Oracle instance started

Total System Global Area    1068937216 bytes

Fixed Size                     2296576 bytes
Variable Size                293602560 bytes
Database Buffers             767557632 bytes
Redo Buffers                   5480448 bytes
Automatic instance created

contents of Memory Script:
{
# set requested point in time
set until  logseq 10 thread 1;
# restore the controlfile
restore clone controlfile;
# mount the controlfile
sql clone 'alter database mount clone database';
# archive current online log
sql 'alter system archive log current';
}
executing Memory Script

executing command: SET until clause

Starting restore at 09-JUN-14
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=74 device type=DISK
allocated channel: ORA_AUX_DISK_2
channel ORA_AUX_DISK_2: SID=64 device type=DISK
allocated channel: ORA_AUX_DISK_3
channel ORA_AUX_DISK_3: SID=83 device type=DISK
allocated channel: ORA_AUX_DISK_4
channel ORA_AUX_DISK_4: SID=92 device type=DISK

channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: reading from backup piece /u01/RMAN/c-1520971765-20140609-02
channel ORA_AUX_DISK_1: piece handle=/u01/RMAN/c-1520971765-20140609-02 tag=TAG20140609T141102
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
output file name=/u01/app/oracle/oradata/HLRMAIN3/HLRMAIN2/controlfile/o1_mf_9sc7k0hg_.ctl
Finished restore at 09-JUN-14

sql statement: alter database mount clone database

sql statement: alter system archive log current

contents of Memory Script:
{
# set requested point in time
set until  logseq 10 thread 1;
# set destinations for recovery set and auxiliary set datafiles
set newname for clone datafile  1 to new;
set newname for clone datafile  4 to new;
set newname for clone datafile  3 to new;
set newname for clone tempfile  1 to new;
# switch all tempfiles
switch clone tempfile all;
# restore the tablespaces in the recovery set and the auxiliary set
restore clone datafile  1, 4, 3;
switch clone datafile all;
}
executing Memory Script

executing command: SET until clause

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

renamed tempfile 1 to /u01/app/oracle/oradata/HLRMAIN3/HLRMAIN2/datafile/o1_mf_temp_%u_.tmp in control file

Starting restore at 09-JUN-14
using channel ORA_AUX_DISK_1
using channel ORA_AUX_DISK_2
using channel ORA_AUX_DISK_3
using channel ORA_AUX_DISK_4

channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/HLRMAIN3/HLRMAIN2/datafile/o1_mf_undotbs1_%u_.dbf
channel ORA_AUX_DISK_1: reading from backup piece /u01/RMAN/HLRMAIN2_S_67_P_1_T_849795008
channel ORA_AUX_DISK_2: starting datafile backup set restore
channel ORA_AUX_DISK_2: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_2: restoring datafile 00001 to /u01/app/oracle/oradata/HLRMAIN3/HLRMAIN2/datafile/o1_mf_system_%u_.dbf
channel ORA_AUX_DISK_2: reading from backup piece /u01/RMAN/HLRMAIN2_S_66_P_1_T_849795008
channel ORA_AUX_DISK_3: starting datafile backup set restore
channel ORA_AUX_DISK_3: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_3: restoring datafile 00003 to /u01/app/oracle/oradata/HLRMAIN3/HLRMAIN2/datafile/o1_mf_sysaux_%u_.dbf
channel ORA_AUX_DISK_3: reading from backup piece /u01/RMAN/HLRMAIN2_S_65_P_1_T_849795008
channel ORA_AUX_DISK_1: piece handle=/u01/RMAN/HLRMAIN2_S_67_P_1_T_849795008 tag=TAG20140609T141008
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:15
channel ORA_AUX_DISK_2: piece handle=/u01/RMAN/HLRMAIN2_S_66_P_1_T_849795008 tag=TAG20140609T141008
channel ORA_AUX_DISK_2: restored backup piece 1
channel ORA_AUX_DISK_2: restore complete, elapsed time: 00:00:45
channel ORA_AUX_DISK_3: piece handle=/u01/RMAN/HLRMAIN2_S_65_P_1_T_849795008 tag=TAG20140609T141008
channel ORA_AUX_DISK_3: restored backup piece 1
channel ORA_AUX_DISK_3: restore complete, elapsed time: 00:00:55
Finished restore at 09-JUN-14

datafile 1 switched to datafile copy
input datafile copy RECID=4 STAMP=849797136 file name=/u01/app/oracle/oradata/HLRMAIN3/HLRMAIN2/datafile/o1_mf_system_9sc7k9pc_.dbf
datafile 4 switched to datafile copy
input datafile copy RECID=5 STAMP=849797136 file name=/u01/app/oracle/oradata/HLRMAIN3/HLRMAIN2/datafile/o1_mf_undotbs1_9sc7k9ox_.dbf
datafile 3 switched to datafile copy
input datafile copy RECID=6 STAMP=849797136 file name=/u01/app/oracle/oradata/HLRMAIN3/HLRMAIN2/datafile/o1_mf_sysaux_9sc7k9pk_.dbf

contents of Memory Script:
{
# set requested point in time
set until  logseq 10 thread 1;
# online the datafiles restored or switched
sql clone "alter database datafile  1 online";
sql clone "alter database datafile  4 online";
sql clone "alter database datafile  3 online";
# recover and open database read only
recover clone database tablespace  "SYSTEM", "UNDOTBS1", "SYSAUX";
sql clone 'alter database open read only';
}
executing Memory Script

executing command: SET until clause

sql statement: alter database datafile  1 online

sql statement: alter database datafile  4 online

sql statement: alter database datafile  3 online

Starting recover at 09-JUN-14
using channel ORA_AUX_DISK_1
using channel ORA_AUX_DISK_2
using channel ORA_AUX_DISK_3
using channel ORA_AUX_DISK_4

starting media recovery

archived log for thread 1 with sequence 7 is already on disk as file /u01/app/oracle/fast_recovery_area/HLRMAIN2/archivelog/2014_06_09/o1_mf_1_7_9sc64ppq_.arc
archived log for thread 1 with sequence 8 is already on disk as file /u01/app/oracle/fast_recovery_area/HLRMAIN2/archivelog/2014_06_09/o1_mf_1_8_9sc68zpq_.arc
archived log for thread 1 with sequence 9 is already on disk as file /u01/app/oracle/fast_recovery_area/HLRMAIN2/archivelog/2014_06_09/o1_mf_1_9_9sc6tod8_.arc
archived log file name=/u01/app/oracle/fast_recovery_area/HLRMAIN2/archivelog/2014_06_09/o1_mf_1_7_9sc64ppq_.arc thread=1 sequence=7
archived log file name=/u01/app/oracle/fast_recovery_area/HLRMAIN2/archivelog/2014_06_09/o1_mf_1_8_9sc68zpq_.arc thread=1 sequence=8
archived log file name=/u01/app/oracle/fast_recovery_area/HLRMAIN2/archivelog/2014_06_09/o1_mf_1_9_9sc6tod8_.arc thread=1 sequence=9
media recovery complete, elapsed time: 00:00:01
Finished recover at 09-JUN-14

sql statement: alter database open read only

contents of Memory Script:
{
   sql clone "create spfile from memory";
   shutdown clone immediate;
   startup clone nomount;
   sql clone "alter system set  control_files =
  ''/u01/app/oracle/oradata/HLRMAIN3/HLRMAIN2/controlfile/o1_mf_9sc7k0hg_.ctl'' comment=
 ''RMAN set'' scope=spfile";
   shutdown clone immediate;
   startup clone nomount;
# mount database
sql clone 'alter database mount clone database';
}
executing Memory Script

sql statement: create spfile from memory

database closed
database dismounted
Oracle instance shut down

connected to auxiliary database (not started)
Oracle instance started

Total System Global Area    1068937216 bytes

Fixed Size                     2296576 bytes
Variable Size                297796864 bytes
Database Buffers             763363328 bytes
Redo Buffers                   5480448 bytes

sql statement: alter system set  control_files =   ''/u01/app/oracle/oradata/HLRMAIN3/HLRMAIN2/controlfile/o1_mf_9sc7k0hg_.ctl'' comment= ''RMAN set'' scope=spfile

Oracle instance shut down

connected to auxiliary database (not started)
Oracle instance started

Total System Global Area    1068937216 bytes

Fixed Size                     2296576 bytes
Variable Size                297796864 bytes
Database Buffers             763363328 bytes
Redo Buffers                   5480448 bytes

sql statement: alter database mount clone database

contents of Memory Script:
{
# set requested point in time
set until  logseq 10 thread 1;
# set destinations for recovery set and auxiliary set datafiles
set newname for datafile  6 to new;
# restore the tablespaces in the recovery set and the auxiliary set
restore clone datafile  6;
switch clone datafile all;
}
executing Memory Script

executing command: SET until clause

executing command: SET NEWNAME

Starting restore at 09-JUN-14
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=64 device type=DISK
allocated channel: ORA_AUX_DISK_2
channel ORA_AUX_DISK_2: SID=74 device type=DISK
allocated channel: ORA_AUX_DISK_3
channel ORA_AUX_DISK_3: SID=83 device type=DISK
allocated channel: ORA_AUX_DISK_4
channel ORA_AUX_DISK_4: SID=92 device type=DISK

channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00006 to /u01/app/oracle/oradata/HLRMAIN3/ZMWW_PITR_HLRMAIN2/datafile/o1_mf_users_%u_.dbf
channel ORA_AUX_DISK_1: reading from backup piece /u01/RMAN/HLRMAIN2_S_65_P_1_T_849795008
channel ORA_AUX_DISK_1: piece handle=/u01/RMAN/HLRMAIN2_S_65_P_1_T_849795008 tag=TAG20140609T141008
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
Finished restore at 09-JUN-14

datafile 6 switched to datafile copy
input datafile copy RECID=8 STAMP=849797166 file name=/u01/app/oracle/oradata/HLRMAIN3/ZMWW_PITR_HLRMAIN2/datafile/o1_mf_users_9sc7mx3h_.dbf

contents of Memory Script:
{
# set requested point in time
set until  logseq 10 thread 1;
# online the datafiles restored or switched
sql clone "alter database datafile  6 online";
# recover and open resetlogs
recover clone database tablespace  "USERS", "SYSTEM", "UNDOTBS1", "SYSAUX" delete archivelog;
alter clone database open resetlogs;
}
executing Memory Script

executing command: SET until clause

sql statement: alter database datafile  6 online

Starting recover at 09-JUN-14
using channel ORA_AUX_DISK_1
using channel ORA_AUX_DISK_2
using channel ORA_AUX_DISK_3
using channel ORA_AUX_DISK_4

starting media recovery

archived log for thread 1 with sequence 7 is already on disk as file /u01/app/oracle/fast_recovery_area/HLRMAIN2/archivelog/2014_06_09/o1_mf_1_7_9sc64ppq_.arc
archived log for thread 1 with sequence 8 is already on disk as file /u01/app/oracle/fast_recovery_area/HLRMAIN2/archivelog/2014_06_09/o1_mf_1_8_9sc68zpq_.arc
archived log for thread 1 with sequence 9 is already on disk as file /u01/app/oracle/fast_recovery_area/HLRMAIN2/archivelog/2014_06_09/o1_mf_1_9_9sc6tod8_.arc
archived log file name=/u01/app/oracle/fast_recovery_area/HLRMAIN2/archivelog/2014_06_09/o1_mf_1_7_9sc64ppq_.arc thread=1 sequence=7
archived log file name=/u01/app/oracle/fast_recovery_area/HLRMAIN2/archivelog/2014_06_09/o1_mf_1_8_9sc68zpq_.arc thread=1 sequence=8
archived log file name=/u01/app/oracle/fast_recovery_area/HLRMAIN2/archivelog/2014_06_09/o1_mf_1_9_9sc6tod8_.arc thread=1 sequence=9
media recovery complete, elapsed time: 00:00:00
Finished recover at 09-JUN-14

database opened

contents of Memory Script:
{
# create directory for datapump import
sql "create or replace directory TSPITR_DIROBJ_DPDIR as ''
/u01/app/oracle/oradata/HLRMAIN3''";
# create directory for datapump export
sql clone "create or replace directory TSPITR_DIROBJ_DPDIR as ''
/u01/app/oracle/oradata/HLRMAIN3''";
}
executing Memory Script

sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/u01/app/oracle/oradata/HLRMAIN3''

sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/u01/app/oracle/oradata/HLRMAIN3''

Performing export of tables...
   EXPDP> Starting "SYS"."TSPITR_EXP_zmww_uaxg":
   EXPDP> Estimate in progress using BLOCKS method...
   EXPDP> Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
   EXPDP> Total estimation using BLOCKS method: 64 KB
   EXPDP> Processing object type TABLE_EXPORT/TABLE/TABLE
   EXPDP> Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
   EXPDP> Processing object type TABLE_EXPORT/TABLE/STATISTICS/MARKER
    EXPDP> ORA-39127: unexpected error from call to export_string :=SYS.DBMS_TRANSFORM_EXIMP.INSTANCE_INFO_EXP('AQ$_MGMT_ADMINMSG_BUS_S','SYSMAN',1,1,'12.01.00.00.00',newblock)
ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '/u01/app/oracle/oradata/HLRMAIN2/mgmt.dbf'
ORA-06512: at "SYS.DBMS_TRANSFORM_EXIMP", line 197
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 9901
ORA-39127: unexpected error from call to export_string :=SYS.DBMS_TRANSFORM_EXIMP.INSTANCE_INFO_EXP('AQ$_EM_EVENT_BUS_TABLE_S','SYSMAN',1,1,'12.01.00.00.00',newblock)
ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '/u01/app/oracle/oradata/HLRMAIN2/mgmt.dbf'
ORA-06512: at "SYS.DBMS_TRANSFORM_EXIMP", line 197
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 9901
ORA-39127: unexpected error from call to export_string :=SYS.DBMS_TRANSFORM_EXIMP.INSTANCE_INFO_EXP('AQ$_MGMT_NOTIFY_QTABLE_S','SYSMAN',1,1,'12.01.00.00.00',newblock)
ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '/u01/app/oracle/oradata/HLRMAIN2/mgmt.dbf'
ORA-06512: at "SYS.DBMS_TRANSFORM_EXIMP", line 197
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 9901
ORA-39127: unexpected error from call to export_string :=SYS.DBMS_TRANSFORM_EXIMP.INSTANCE_INFO_EXP('AQ$_EM_NOTIFY_QTABLE_S','SYSMAN',1,1,'12.01.00.00.00',newblock)
ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '/u01/app/oracle/oradata/HLRMAIN2/mgmt.dbf'
ORA-06512: at "SYS.DBMS_TRANSFORM_EXIMP", line 197
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 9901
ORA-39127: unexpected error from call to export_string :=SYS.DBMS_TRANSFORM_EXIMP.INSTANCE_INFO_EXP('AQ$_MGMT_HOST_PING_QTABLE_S','SYSMAN',1,1,'12.01.00.00.00',newblock)
ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '/u01/app/oracle/oradata/HLRMAIN2/mgmt.dbf'
ORA-06512: at "SYS.DBMS_TRANSFORM_EXIMP", line 197
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 9901
ORA-39127: unexpected error from call to export_string :=SYS.DBMS_TRANSFORM_EXIMP.INSTANCE_INFO_EXP('AQ$_EM_CNTR_QTABLE_S','SYSMAN',1,1,'12.01.00.00.00',newblock)
ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '/u01/app/oracle/oradata/HLRMAIN2/mgmt.dbf'
ORA-06512: at "SYS.DBMS_TRANSFORM_EXIMP", line 197
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 9901
ORA-39127: unexpected error from call to export_string :=SYS.DBMS_TRANSFORM_EXIMP.INSTANCE_INFO_EXP('AQ$_MGMT_LOADER_QTABLE_S','SYSMAN',1,1,'12.01.00.00.00',newblock)
ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '/u01/app/oracle/oradata/HLRMAIN2/mgmt.dbf'
ORA-06512: at "SYS.DBMS_TRANSFORM_EXIMP", line 197
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 9901
   EXPDP> . . exported "SCOTT"."EMP"                               8.757 KB      14 rows
   EXPDP> Master table "SYS"."TSPITR_EXP_zmww_uaxg" successfully loaded/unloaded
   EXPDP> ******************************************************************************
   EXPDP> Dump file set for SYS.TSPITR_EXP_zmww_uaxg is:
   EXPDP>   /u01/app/oracle/oradata/HLRMAIN3/tspitr_zmww_74786.dmp
   EXPDP> Job "SYS"."TSPITR_EXP_zmww_uaxg" completed with 7 error(s) at Mon Jun 9 14:47:07 2014 elapsed 0 00:00:45
Export completed


contents of Memory Script:
{
# shutdown clone before import
shutdown clone abort
}
executing Memory Script

Oracle instance shut down

Performing import of tables...
   IMPDP> Master table "SYS"."TSPITR_IMP_zmww_eCcE" successfully loaded/unloaded
   IMPDP> Starting "SYS"."TSPITR_IMP_zmww_eCcE":
   IMPDP> Processing object type TABLE_EXPORT/TABLE/TABLE
   IMPDP> Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
   IMPDP> . . imported "SCOTT"."EMP_PREV"                          8.757 KB      14 rows
   IMPDP> Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
   IMPDP> Processing object type TABLE_EXPORT/TABLE/STATISTICS/MARKER
   IMPDP> Job "SYS"."TSPITR_IMP_zmww_eCcE" successfully completed at Mon Jun 9 14:47:30 2014 elapsed 0 00:00:15
Import completed


Removing automatic instance
Automatic instance removed
auxiliary instance file /u01/app/oracle/oradata/HLRMAIN3/HLRMAIN2/datafile/o1_mf_temp_9sc7m2pz_.tmp deleted
auxiliary instance file /u01/app/oracle/oradata/HLRMAIN3/ZMWW_PITR_HLRMAIN2/onlinelog/o1_mf_3_9sc7mzvf_.log deleted
auxiliary instance file /u01/app/oracle/oradata/HLRMAIN3/ZMWW_PITR_HLRMAIN2/onlinelog/o1_mf_2_9sc7mznf_.log deleted
auxiliary instance file /u01/app/oracle/oradata/HLRMAIN3/ZMWW_PITR_HLRMAIN2/onlinelog/o1_mf_1_9sc7mzfb_.log deleted
auxiliary instance file /u01/app/oracle/oradata/HLRMAIN3/ZMWW_PITR_HLRMAIN2/datafile/o1_mf_users_9sc7mx3h_.dbf deleted
auxiliary instance file /u01/app/oracle/oradata/HLRMAIN3/HLRMAIN2/datafile/o1_mf_sysaux_9sc7k9pk_.dbf deleted
auxiliary instance file /u01/app/oracle/oradata/HLRMAIN3/HLRMAIN2/datafile/o1_mf_undotbs1_9sc7k9ox_.dbf deleted
auxiliary instance file /u01/app/oracle/oradata/HLRMAIN3/HLRMAIN2/datafile/o1_mf_system_9sc7k9pc_.dbf deleted
auxiliary instance file /u01/app/oracle/oradata/HLRMAIN3/HLRMAIN2/controlfile/o1_mf_9sc7k0hg_.ctl deleted
auxiliary instance file tspitr_zmww_74786.dmp deleted
Finished recover at 09-JUN-14

http://www.pythian.com/blog/table-recovery-with-rman-in-database-12c/