You can use BR*Tools for Oracle to perform a tablespace point-in-time (PIT) recovery. BRRECOVER performs the recovery.
This section discusses how to perform a tablespace PIT recovery.
For more information on how to approach a tablespace PIT recovery, see Tablespace Point-in-Time Recovery.
Tablespace PIT recovery is especially useful for Multiple Components in One Database (MCOD). It allows you to restore the tablespaces for a single component – for example, if a component upgrade has failed – without affecting the other components in the same database.
· Make sure you have set the necessary BRRECOVER parameters in the initialization profile init<DBSID>.sap, because BRTOOLS uses these when it calls BRRECOVER.
· BRRECOVER calls BRRESTORE as necessary to perform restore functions.
· BRRECOVER calls SQLPLUS as necessary to apply offline redo log files.
· BRRECOVER calls the Oracle EXP and IMP tools to export and import the tablespaces that are not to be recovered.
· To start this procedure, you must be able to open the database.
· BRRECOVER opens the database in RESTRICT mode – that is, only the database administrator (DBA) can access the database. For SAP systems, including all other components installed in the same database, the database is unavailable.
· BRRECOVER always recovers the SYSTEM and UNDO tablespaces in addition to the tablespaces that you select.
1. You start BRGUI or BRTOOLS.
2. You choose Restore and recovery ® Tablespace point-in-time recovery.
You can do one of the following:
Ў Set the command line now and run the recovery in unattended mode
Ў Wait for BRRECOVER to prompt you during the recovery, that is, run the recovery in attended mode
We recommend you to normally run the recovery in attended mode.
3. If you want to run the recovery in unattended mode, you select force in Confirmation mode (confirm).
4. To start the recovery, you choose Continue.
BRRECOVER starts the recovery. You perform the following steps with BRRECOVER.
If you are running in attended mode, BRRECOVER guides you through the recovery, prompting you as necessary.
6. You select database backups.
9. You restore the data files.
10. If required, you restore and apply an incremental backup.
13. You check the results in the BRRECOVER and BRRESTORE logs:
§ The summary log recov<DBSID>.logdisplays the return code.
§ The detail log v<encoded timestamp>.tpt displays the progress.
Ў BRRESTORE logs for the restore functions:
§ The summary log rest<DBSID>.logdisplays the return code
§ The detail log r<encoded timestamp>.<ext> displays the progress.
For more information on how to view the logs, see Showing Logs with BR*Tools.