RE: RMAN duplicate database

From: Robertson Lee - lerobe <Lee.Robertson_at_acxiom.com>
Date: Thu, 23 Apr 2009 12:12:49 +0100
Message-ID: <F1A191B056E5E04EA2134D842F9396F819B32071_at_sunmsx01.Corp.Acxiom.net>



OK, ignore that last email  

Just realised what I should have done. Doofus :-(  


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Robertson Lee - lerobe
Sent: 23 April 2009 12:02
To: oracle-l_at_freelists.org
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.



*
--
http://www.freelists.org/webpage/oracle-l
Received on Thu Apr 23 2009 - 06:12:49 CDT

Original text of this message