Oracle® Database Recovery Manager Reference 10g Release 1 (10.1) Part Number B10770-02 |
|
|
View PDF |
register::=
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.
See Also:
BRADV015Oracle Database Backup and Recovery Advanced User's Guide, and "CREATE CATALOG" |
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 change the DBID of the copied database with the standalone DBNEWID utility.
Note: If you are using RMAN with different target databases that have the same database name and DBID, be careful to always specify the correct recovery catalog schema when invoking RMAN. |
See Also:
Oracle Database Utilities, to learn how to use the DBNEWID utility |
The following commands register a new target database, catalogs an existing datafile copy, then opens the database for use:
% rman TARGET / CATALOG rman/rman@catdb RMAN> STARTUP FORCE MOUNT; RMAN> REGISTER DATABASE; RMAN> CATALOG DATAFILECOPY '?/oradata/system01.cpy'; RMAN> ALTER DATABASE OPEN;