After creating the recovery catalog the first step in using a recovery catalog with a target database is registering the database in the recovery catalog.To register database you have to follow fews steps and they are:-
1) The recovery catalog database must be open.
2) Connect RMAN to both the target database and recovery catalog database.
rman target/catalog cat_user/cat_passwd@catdb
Recovery Manager: Release 10.2.0.1.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation, All rights reserved.
connected to target database: catdb (DBID=1489461517)
connected to recovery catalog database
3) If this target database has not registered then register the target database, it should be registered in the connected recovery catalog
1) The recovery catalog database must be open.
2) Connect RMAN to both the target database and recovery catalog database.
rman target/catalog cat_user/cat_passwd@catdb
Recovery Manager: Release 10.2.0.1.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation, All rights reserved.
connected to target database: catdb (DBID=1489461517)
connected to recovery catalog database
3) If this target database has not registered then register the target database, it should be registered in the connected recovery catalog
RMAN>REGISTER DATABASE;
database registered in recovery catalog
starting full resync of recovery catalog
full resync complete.
Related Post:-
0 comments:
Post a Comment