Search This Blog

Tuesday, January 16, 2007

Recovery Manager Architecture

RMAN Enviourment
Recovery Manager (RMAN) is a client application that performs backup and recovery operations

Components of the RMAN Environment
1.Target database
2.RMAN client
3.Recovery catalog database
4.Recovery catalog schema
5.Standby database
6.Duplicate database
7.Media management application
8.Media management catalog
9.Enterprise Manager

Using RMAN with Command Files

E:\>c:\oracle\product\10.1.0\db_1\bin\RMAN TARGET /@db02 CATALOG=rman/cat@catdb
CMDFILE=d:\test.rcv LOG=d:\test.txt
RMAN> 2> 3> 4> 5> 6> 7>

Content of CMDFILE.

configure controlfile autobackup on;
backup database;
backup database archivelog all;

Controlling RMAN Output
We can also see job status completed and currently running.

Contents of the Recovery Catalog

1.Datafile and archived redo log backup sets and backup pieces
2.Datafile copies
3.Archived redo logs and their copies
4.Tablespaces and datafiles on the target database
5.Stored scripts, which are named user-created sequences of RMAN commands
6.Persistent RMAN configuration settings

Resynchronization of the Recovery Catalog
When Should We Resynchronize?
1.Resynchronizing When the Recovery Catalog is Unavailable
2.Resynchronizing in ARCHIVELOG Mode When You Back Up Infrequently
3.Resynchronizing After Physical Database Changes
--Adding or dropping a tablespace
--Adding a new datafile to an existing tablespace
--Adding or dropping a rollback segment

No comments: