Skip to main content
SnapCenter Software 6.0

Restore and recover Oracle databases

Contributors netapp-soumikd

In the event of data loss, you can use SnapCenter to restore data from one or more backups to your active file system and then recover the database.

Steps
  1. In the left navigation pane, click Resources, and then select the appropriate plug-in from the list.

  2. In the Resources page, select either Database or Resource Group from the View list.

  3. Select the database or the resource group from the list.

  4. From the Manage Copies view, select Backups from the primary storage system.

  5. Select the backup from the table, and then click restore icon.

  6. In the Restore Scope page, perform the following tasks:

    1. Select RAC if you have selected a backup of a database in RAC environment.

    2. Perform the following actions:

      1. Select All Datafiles if you want to restore only the database files.

      2. Select Tablespaces if you want to restore only the tablespaces.

      3. Select Redo log files if you want to restore the redo log files of the Data Guard standby or Active Data Guard standby databases.

      4. Select Pluggable databases and specify the PDBs you want to restore.

      5. Select Pluggable database (PDB) tablespaces, and then specify the PDB and the tablespaces of that PDB that you want to restore.

      6. Select Restore the database to the same host where the backup was created if you want to restore the database to the same SQL server where the backups are taken.

      7. Select Restore the database to an alternate host if you want the database to be restored to a different SQL server in the same or different host where backups are taken.

      8. Select Change database state if needed for restore and recovery to change the state of the database to the state required to perform restore and recovery operations.

      9. Select Force in place restore if you want to perform in-place restore in the scenarios where new datafiles are added after backup or when LUNs are added, deleted, or re-created to an LVM disk group.

  7. In the Recovery Scope page, select one of the following options:

    1. Select All Logs if you want to recover to the last transaction.

    2. Select Until SCN (System Change Number) if you want to recover to a specific SCN.

    3. Select Date and Time if you want to recover to a specific date and time.

    4. Select No recovery if you do not want to recover.

    5. Select Specify external archive log locations if you want to specify the location of the external archive log files.

  8. In the Pre-Ops and Post Ops page, specify the required details.

  9. In the Notification page, from the Email preference drop-down list, select the scenarios in which you want to send the emails.

  10. Review the summary, and then click Finish.

  11. Monitor the operation progress by clicking Monitor > Jobs.

Restore and recover tablespaces using point-in-time recovery

You can restore a subset of tablespaces that have been corrupted or dropped without impacting the other tablespaces in the database. SnapCenter uses RMAN to perform point-in-time recovery (PITR) of the tablespaces.

Steps
  1. In the left navigation pane, click Resources, and then select the appropriate plug-in from the list.

  2. In the Resources page, select either Database or Resource Group from the View list.

  3. Select the database of type single instance (multitenant).

  4. From the Manage Copies view, select Backups from the storage system.

    If the backup is not cataloged, you should select the backup and click Catalog.

  5. Select the catalogued backup, and then click restore icon.

  6. In the Restore Scope page, perform the following tasks:

    1. Select RAC if you have selected a backup of a database in RAC environment.

    2. Select Tablespaces if you want to restore only the tablespaces.

    3. Select Change database state if needed for restore and recovery to change the state of the database to the state required to perform restore and recovery operations.

  7. In the Recovery Scope page, select one of the following options:

    1. Select Until SCN (System Change Number) if you want to recover to a specific SCN.

    2. Select Date and Time if you want to recover to a specific date and time.

  8. In the Pre-Ops and Post Ops page, specify the required details.

  9. In the Notification page, from the Email preference drop-down list, select the scenarios in which you want to send the emails.

  10. Review the summary, and then click Finish.

  11. Monitor the restore process by using the Monitor > Jobs page.

Restore and recover pluggable database using point-in-time recovery

You can restore and recover a pluggable database (PDB) that has been corrupted or dropped without impacting the other PDBs in the container database (CDB). SnapCenter uses RMAN to perform point-in-time recovery (PITR) of the PDB.

Steps
  1. In the left navigation pane, click Resources, and then select the appropriate plug-in from the list.

  2. In the Resources page, select either Database or Resource Group from the View list.

  3. Select the database of type single instance (multitenant).

  4. From the Manage Copies view, select Backups from the storage system.

    If the backup is not cataloged, you should select the backup and click Catalog.

  5. Select the catalogued backup, and then click restore icon.

  6. In the Restore Scope page, perform the following tasks:

    1. Select RAC if you have selected a backup of a database in RAC environment.

    2. Depending on whether you want to restore the PDB or tablespaces in a PDB, perform one of the actions:

      • Select Pluggable databases (PDBs) if you want to restore a PDB.

      • Select Pluggable database (PDB) tablespaces if you want to restore tablespaces in a PDB.

  7. In the Recovery Scope page, select one of the following options:

    1. Select Until SCN (System Change Number) if you want to recover to a specific SCN.

    2. Select Date and Time if you want to recover to a specific date and time.

  8. In the Pre-Ops and Post Ops page, specify the required details.

  9. In the Notification page, from the Email preference drop-down list, select the scenarios in which you want to send the emails.

  10. Review the summary, and then click Finish.

  11. Monitor the restore process by using the Monitor > Jobs page.