Database Reference
In-Depth Information
All rights reserved.
connected to target database (not started)
RMAN> Connect catalog rcat_user/rcat_user@rcat
connected to recovery catalog database
It should be noted that Oracle Cloud Control supports the creation and
management of a RMAN recovery catalog. The OCP exam will not cover
the use of Oracle Cloud Control, however, so we cover the manual methods
of creating and managing the RMAN recovery catalog in this chapter.
Registering the Target Database with the
Recovery Catalog
Once you have connected to the recovery catalog, you will have to register the database
with the REGISTER DATABASE command. To be registered, the database must be mounted
or open. In this example, you connect to the target database and the recovery catalog and
then register the database with the recovery catalog:
C:\Documents and Settings\Robert>Rman target=sys/Robert
catalog=rcat_user/rcat_user@rcat
Recovery Manager: Release 12.1.0.1.0 - Production on Tue Dec 24 15:19:07 2013
Copyright (c) 1982, 2013, Oracle and/or its affiliates.
All rights reserved.
connected to target database: ORCL (DBID=1190537904, not open)
connected to recovery catalog database
RMAN> register database;
database registered in recovery catalog
starting full resync of recovery catalog
full resync complete
Unregistering a Database
If you are preparing to remove a database, you will want to remove its metadata from the
recovery catalog. This is done with the UNREGISTER command, as shown in this example:
C:\Documents and Settings\Robert>Rman target=sys/Robert
catalog=rcat_user/rcat_user@rcat
Recovery Manager: Release 12.1.0.1.0 - Production on Tue Dec 24 15:22:07 2013
Copyright (c) 1982, 2013, Oracle and/or its affiliates.
Search WWH ::




Custom Search