You can restore Oracle RAC tables in a container database (CDB) to the same location. By default, when you restore tables to the source database, the restore operation overwrites the existing tables in the destination database.
Before You Begin
-
The Collect table metadata option for the subclient must be enabled for any backups you want to use for restoring tables. For more information, see Adding Oracle RAC Subclients.
-
The PDBs containing the tables you want to restore must have been in an open state when you ran the backup.
-
If you are restoring tables using the control file, the source PDB must be open. If you are restoring using the catalog, the source PDB does not need to be open.
-
Indexing must be enabled. If you have a client that is using Indexing Version 1, you can upgrade it using the Upgrade To Indexing V2 workflow.
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.
-
From the Tablespace view list at the top of the window, select Table view.
The database's list of pluggable databases (PDBs) appears.
-
Click the PDB containing the tables you want to restore.
The list of user schemas appears.
-
Click the schema containing the tables that you want to restore.
The database's list of tables appears.
-
Select the tables that you want to restore, and then for each selected table, click the Actions button
to select or deselect dependent or referenced tables.When you restore a table which is dependent on another table due to referential constraints, you must take one of the following actions to make sure the referential integrity of the tables is maintained when the restore is complete:
-
Manually select the referenced tables.
-
Use the user interface option to select all the referenced tables.
If you select only the dependent table, the referential integrity of the tables is not maintained.
-
-
Click RESTORE.
The Restore options dialog box appears.
-
Select the In place option.
-
To change the stream configuration for the restore, under Number of streams, click the action button
for the stream to change, and then move the stream up or down, or edit the number of streams. -
To specify whether the restore only puts the exported tables in the staging location or overwrites the current tables, select the Table options:
-
Click Dump to save the table export dump files to the staging location.
-
Click Import to overwrite the current tables.
The PDB mapping section appears. To change any PDB mapping, from the Destination PDB list, select the PDB.
-
-
To specify the location of the staging path, in the Staging path box, type the location.
The staging path must have enough free space for the control file, the Oracle diagnostic directory, and the required tablespaces.
-
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 specify additional Oracle Data Pump Export utility (expdp command) parameters, select Export parameters and then type the parameters in the box.
-
To use the recovery catalog, move the Use recovery catalog toggle to the right, and then type the Connect string user ID, password, and service name.
-
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.
-
-
Click SUBMIT.
Related Topics
Viewing and Editing a Database Restore Schedule for Oracle RAC