Cloning A Database On The Same Server Using Rman Duplicate From Active Database

Posted by alejandro.vargas on Oracle Blogs See other posts from Oracle Blogs or by alejandro.vargas
Published on Sat, 20 Mar 2010 06:16:43 -0800 Indexed on 2010/03/20 14:32 UTC
Read the original article Hit count: 749

Filed under:

To clone a database using Rman we used to require an existing Rman backup, on 11g we can clone databases using the "from active" database option.

In this case we do not require an existing backup, the active datafiles will be used as the source for the clone.

In order to clone with the source database open it must be on archivelog mode. Otherwise we can make the clone mounting the source database, as shown in this example.


These are the steps required to complete the clone:

  1. Configure The Network
  2. Create A Password File For The New Database
  3. Create An Init.Ora For The New Database
  4. Create The Admin Directory For The New Database
  5. Shutdown And Startup Mount The Source Database
  6. Startup Nomount The New Database
  7. Connect To The Target (Source) And Auxiliary (New Clone) Databases Using Rman
  8. Execute The Duplicate Command
  9. Remove The Old Pfile
  10. Check The New Database

A step by step example is provided on this file: rman-duplicate-from-active-database.pdf

© Oracle Blogs or respective owner

Related posts about RMAN