Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
--------------------------------------------------------------------------------
Goal
To Perform Block Media Recovery (BMR) when there are OS-backups available, but NO
RMAN backups.
Consider that a block corruption is reported in the database and the corruption is
not wide spread.
Since RMAN is not used in the database the initial solution would be to restore the
file from backup and then recover. But this method will require the file should be
offline during the entire process. On the other hand if BMR can be used, the file
does not need to be taken offline.
This document describes to how to use the OS backup via RMAN and then to perform
the BMR.
Solution
-----------
The backups can be cataloged with RMAN and then BMR can be performed.
Step 1 : Identify the backup of the datafilefile which has the corrupted block(s)
and catalog it within RMAN.
$ export ORACLE_SID=orcl
$ RMAN target=/
RMAN> catalog datafilecopy �/u01/backup/users01.dbf�;
Having datafile(s) and all required archivelogs cataloged, we can run BMR
as follows.
NOTE.283053.1 How To Use RMAN To Check For Logical & Physical Database
NOTE.472231.1 How to Find All the Corrupted Objects in Your Database.
Note.144911.1 RMAN 9i Block-Level Media Recovery - Concept & Example
5. If not using RMAN we can still run Block-Level Media Recovery please see note :
Article-ID: Note 342972.1 Title: HOW TO PERFORM BLOCK MEDIA RECOVERY (BMR) WHEN
BACKUPS ARE NOT TAKEN
BY RMAN.