RE: RMAN duplicate database

  • From: "Robertson Lee - lerobe" <Lee.Robertson@xxxxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 23 Apr 2009 12:12:49 +0100

OK, ignore that last email
 
Just realised what I should have done. Doofus :-(
 

________________________________

From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Robertson Lee -
lerobe
Sent: 23 April 2009 12:02
To: oracle-l@xxxxxxxxxxxxx
Subject: RMAN duplicate database


Hi,
 
Oracle 10.2.0.3
AIX 6
 
I ran a duplicate database yesterday from an RMAN tape backup. This was
to basically copy a backed up database to a new one on the same box.
Although I specified the new file name for logs and data files in the
new init.ora file, and they were placed in the correct directories, I
was wondering if there was an automated method for changing the actual
filenames as well.
 
e.g
 
Original filename was
 
/u01/oradata/DB1/fileDB1.dbf
 
Once restored into duplicate database it became
 
/u01/oradata/DB2/fileDB1.dbf
 
Is it possible to ensure automatically that the file name itself changes
from DB1 to DB2 as well ?
 
Apologies if this is easy but I have looked at the manuals etc and
cannot see anything ?
 
Regards
 
Lee
 
************************************************************************
*
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be
legally privileged.

If the reader of this message is not the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.

If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.

Thank you.
************************************************************************
*

Other related posts: