Re: RMAN Restore Of Data Guard DB

  • From: Andrew Kerber <andrew.kerber@xxxxxxxxx>
  • To: srcdco@xxxxxxx
  • Date: Fri, 19 Jul 2019 08:41:29 -0500

Did you set the db_file_name_convert and log file name convert in the init.ora? 
Or the dB create file fest?

Sent from my iPad

On Jul 19, 2019, at 08:27, Scott Canaan <srcdco@xxxxxxx> wrote:

I have a data guard primary database in Oracle 12.1.0.2.  It is backed up 
with RMAN, via CommVault.  I want to do a test restore to a non-data guard 
database.  The problem I’m having is that when I do the restore, it keeps 
trying to create the files on the secondary and fails because the directory 
doesn’t exist.  I know there has to be a way to do this, but I can’t find it 
in any of the RMAN documentation.
 
What I’m doing is connect to the target database, which is open nomount.  
Then set the dbid to the source database, allocate the channels, and do a 
duplicate database.  I think what’s happening is that it’s bringing the 
control files from the source and then it gets confused because the control 
files know about the secondary database.
 
Scott Canaan ‘88
Sr Database Administrator 
Information & Technology Services
Finance & Administration
Rochester Institute of Technology
o: (585) 475-7886 | f: (585) 475-7520
srcdco@xxxxxxx | c: (585) 339-8659 

CONFIDENTIALITY NOTE: The information transmitted, including attachments, is 
intended only for the person(s) or entity to which it is addressed and may 
contain confidential and/or privileged material. Any review, retransmission, 
dissemination or other use of, or taking of any action in reliance upon this 
information by persons or entities other than the intended recipient is 
prohibited. If you received this in error, please contact the sender and 
destroy any copies of this information.
 

Other related posts: