Duplicating an Oracle Database

Updated

On this page

You can create a duplicate Oracle database for purposes such as testing or demonstrations.

Procedure

  1. From the navigation pane, go to Protect > Databases.

    The Instances page appears.

  2. Click the instance.

    The instance page appears.

  3. On the Overview tab, in the Recovery points section, select the backup to restore, and then click Restore.

    The Backup content page appears.

  4. Select the data that you want to restore, and then click Restore.

    The Restore options dialog box appears.

  5. Click the Out of place tab.

  6. From the Destination server list, select the server to duplicate the database to.

  7. From the Destination instance list, select the instance to duplicate the database to.

  8. In the Number of streams box, type the number of streams to use for the restore.

  9. Move the RMAN duplicate toggle key to the right.

  10. To create a duplicate standby database, select Duplicate for standby.

  11. To redirect the database or individual table spaces, do the following:

    1. Click Redirect.

      The Redirect path options dialog box appears.

    2. To redirect the database, click Database, and then enter the full path for the new location of the database.

    3. To redirect individual tablespaces and datafiles, click Tablespaces and datafiles. For each tablespace that you want to redirect:

      1. Expand the tablespace.

      2. In the Datafiles box, change the path to the new location.

    4. To redirect the temporary tablespaces, click Redirect temporary tablespaces, and then enter the full path for the new location.

    5. Click Save.

  12. Select the data that you want to restore:

    • To restore the database or individual tablespaces, select the Database check box and clear the Control file check box.

    • To restore the control file, clear the Database check box and select the Control file check box.

    • To restore the database and control file, select the Database check box and the Control file check box.

    • To restore the SP file, select the SP file check box.

  13. Select the database Recover to option. These options control how the archive files are applied to the data files.

    • To recover to the latest backup job completion time, select Most recent backup.

    • To recover the database to the current time, select Current Time.

    • To recover to a point-in-time, select Point in Time, and then enter the date and time.

    • To recover to a System Change Number, select SCN, and then type the SCN.

      The SCN tracks the timing of transactions in the Oracle database. The SCNs are stored in the control files and the datafile headers. You can recover the database to the last existing SCN number in the control file, which is the last consistent database state.

  14. Click Submit.