You can create a duplicate Oracle database for purposes such as testing or demonstrations.
Procedure
-
From the Command Center navigation pane, go to Protect > Databases.
The database overview page appears.
-
On the Instances tab, click the instance.
The instance properties page appears.
-
On the Overview tab, in the Recovery points section, select the backup to restore, and then click RESTORE.
The Backup content page appears.
-
Select the data that you want to restore, and then click RESTORE.
The Restore options dialog box appears.
-
Click the Out of place option.
-
From the Restore type list, select RMAN duplicate.
-
From the Destination server list, select the server to duplicate the database to.
-
From the Destination instance list, select the instance to duplicate the database to.
-
To change the number of streams to use, in the Number of streams box, enter the number of streams.
-
To redirect the database or individual table spaces, do the following:
-
Click REDIRECT OPTIONS.
The Redirect path options dialog box appears.
-
To redirect the database, click Database, and then enter the full path for the new location of the database.
-
To redirect individual tablespaces and datafiles, click Tablespaces and datafiles. For each tablespace that you want to redirect:
-
Expand the tablespace.
-
In the Datafiles box, change the path to the new location.
-
-
To redirect the temporary tablespaces, move the Redirect temporary tablespaces toggle to the right, and then enter the full path for the new location.
-
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.
-
Click SAVE.
-
-
To create a duplicate standby database, select Duplicate for standby.
-
To apply the archive files to the data files for the Recover to selection, from the Recover to type list select the type of recovery and enter any related values.
-
To create the duplicate database without connecting to the target database, under Advanced options select the Skip target connection check box.
-
To use the recovery catalog, move the Use recovery catalog toggle to the right, and then select a saved credential.
-
To specify pre or post recovery scripts, do the following under Pre or Post options:
-
Type the path to the script.
-
To run a script as a specific user, move the Run as user toggle to the right and then select a saved credential.
-
-
You can configure a schedule to repeat this restore operation. To create a schedule, do the following:
-
Click Schedule.
The Add schedule dialog box appears.
-
In the Name box, type a name for the schedule.
-
Configure the Frequency and Repeat parameters.
-
To specify exceptions to the schedule, click Exceptions.
The Exceptions dialog box appears.
-
Configure the exception parameters:
-
You can click Add Exception to save a set of exception parameters and continue adding sets of exception parameters.
-
Click Save when you have finished configuring the exception parameters.
-
-
Under the Range of recurrence section, specify the Start date and End date to schedule the recurrence range of the restore operation.
-
To save the schedule and return to the restore dialog box, click Schedule.
-
-
To customize the script for this restore operation, click PREVIEW.
The preview window appears.- To customize the script, click CUSTOMIZE.
The Customize script window appears. - On the Ctrl/SP file script or on the Database script tab, modify the script.
- Click SUBMIT to submit the modified script.
- To customize the script, click CUSTOMIZE.
-
If you did not customize the script, click SUBMIT.