SQL>create tablespace rman_catalog datafile size 200M //为恢复目录创建表空间
SQL>create user rman_mgr identified by rman_mgr default tablespace rman_catalog //创建恢复目录的用户
SQL>grant connect,resource,recovery_catalog_owner to rman_mgr //为用户授权
RMAN>rman catalog rman_mgr/rman_mgr@smart4a //RMAN登陆到目录数据库
rman> create catalog tablespace rman_catalog //创建恢复目录表空间
恢复目录已创建.
SQL> rman catalog rman_mgr/rman_mgr@smart4a24
恢复管理器: Release 10.2.0.1.0 - Production on 星期三 6月 23 13:28:09 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
连接到恢复目录数据库
RMAN> create catalog table rman_catalog
D:\>rman target sys/oracle@smart4a249 catalog rman_mgr/rman_mgr@smart4a249
恢复管理器: Release 10.2.0.1.0 - Production on 星期三 6月 23 13:31:56 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
连接到目标数据库: SMART4A (DBID=2852597126)
连接到恢复目录数据库
RMAN> register database;
注册在恢复目录中的数据库
正在启动全部恢复目录的 resync
完成全部 resync
RMAN>
| 广告合作:400-664-0084 全国热线:400-664-0084 Copyright 2010 - 2017 www.my8848.com 珠峰网 粤ICP备15066211号 珠峰网 版权所有 All Rights Reserved
|