Customizing Oracle Restore RMAN Scripts

The Commvault software generates an RMAN script based on the options you selected from the CommCell Console.

Customize the script to add options or parameters to the command that are not supported through the CommCell Console.

If you want to redirect the block change tracking file, then add the following line to the RMAN script:

SET NEWNAME FOR BLOCK CHANGE TRACKING FILE /path/

where path is the new path for the file.

Note

The first line of the RMAN script must be one of the following lines. There can be no trailing spaces after the "{".

If you want the Commvault software to parse and validate the script, use the following line:

run {

If you do not want the Commvault software to parse and validate the script, use the following line:

RUN {

Procedure

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

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

  3. Select Latest Backup, and then click View Content.

  4. In the right pane of the CommCell Browser window, select the database, and click Recover All Selected.

    The Oracle Restore Options dialog box appears.

  5. Select the type of restore operation, then click Next >.

    The Oracle restore options dialog appears.

  6. Click Advanced.

    The Advanced Restore Options dialog box appears.

  7. On the Custom RMAN Script tab:

    1. Select the Customize script check box.

      The generated RMAN script options are from the selected CommCell Console options in the Control File or Database tabs.

    2. Make the changes to the script.

    3. Click OK to close the Oracle Advanced Restore Options dialog box.

  8. Click OK to close the Oracle restore options dialog box.

Loading...