Oracle DB在恢复目录中注册数据库
将在刚才创建的恢复目录中注册 test0924 数据库。
1) 确定 test0924 数据库环境。
[oracle@rtest ~]$ expooracle账号rt ORACLE_SID=test0924
2) 使用 RMAN 连接到目标数据库(要注册的数据库)和恢复目录数据库。
[oracle@rtest ~]$ rman target / catalog rcatowner@rcat1028 Recovery Manager: Release 11.2.0.3.0 - Production on Mon Oct 28 16:13:52 2013Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.connected to target database: TEST0924 (DBID=2720875862)recovery catalog database Password: ****** connected to recovery catalog databaseRMAN> 3) 在恢复目录中注册数据库。 RMAN> register database; database registered in recovery catalogstarting full resync of recovery catalogfull resync completeRMAN> exitRecovery Manager complete.[oracle@rtest ~]$