Hello Reagan,
this was a little bit messy for me - YES, it is possible to mount the database when only a control file is present, but unfortunately it is not possible to create a new control file if the data files are not there.
So, a simple restore to the same system worked flawlessly.
Though I have now decided to try a refresh and I am facing a situation during the restore.
Here is what I have done thus far:
1) Stopped the database and deleted all the data files and control file copies
2) Restored an old control file of the original DB
3) Started brrestore:
brrestore -p init<SID>.sap -b bepjdvtp.anr -c force -m full
Unfortunately this is failing with the following error:
RMAN>
RMAN> connect target *
connected to target database: Z07 (DBID=1834503450, not open)
using target database control file instead of recovery catalog
RMAN> **end-of-file**
RMAN>
host command complete
RMAN>
sql statement: alter session set optimizer_mode=RULE
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31>
allocated channel: sbt_1
channel sbt_1: SID=147 device type=SBT_TAPE
channel sbt_1: Data Domain Boost API
allocated channel: sbt_2
channel sbt_2: SID=195 device type=SBT_TAPE
channel sbt_2: Data Domain Boost API
allocated channel: sbt_3
channel sbt_3: SID=241 device type=SBT_TAPE
channel sbt_3: Data Domain Boost API
allocated channel: sbt_4
channel sbt_4: SID=291 device type=SBT_TAPE
channel sbt_4: Data Domain Boost API
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
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 09-DEC-14
released channel: sbt_1
released channel: sbt_2
released channel: sbt_3
released channel: sbt_4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 12/09/2014 17:03:34
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 19 found to restore
RMAN-06023: no backup or copy of datafile 18 found to restore
RMAN-06023: no backup or copy of datafile 12 found to restore
RMAN-06023: no backup or copy of datafile 8 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 21 found to restore
RMAN-06023: no backup or copy of datafile 20 found to restore
RMAN-06023: no backup or copy of datafile 9 found to restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
RMAN-06023: no backup or copy of datafile 17 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 10 found to restore
RMAN-06023: no backup or copy of datafile 6 found to restore
RMAN-06023: no backup or copy of datafile 16 found to restore
RMAN-06023: no backup or copy of datafile 11 found to restore
RMAN-06023: no backup or copy of datafile 7 found to restore
I have googled and found descriptions of this problem only for pure oracle installations. At one
site they recommend creating the same directory structure, which I have reproduced by creating a soft link:
oraSID> cd /oracle
oraSID> ln -s <targetSID> <sourceSID>
I verified that cd /oracle/<sourceSID>/sapdata1 works and is sending me where it is supposed to, but the restore keeps failing with the same error RMAN-06023. Please kindly advise on how to circumvent this error.
Many thanks!