论坛首页 综合技术论坛

Oracle 学习笔记: setup recovery catalog

浏览 1558 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2009-03-18   最后修改:2009-06-18

1. Create the database "catadb" which is to be used as the recovery catalog. This catalog can serve more than one databases.

 

2. Create tablespace "rman_ts" on database "catadb".

 

3. Create the user "rman_user" who owns the catalog data, with its default tablespace set to "rman_ts". And then grant the "recovery_catalog_owner" role it.

SQL> create user rman_user identified by password default tablespace rman_ts quota unlimited on rman_ts;
SQL> grant recovery_catalog_owner to rman_user;

 

4. Create catalog in RMAN

C:\>rman catalog rman/rman@catadb
RMAN> create catalog;

 

5. Connect to the target database and register it in the newly created catalog.

C:\>rman target sys/password@targetdb catalog rman_user/password@catadb
RMAN> register database;
论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics