Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: RMAN Duplicate database
Hi Scott,
The command you specified will clone the database to your aux server. Make sure db TRGT database has remote_login_passwordfile = exclusive. Also on AUX create a password file using command orapwd. You do not need the "allocate channel" command. It is not required since 9i. You can enhance your duplicate command with "recovery until time": ie
duplicate target database to aux nofilenamecheck until time="TO_DATE('03/03/05,21:50','MM/DD/YY,HH24:MI')";
-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]
On Behalf Of Scott Stefick
Sent: Tuesday, June 07, 2005 10:22 AM To: ORACLE-L_at_freelists.org Subject: RMAN Duplicate database
I'm getting ready to test an RMAN Duplicate Database script. I've never done this before and I'm looking to see if I understand this correctly before I run the test.
I'm on Solaris 8 and Oracle 10g. I'm duplicating from one server to another. They are both the same version and have the same directory structure. I'll call the DB's TRGT and AUX to be generic.
I created the initAUX.ora pfile on the auxiliary server The directory structure is exactly the same The RMAN Hotbackup is copied to the auxiliary server The archive logs are all copied to the auxiliary server
Here is my syntax:
run {
allocate auxiliary channel aux1 device type disk;
duplicate target database to aux
nofilenamecheck;
}
Is this correct? Or will it overwrite what is on my target database?
Thanks in advance,
S
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jun 07 2005 - 10:50:00 CDT
![]() |
![]() |