# Restoring an Oracle RAC Table in a CDB to Its Current Location (In Place)

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

1. From the Command Center 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. From the Tablespace view list at the top of the window, select Table view.

   The database's list of pluggable databases (PDBs) appears.

5. Click the PDB containing the tables you want to restore.

   The list of user schemas appears.

6. Click the schema containing the tables that you want to restore.

   The database's list of tables appears.

7. 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.

8. Click RESTORE.

   The Restore options dialog box appears.

9. Select the In place option.

10. 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.

11. 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.

12. 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.

13. 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.

14. To specify additional Oracle Data Pump Export utility (expdp command) parameters, select Export parameters and then type the parameters in the box.

15. 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.

16. 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 then select a saved credential.

17. You can configure a schedule to repeat this restore operation. To create a schedule, do the following:

    1. Click Schedule.

       The Add schedule dialog box appears.

    2. In the Name box, type a name for the schedule.

    3. Configure the Frequency and Repeat parameters.

    4. To specify exceptions to the schedule, click Exceptions.

       The Exceptions dialog box appears.

    5. 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.

    6. Under the Range of recurrence section, specify the Start date and End date to schedule the recurrence range of the restore operation.

    7. To save the schedule and return to the restore dialog box, click Schedule.

18. Click SUBMIT.

## Related Topics

Viewing and Editing a Database Restore Schedule for Oracle RAC

×

Loading...