| Home | Downloads | Contact Us |
![]() |
![]() |
| Home >> Resources >> Oracle >> Oracle9i Recovery Manager Reference Release 2 (9.2) |
RMAN Commands , 40 of 59

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:
Oracle9i Recovery Manager 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:
Oracle9i Database Utilities, to learn how to use the DBNEWID utility |
The following shell script registers a new target database, catalogs an existing datafile copy, then opens the database for use:
rman TARGET / CATALOG rman/rman@catdb <<EOF STARTUP FORCE MOUNT; REGISTER DATABASE; CATALOG DATAFILECOPY '?/oradata/system01.cpy'; ALTER DATABASE OPEN; EXIT; EOF
|
![]() Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |