使用CATALOG

1.  create tablespace tbs_rman datafile '/u01/oracledata/clonedb/tbs_rman.dbf' size 300M

2. create user rmanuser identified by rman default tablespace tbs_rman temporary tablepace temp

3.alter user quota unlimited on tbs_rman

4.conn rmanuser/rman

5.select * from session_proiv(查看用户的权限)

6.grant recover_catalog_owner to rmanuser

7.rman catalog rmanuser/rman

8.create catalog on tbs_rman

9.connect target sys/oracle@clonedb(一定要用sys用户登录)

10.register database;

11.进行rman备份

你可能感兴趣的:(oracle)