1、创建表空间
create tablespace rman_tbs datafile '/u01/app/oracle/oradata/PROD1/rman_tbs01.dbf' size 200m;
2、创建用户
create user rman identified by rman default tablespace rman_tbs account unlock;
3、用户授权
grant connect,resource,recovery_catalog_owner to rman;
alter user rman quota unlimited on rman_tbs;
4、创建恢复目录
$rman catalog rman/rman@prod4
create catalog tablspace rman_tbs;
5、注册数据库
register database;