Restoring an Oracle Database to a Different Location (Out of Place)

You can restore the following data:

  • The database and control file

  • The database

  • The control file

  • Individual tablespaces and the control file

  • Individual tablespaces

  • Oracle Wallet files

You can restore the database to an instance with the same name as the source instance, on a different client.

After the restore, you can recover the database to a point other than the current time, if the current database is inconsistent.

When you choose the option to recover from the latest backup time or from the latest System Change Number (SCN) with a secondary copy, the software only considers the time or SCN from the latest job available on the secondary copy, even when the primary copy or other copies have a more recent backup job.

Before You Begin

Instances that are automatically discovered are configured with the "/" (slash) character as the connect string. However, for out-of-place restores and duplicating a database in a cloud environment (AWS, Azure, or OCI), the connect string for the target database instance properties must be configured in USERNAME/PASSWORD@SERVICENAME format. Also, the target database instance properties must be configured in this format if you will be running data masking on the target machine in a cloud environment.

Procedure

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

    The database overview page appears.

  2. On the Instances tab, click the instance.

    The instance properties 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. Select the Out of place option.

  6. From the Restore type list, select Cross instance restore.

  7. From the Destination server list, select the host to restore to.

  8. From the Destination instance list, select the instance to restore to.

  9. To change the number of streams to use for the restore, in the Number of streams box, enter the number of streams to use.

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

    1. Click REDIRECT OPTIONS.

      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, move the Redirect temporary tablespaces toggle to the right, and then enter the full path for the new location.

    5. To change the characteristics of the online redo logs, move the Online redo logs toggle to the right, and then enter the information for the redo logs.

    6. Click SAVE.

  11. To select the data that you want to restore, in the Restore section, select the items to restore.

  12. Choose if you want to apply the archive files to the data files or if you want to restore the archive log files:

    • To apply the archive files to the data files select Recover to, and then from the Recover to type list select the type of recovery and enter any related values.

    • To restore the archive log, select Restore archive log:

      1. From the Archive log type list, select the type of recovery and enter any related values.

      2. In the Target directory box, enter the full path to the directory.

  13. To automatically move the database or selected tablespaces to the correct offline mode before the restore, under Advanced options select the Switch Database Mode check box.

  14. To use the source catalog, move the Use source catalog toggle to the right, and then type the Connect string user ID, password, and service name.

  15. To specify pre or post recovery scripts, do the following under Pre or Post options:

    1. Type the path to the script.

    2. To run a script as a specific user, move the Run as user toggle to the right and type the user name and password.

  16. If you have data masking configured and you want to mask the data on the destination, select the Mask sensitive data check box, and then from the Data masking policy list, select the data masking policy.

  17. To customize the script for this restore operation, click PREVIEW.
    The preview window appears.

    1. To customize the script, click CUSTOMIZE.
      The Customize script window appears.
    2. On the Ctrl/SP file script or on the Database script tab, modify the script.
    3. Click SUBMIT to submit the modified script.
  18. If you did not customize the script, click SUBMIT.

Loading...