建立catalog 資料庫
步驟一:建立恢復目錄使用者
1、SQLPLUS下操作:
conn scott/tiger@tones as sysdba;
2、為恢復目錄單獨建立表空間
create tablespace rmandb
datafile 'e:\oracle\erp\rmandb01.dbf'
size 10m ;
3、建立恢復目錄使用者
create user rman01 identified by rman01 default tablespace rmandb;
4、為恢復目錄授予下列角色
grant connect,resource,recovery_catalog_owner to rman01;
為恢復目錄授予下列角色:
5、在DOS下操作:
rman catalog rman01/rman01@tones
--連線到恢復目錄資料庫
--未安裝恢復目錄
6、rman>create catalog tablespace rmandb;
--恢復目錄已經建立。
7、rman>exit;
8、c:\> rman catalog rman01/rman01@tones target rman_db01/rman_db01@testcata
--連線到目錄資料庫 TESTCATA
--連線到恢復目錄資料庫。
9、rman>register database;
--註冊在恢復目錄中的資料庫
--正在啟動全部恢復目錄的resync
--完成全部resync
10、rman>show all;
檢視目標資料庫的所有schema檔案
11、rman>report schema;
12、rman>list incarnation;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/16486600/viewspace-545165/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 資料庫-Duckdb-catalog和schema資料庫
- 建立資料庫資料庫
- 建立資料庫表資料庫
- Mysql建立資料庫MySql資料庫
- 【資料庫資料恢復】mdb_catalog.wt檔案丟失的MongoDB資料恢復案例資料庫資料恢復MongoDB
- XamarinSQLite教程建立資料庫aSQLite資料庫
- 建立資料mysql庫流程MySql
- 小黑框建立資料庫資料庫
- 資料庫 建立 3表資料庫
- mongodb 如何建立資料庫MongoDB資料庫
- 資料庫之建立索引資料庫索引
- oracle資料庫建立資料庫例項-九五小龐Oracle資料庫
- 2 建立和配置資料庫資料庫
- 2.8.1.4 建立資料庫服務資料庫
- 2.2.1 資料庫建立計劃資料庫
- 2.1 關於建立資料庫資料庫
- SQL建立資料庫和表SQL資料庫
- mongodb資料庫如何建立索引?MongoDB資料庫索引
- (十二)SparkSQL Catalog訪問Hive後設資料資訊SparkSQLHive
- DB2建立資料庫,建立表空間DB2資料庫
- php sqlite 建立本地資料庫PHPSQLite資料庫
- 2.5.8 指定OMF方式建立資料庫資料庫
- 2.5 指定資料庫建立語句資料庫
- 2.4.10 Step 9:手工建立資料庫資料庫
- 2.3 通過DBCA建立資料庫資料庫
- CQL #1:SQLChain 資料庫建立流程SQLAI資料庫
- ArcGIs建立企業級資料庫資料庫
- 建立一個SQL測試資料庫 - 消費者資料庫SQL資料庫
- Oracle Rman Catalog的建立方法和備份原理Oracle
- 2.5.1 關於建立資料庫的子句資料庫
- 2.3.1 有關使用DBCA建立資料庫資料庫
- 2.4.1 使用 CREATE DATABASE 子句建立資料庫Database資料庫
- 4.2.11 使用 SRVCTL 建立資料庫服務資料庫
- sql.bsq與資料庫的建立SQL資料庫
- 【AWR】Oracle資料庫建立awr基線Oracle資料庫
- MySQL建立資料庫的兩種方法MySql資料庫
- mongodb怎麼手動建立資料庫MongoDB資料庫
- PostgreSQL:資料庫的建立與刪除SQL資料庫
- Oracle各種版本下“示例資料庫的建立”的建立Oracle資料庫