Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Duplicating an active database

Posted on 2013-06-19
6
Medium Priority
?
314 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 Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

610 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