手把手教你创建RMAN CATAGORY

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

第一步:创建RMAN CATAGORY储存信息的表空间,和治理Catagory的用户

sqlplus /nolog

conn / as sysdba

create tablespace rman_ts datafile 'd:Oracleordataorcl man_ts.dbf' size 10M extend management local uniform size 128K;

create user rman01 identified by rman01 default tablespace rman_ts quota unlimited on rman_ts;

第二步:授予用户rman01治理catagory和相关的权限

grant recover_catagory_owner to rman01;

grant connect, resource to rman01;

第三步,登陆rman

c:>rman catagory rman01/rman01 log=catalog.log

第四步:创建rman catagory

rman>create catalog tablespace rman_ts;

rman>exit;

第五步:登陆catagory,第一次连接目标数据库(必须用sysdba)并注册,以后直接连接,本地的数据库第一次也要注册,以后假如有变化只要同步即可。

c:>rman target sys/oracle@orcl catalog rman01/rman01

rman>register database;

至此,已经成功创建了rman catagory,并且注册了一个目标数据库。

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航