创建rman恢复目录数据库

步骤:
 1.创建数据库,SID为catdb;
 2.创建表空间 rcat_ts
  create tablespace rcat_ts datafile '/dbdata/study/rcat_ts.dbf'
  size 500m autoextend on next 50m maxsize 1000m;
 3.创建用户
  create user rman identified by rman default tablespace rcat_ts quota unlimited on rcat_ts;
 4.授权
  grant unlimited on rcat_ts to rman;
  grant recovery_catalog_owner to rman;
 5.以目录所有者身份连接到恢复目录数据库并创建恢复目录
  rman catalog rman/rman@catdb;
  create catalog;
 6.连接到目标数据库并在刚新建的恢复目录数据库中注册目标数据库
  连接:rman target / catalog rman/rman@catdb
  注册:register database;
  取消注册:unregister database;

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29434903/viewspace-1165308/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29434903/viewspace-1165308/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值