Restoring Control and Server Parameter Files for Oracle
Control and SP files are required to recover a database to the current state. Restore control and SP files in the following scenarios:
- The control file is lost and you need to restore the backup repository contained in the control file
- The recovery catalog is lost
- The recovery catalog was never used
- The catalog connect string is not specified for the instance during the backup
Configure an autobackup of control files to restore the control file from an autobackup. The control file restore destroys all the previous backups.
If your database consists of multiple control files copies, you can replace a corrupted control file by manually copying an existing control file, and then restoring it.
Before You Begin
- Perform a Control File Backup.
- Place the database in NOMOUNT mode, or set the Commvault software to automatically move the database to the correct mode before the restore.
- Optional: When the backup pieces are unknown to the RMAN repository, catalog the backup pieces. For more information, see Cataloging RMAN Backup Pieces.
- From the CommCell Browser, expand Client Computers > client > Oracle.
- Right-click the instance, point to All Tasks and then click Browse and Restore.
- Select Latest Backup and click View Content.
- Optional: Use non-default Browse and Restore options. See Browse and Restore.
- In the right pane of the CommCell Browser window, select the database, and click Recover All Selected.
- Depending on the type of restore to be run, click Restore in place or Restore out of place, and then click Next.
The Oracle In Place Restore Options or Oracle Out of Place Restore Options dialog box appears.
- To restore the latest backup to the same location, on the Restore Options dialog box, select the Restore Control File check box and click OK.
- For all other restore options, on the Restore Options dialog box, select the Restore Control File and Restore SP Files check boxes and click Advanced.
- On the Advanced Restore Options dialog box, click the Ctrl & SP Files tab and then select the Restore Control File and Restore From check boxes.
- Select the method to use when restoring the control file.
- To restore the control file to a new location, on the Ctrl & SP Files tab in the Restore Control File section, select the Restore SP File As check box and enter the path in the box.
- 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.
- Optional: Select the restore options.
- Click OK to close the Advanced Restore Options dialog box.
- Optional: View or customize the RMAN script that is automatically generated from the selected options. For more information, see Viewing Oracle Restore RMAN Scripts and Customizing Oracle Restore RMAN Scripts.
- Click OK to close the Restore Options dialog box and start the restore.
What to Do Next
- Place the database in MOUNT mode.
- Perform a full database restore.
Last modified: 6/4/2019 6:05:38 PM