Registering a Target Database

After creating a catalog, the next logical step is to register a target database. You won’t be able to back up the target with the catalog unless the target is registered. On the box that hosts the target database, invoke RMAN, connect to both the target and the catalog, and issue the register database command. In this example we are registering a target database identified as BRDSTN:

$ rman target / catalog rman_901/rman_901@rman_catalog

Recovery Manager: Release 9.0.1.0.0 - Production

connected to target database: BRDSTN (DBID=664610428)
connected to recovery catalog

RMAN> register database;

database registered in recovery catalog
starting full resync of recovery catalog
full resync complete

The catalog is now ready to store information about target database backup activities. You can view information in the catalog via various RMAN commands such as report schema; see Section 1.9 for details.

Get Oracle RMAN Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.