Planning for a Disaster Recovery
Disaster Recovery Using CommCell Console
Disaster Recovery Using SAP Command Line Interface
The difference between a full Oracle database restore and a full system rebuild is the severity of the problem. Normally, if data is lost or removed, it is recovered from the archives using the restore options available from the SAP command line.
However, when a normal restore operation cannot correct a software and/or hardware corruption problem on the client system (such as a damaged or destroyed operating system, hardware, hard drives, etc.), some level of full system restore is required. To resolve a hardware corruption problem, see the appropriate SAP documentation.
Before you begin a disaster recovery, make sure to do the following:
Whenever the Oracle database is corrupted and a restore is required, both the Oracle application software and Oracle database must be restored. This can be achieved by using any of the following modes.
To recover the Oracle database using SAP command line interface:
brrestore -d util_file -b2 becmmcsy.anf -m /oracle_setup/dbs/init<SID>.ora
brrestore -d util_file -b2 becmmcsy.anf -m /oracle_setup/dbs/init<SID>.utl
brrestore -d util_file -b2 becmmcsy.anf -m /oracle_setup/dbs/init<SID>.sap
brrestore -d util_file -m 0
brrestore -d util_file -b last -m all -u /
brrestroe -a <From ARCHIVE LOG# - To ARCHIVE LOG#>
sql>recover database using backup controlfile until cancel;
sql>alter database open resetlogs;
init<SID>.ora, init<SID>.sap and init<SID>.utl can only be restored by SAP Command Line Interface. The remaining files such as control file, data files, archive log files can also be restored from CommCell Console. |
For more information on Disaster Recovery using BRRESTORE, refer SAP documentation.
To recover the Oracle database using CommCell Console:
1. | From the CommCell Browser, right-click the instance, and click Browse Backup Data. |
![]() |
2. | From the Browse Options dialog box, select the Specify Browse Time option and then select the date and time to which you wish to view the data in the browse window. Click OK in the Browse Options dialog box to execute the browse. |
![]() |
3. | The Backup Data browse window displays the data and logs backed up during the specified time. From the Backup Data browse window, select the objects that you want to restore, and then click Recover All Selected. |
![]() |
4. |
From the SAP/Oracle Restore Options (General) tab:
|
![]() |
5. | From the Advanced Restore Options (Recover) tab, select Recover. Select Current Time to Recover an entire database at the current time and to the original host or to a different host. Select Point In Time option and specify the a specific point in time to restore the database. When you select the To Point in Time option, the backups that are required to restore the database to the indicated time are restored. |
![]() |
6. | From the Advanced Restore Options (Ctrl Files) tab, select Restore Control File to restore the control file of the target database. Select Restore Control File As and click Browse to specify the name and location of the Control File. |
![]() |
7. | From the Advanced Restore Options (Options) tab, Select Open DB to open the database after recovering the database. If required, select Reset Logs to reset the logs after opening the database. The system automatically resets the log and the databases. Click OK. |
![]() |
8. | Click OK to recover the database. |