?
Solved

Duplicating an active database

Posted on 2013-06-19
6
Medium Priority
?
311 Views
Last Modified: 2013-06-21
I am attempting to in essence to clone an active database without taking it down and renaming the copy to something else. Can you describe the steps to do this?
I have been told to use the rman duplicate command which I have not used before. Even before that do I need to copy files to another directory? Please assist. Thanks!
0
Comment
Question by:k3vsmith
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39259692
Best place to start is in the docs:
24 Duplicating a Database
http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmdupdb.htm#BRADV010

and
25 Duplicating a Database: Advanced Topics
http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmdupad.htm#BRADV441
0
 

Author Comment

by:k3vsmith
ID: 39264144
I read through the articles you posted which are goood but taking a step back Im not sure what I need to do at the Linux level. Do I need to create a new oracle home for the copied database or just copy the oracle home directory of the source database and rename it for the copy.
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39264164
Are you staying on the same server or copying the database to a server with no oracle products installed?
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

Author Comment

by:k3vsmith
ID: 39264173
Same server that the source db is on
0
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 2000 total points
ID: 39264534
See if this helps:
Cloning A Database
On The Same Server
Using Rman Duplicate From Active Database

https://blogs.oracle.com/AlejandroVargas/resource/rman/rman-duplicate-from-active-database.pdf
0
 

Author Comment

by:k3vsmith
ID: 39265552
Great find! Thanks.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to recover a database from a user managed backup
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question