Recovery Catalog Database Using RMAN

Share via:

In this article you will get to know the step by step installation of Recovery Catalog Database Using RMAN utility.

By default, RMAN connects to the target database in NOCATALOG mode, meaning that it uses the control files in the target database as the sole repository of RMAN metadata. Perhaps the most important decision you make when using RMAN is whether to create a recovery catalog as the RMAN repository for normal production operations. A recovery catalog is a schema created in a separate database that contains metadata obtained from the target control file.

With the use of the recovery catalog database, you can put all the backup or pieces information of the multiple databases in a single location.

Benefits of Using the Recovery Catalog as the RMAN Repository

When you use a recovery catalog, RMAN can perform a wider variety of automated backup and recovery functions than when you use the control file in the target database as the sole repository of metadata.

The following features are available only with a catalog: –

  • You can store metadata about multiple target databases in a single catalog.
  • You can store metadata about multiple incarnations of a single target database in the catalog. Hence, you can restore backups from any incarnation.
  • Re synchronizing the recovery catalog at intervals less than the CONTROL_FILE_RECORD_KEEP_TIME setting, you can keep historical metadata.
  • You can report the target database schema at a noncurrent time.
  • you can store RMAN scripts in the recovery catalog.

Steps to create a Recovery Catalog Database: –

Step 1 :

First to create a tablespace for the recovery catalog database to put the information.

Step 2:

Next step is to create a recovery catalog user and assign tablespace which we have created in the first step.

Step 3 :

Grant the recovery_catalog_owner permission to the user.

Step  4 :

Now Connect from RMAN Utility to create the catalog database.

Step 5:

Now Register the databases which will use this database as a recovery catalog.

 

Step 6 :

Configure the RMAN persistent parameters.

 

Step 7 :

Take the backup plus archive log from below command.

Command: – backup database plus archive log.

Step 8 :

Now we can check the backup information in both Catalog and Target databases.

Target databases: –

Orcl Database backup Tags: –

Catalog Database: –

Before check the pieces for the target databases, first you need to login from the catalog user and then we will check below view.

View name: – RC_BACKUP_PIECE

Command: – SELECT PIECE#,DB_ID,TAG,START_TIME,STATUS,IS_RECOVERY_DEST_FILE,COPY# from RC_BACKUP_PIECE;

Thank you for giving your valuable time to read the above information.
Follow us on 
Website  www.ktexperts.com
Facebook Page KTExperts Facebook
Linkedin Page : KT EXPERTS Linkedin

Cheers!!

Share via:
Note: Please test scripts in Non Prod before trying in Production.
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Add Comment