Re: how to clone database to different DB name use RMAN (No duplicate or exp/imp)

From: Andrejs Kaulins <andrejs.kaulins_at_gmail.com>
Date: Wed, 6 Jul 2011 13:23:41 +0300
Message-Id: <3882450B-E891-4614-8DD5-0C1110C9EF4F_at_gmail.com>



Hi,

If you have consistent backup (cold backup), you could recreate control file with setting new db name, and defining new locations for data files. Opening database with reset logs will do the rest (dbid will be changed in data file headers). Otherwise you need recovery, so db needs to be mounted at least with the same name as original name.

Andrejs Kaulins,
Senior DBA at SOLABS

Sent from my iPad

On 2011. gada 5. jūl., at 23:01, dba1 mcc <mccdba1_at_yahoo.com> wrote:

>
>
> We have ORACLE 10Gr2 and 11GR1
> databases. We plan to clone database to other server
> and also rename it using "nightly backup". This nightly backup may be several weeks ago. In this case we can NOT use rman "duplicate" command or EXP/IMP.
>
> I know I can use RMAN restore to same database name then
> rename it. Does there has other way can do it?
>
> Thanks.
>
> --
> http://www.freelists.org/webpage/oracle-l
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jul 06 2011 - 05:23:41 CDT

Original text of this message