Solved

Duplicating an active database

Posted on 2013-06-19
6
290 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
  • 3
  • 3
6 Comments
 
LVL 76

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 76

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

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

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now