Restoring from a SAP Oracle Online Backup

Online backups require a further roll forward operation to get them to a consistent database state.

You can recover the database to the current time if all the archived online redo logs are available, otherwise recover the database to a point-in-time.

Before You Begin

  1. Perform a full backup for SAP for Oracle.

  2. Set the database to the correct mode defined in the table, or set the Commvault software to automatically move the database to the correct mode before the restore.

    Control File in the Restore

    Required Database Mode

    Control file is included in the restore

    NOMOUNT

    Control file not included in the restore

    dMOUNT

Procedure

  1. From the CommCell Browser, expand Client Computers > client > SAP for Oracle.

  2. Right-click the instance, point to All Tasks and then click Browse and Restore.

  3. On the Browse and Restore dialog box, select Latest Backup and click View Content.

  4. On the Browse view, select the data to restore in the right pane and click Recover All Selected.

  5. Optional: Use non-default Browse and Restore options. See Browse and Restore.

  6. On the Restore Options dialog box:

    1. Select the Restore Control File check box.

    2. Select the Restore Archive Log check box.

    3. Select the Restore Data check box.

    4. Optional: Select the Recover check box to recover the database.

    5. Verify that the status of the database is STARTED. Click Refresh to refresh the status.

    6. Click Advanced.

      The Advanced Restore Options dialog box appears.

  7. To set the Commvault software to automatically move the database to the correct mode before the restore, select the Switch Database mode for Restore check box.

  8. On the Restore tab, select the restore log option.

    Restore all logs

    Select the All option

    Restore logs by a specific log time

    Select By Log Time and enter the Start and End time in the boxes.

    If you only specify the start log time and not the end log time, the system restores all logs from the start time to the current time.

    If the restore includes the database, see Restoring to a Point-in-Time to restore the database to a specific point-in-time.

    Restore by specifying a serial number

    Select the By Log Serial Number option.

    Check the Start or End check boxes and enter the serial numbers.

    The following are the rules for specifying the serial number.

    • The end serial number must be greater than or equal to the start serial number

    • The start and the end serial number cannot be 0

    • The range of serial numbers restore can be from one or more backup jobs or from a part of a job and from one or more cycles

    • When you specify only the start sequence number, logs starting from that sequence number to the current sequence number are restored

    Restore logs to a different location

    Enter the new path in the Target Directory box.

  9. Optional: Select the restore options.

    Validate the restore

    Validation verifies that the backup copies of the data and logs are intact and usable for restores. BR*Tools simulates the restore job without the media to determine whether the restore can be successfully performed.

    When a validate job is complete, you can view the job log files to identify and correct any issues.

    On the Options tab, select the Validate check box.

    Open the database after the restore

    After a restore, set the Commvault software to automatically open the database. When the database is open, it records transactions.

    On the Options tab, select the Open DB check box.

    Reset the database and logs.

    By default, the database is automatically set to open, and the logs are reset.

    If you reset the logs to an open state, you can then reset the database.

    On the Options tab, select the Reset Database check box and one of the following Reset Log options:

    • To open the database without the RESETLOGS option, select None.

    • To open the database with the RESETLOGS option, select Yes.

    • To open the database with the NORESETLOGS option, select No.

    Perform a point-in-time restore of a database that was backed up in NOARCHIVELOG mode

    If the database was backed up in NOARCHIVELOG mode, enable the redo logs.

    When the no redo log is disabled, BR*Tools searches archived redo logs after applying the incremental backup data during a restore. When you set No Re-do Logs, BR*Tools restores the data from the incremental backup and not the archived redo logs.

    On the Options tab, select the No Re-do Logs check box.

    Restore the control file to an alternate location

    You can use this option when the database is in the MOUNT state.

    The Commvault software restores the control file to the location you specify. The control file is not replicated to the database. You can manually replicate the files to the database.

  10. Click OK to close the Advanced Restore Options dialog box.

  11. Click OK to close the Restore Options dialog box and start the restore.

Loading...