BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理
          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;
          主站蜘蛛池模板: 冷水江市| 新邵县| 湘阴县| 武乡县| 北宁市| 普洱| 武鸣县| 微博| 比如县| 赞皇县| 乐昌市| 张家港市| 东港市| 闽侯县| 湘乡市| 云浮市| 罗甸县| 徐汇区| 萝北县| 邢台市| 隆子县| 县级市| 阿瓦提县| 子长县| 鱼台县| 阜平县| 中山市| 连平县| 运城市| 西昌市| 冀州市| 衡阳市| 布尔津县| 吴川市| 中宁县| 山东省| 普宁市| 临高县| 岑巩县| 雷波县| 龙陵县|