当前位置:数据库 > Oracle >>

Oracle DB在恢复目录中注册数据库

Oracle DB在恢复目录中注册数据库
 
将在刚才创建的恢复目录中注册 test0924 数据库。 
1) 确定 test0924 数据库环境。 
[oracle@rtest ~]$ export 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 2013

Copyright (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 database

RMAN> 

3) 在恢复目录中注册数据库。 

RMAN> register database; 

database registered in recovery catalog
starting full resync of recovery catalog
full resync complete

RMAN> exit


Recovery Manager complete.
[oracle@rtest ~]$ 

 


Oracle
MySQL
Access
SQLServer
DB2
Excel
SQLite
SYBASE
Postgres
如果你遇到数据库难题:
请访问www.zzzyk.com 试试
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,