Restoring SAP on Oracle Archive Logs

You can restore archive logs separately or in addition to the database.

Restore an archive log when you are restoring any of the following data items:

  • A database to the most recent state after a database failure.

  • Logs from a specific time range that were lost due to a hard disk corruption. You can use a point-in-time option, to restore the archive logs.

Before You Begin

Perform a full backup with a log file subclient.

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. Optional: Use non-default Browse and Restore options. See Browse and Restore.

  5. From the Browse window, select the data to restore in the right pane and click Recover All Selected.

  6. On the Restore Options dialog box:

    1. Select the Restore Archive Log check box.

    2. To restore the log files without the database, clear the Restore Data check box.

    3. Click Advanced.

      The Advanced Restore Options dialog box is displayed.

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

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

  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 Backup Validations Only check box.

    Select one verification option.

    • DB Verify - The Commvault software performs a temporary database restore and then verifies the files for database block consistency.

    • RMAN Validate - The Oracle Recovery manager performs a temporary database restore and then verifies the files for database block consistency. The restored files are deleted after the verification.

    • Only Backup Inquiry - BACKINT displays the list of available backups to validate.

    Restore the control file to an alternate location

    You can use this option when the database is in the MOUNT, SHUTDOWN or OPEN 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.

    On the Ctrl Files tab:

    1. Select the Restore Control File check box.

    2. Select the Restore Control File As check box.

    3. Type the full path where you want to restore the control file.

    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, RMAN searches archived redo logs after applying the incremental backup data during a restore. When you set No Re-do Logs, the data is restored from the incremental backup and not the archived redo logs.

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

  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.

Page contents

×

Loading...