Oracle9i Recovery Manager Reference Release 1 (9.0.1) Part Number A90136-02 |
|
RMAN Commands , 40 of 60
To register the target database in the recovery catalog so that RMAN can access it. RMAN obtains all information it needs to register the target database from the target database itself.
REGISTER
DATABASE
command fails when RMAN detects duplicate DBIDs. This situation can arise when databases are created by copying files from an existing database rather than by using the DUPLICATE
command.
If this failure occurs, then you can create a second recovery catalog in the same database but in another user's schema by executing CREATE
CATALOG
and using a different user ID. Then, register the database with the duplicate database identifier into the newly created recovery catalog in the new schema.
This example registers a new target database, catalogs an existing datafile copy, then opens the database for use:
% rman TARGET / CATALOG rman/rman@rcat STARTUP MOUNT; REGISTER DATABASE; CATALOG DATAFILECOPY '/oracle/dbs/tbs_11.f'; ALTER DATABASE OPEN;
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|