Yes Schedule a Schema level Export backup of the RMAN Catalog Database in Task Scheduler or CRON
Exporting the Recovery Catalog
This example uses the Original Export utility described in Oracle Database Utilities to create a logical export of the recovery catalog. Refer to Oracle Database Utilities for concepts and procedures relating to the Data Pump Export utility.
The following procedure creates a logical export of the recovery catalog.
- Execute the Oracle export utility at the operating system command line making sure to do the following:
- Connect as the owner of the recovery catalog
- Specify the OWNER option
- Specify an output file
For example if the owner of the catalog in database catdb is rman you can issue the following at the UNIX command line to export the catalog to file cat.dmp:
exp rman/cat@catdb FILE cat.dmp OWNER rman
- Examine the output to make sure you were successful:
- Export terminated successfully without warnings.
Importing the Recovery Catalog
This example uses the Original Import utility described in Oracle Database Utilities to create a logical export of the recovery catalog. Refer to Oracle Database Utilities for concepts and procedures relating to the Data Pump Import utility.
To make a logical import of the recovery catalog from the command line:
1. Create a new user in another database.
2. Import the catalog data from the export file. Execute the import at the command line making sure to do the following:
- Connect as the new owner of the recovery catalog.
- Specify the old owner with the FROMUSER parameter.
- Specify the new owner with the TOUSER parameter.
- Specify the import file.
For example assume the following:
- The old owner of the catalog in database prod1 is rman.
- The user in the new recovery catalog database catdb2 is rman2.
- The file containing the export of the catalog is cat.dmp.
The command is then as follows:
imp USERID rman2/cat2@catdb2 FILE cat.dmp FROMUSER rman TOUSER rman2
Method 2:
When backing up the recovery catalog database you can use RMAN to make the backups. you should start RMAN with the NOCATALOG option so that the repository for the recovery catalog is the control file in the catalog database.
Follow these guidelines when developing an RMAN backup strategy for the recovery catalog database:
- Run the recovery catalog database in ARCHIVELOG mode so that you can do point-in-time recovery if needed.
- Set the retention policy to a REDUNDANCY value greater than 1.
- Back up the database onto two separate media (for example disk and tape).
- Run BACKUP DATABASE PLUS ARCHIVELOG at regular intervals to a media manager if available or just to disk.
- Do not use another recovery catalog as the repository for the backups.
- Configure the control file autobackup feature to ON.