# Manage Oracle restore RMAN scripts

Before you run a restore, you can preview the RMAN script that Commvault generates from your restore options. You can also customize the script to include commands and parameters that are not available in the UI.

For example, to redirect the block change tracking file, add the following line to the 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 `run {` or `RUN {` with no trailing spaces after the `{`.

- `run {`: Commvault parses and validates the script.

- `RUN {`: Commvault does not parse or validate the script.

## Procedure

1. From the Command Center navigation pane, go to Protect > Databases.

2. On the Instances tab, click the instance.

3. On the Overview tab, in the Recovery points section, select the backup to restore, and then click Restore.

4. Select the data that you want to restore, and then click Restore.

   The Restore options dialog box appears.

5. Configure the restore options.

6. Click Preview.

7. Review the script on the Ctrl/SP file script or Database script tab.

8. To customize the script, click Customize.

9. Edit the script as needed, and then click Submit.

×

Loading...