oracle 9I 資料庫異機恢復( Catalog 庫 )
1 , 透過 rman 進行 open resetlogs 後,catalogs 中的資料庫資訊更新為新伺服器中恢復出來的資料庫資訊。這時透過 rman 所做的備份,都是針對新恢復出的資料庫。
RMAN> alter database open resetlogs;
資料庫已開啟
在恢復目錄中註冊的資料庫的新實體化
正在啟動全部恢復目錄的 resync
完成全部 resync
在恢復目錄中註冊的資料庫的新實體化
正在啟動全部恢復目錄的 resync
完成全部 resync
2 , 透過 sqlplus 進行 open resetlogs 時,因不做 resync ,rman catalog 中的資訊還是原資料庫的,這時透過 rman 所做的備份,還是針對原資料庫的。
參考:
rman unregister database :
1 , % rman TARGET SYS/change_on_install@prod1 CATALOG rman/rman@rcat connected to target database: RDBMS (DBID=1237603294) connected to recovery catalog database 2 , LIST BACKUP SUMMARY;
3 , Run DELETE
statements to delete all existing physical backups
DELETE BACKUP DEVICE TYPE sbt; DELETE BACKUP DEVICE TYPE DISK;
4 , % sqlplus rman/rman@rcat SQL> SELECT DB_KEY, DB_ID FROM DB WHERE DB_ID = 1237603294;
5 , While still connected to the recovery catalog, enter the following,
whereDB_KEY
andDB_ID
are the corresponding columns from the row you got from the query in step 4:
SQL> EXECUTE dbms_rcvcat.unregisterdatabase(db_key, db_id)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/66634/viewspace-999500/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle異地資料庫恢復Oracle資料庫
- 資料庫異機冷備恢復資料庫
- 【備份恢復】RMAN catalog 恢復目錄資料庫資料庫
- RMAN Catalog環境下異機全庫恢復例項
- Oracle資料庫冷備份的異地恢復Oracle資料庫
- 【資料庫資料恢復】如何恢復Oracle資料庫truncate表的資料資料庫資料恢復Oracle
- Windows系統崩潰後恢復Oracle 9i資料庫WindowsOracle資料庫
- 【資料庫資料恢復】Oracle資料庫誤truncate table的資料恢復案例資料庫資料恢復Oracle
- 【資料庫資料恢復】oracle資料庫誤truncate table怎麼恢復資料?資料庫資料恢復Oracle
- 【資料庫資料恢復】誤truncate table的Oracle資料庫資料恢復方案資料庫資料恢復Oracle
- 【北亞資料恢復】異常斷電導致Oracle資料庫報錯的oracle資料恢復資料恢復Oracle資料庫
- oracle 資料庫全庫恢復實驗Oracle資料庫
- 寶塔資料庫恢復 mysql資料庫丟失恢復 mysql資料庫刪除庫恢復 寶塔mysql資料庫恢復資料庫MySql
- RAC資料庫的RMAN備份異機恢復到單節點資料庫資料庫
- 【資料庫資料恢復】Oracle資料庫ASM磁碟組掉線如何恢復資料?資料庫資料恢復OracleASM
- 【資料庫資料恢復】mdb_catalog.wt檔案丟失的MongoDB資料恢復案例資料庫資料恢復MongoDB
- Oracle資料庫終極恢復Oracle資料庫
- nbu恢復oracle資料庫案例Oracle資料庫
- oracle之rman恢復資料庫Oracle資料庫
- ORACLE資料庫恢復技術Oracle資料庫
- 【資料庫資料恢復】SAP資料庫資料恢復案例資料庫資料恢復
- 【資料庫資料恢復】ASM磁碟組掉線的Oracle資料庫資料恢復案例資料庫資料恢復ASMOracle
- 資料庫備份與異機恢復——熱備份方式資料庫
- 資料庫異機恢復開啟報錯ORA-36961資料庫
- ORACLE中採用rman備份異機恢復資料庫詳細過程Oracle資料庫
- 【資料庫資料恢復】Sql Server資料庫資料恢復案例資料庫資料恢復SQLServer
- 資料庫資料恢復-oracle資料庫報錯無法開啟的如何恢復資料?資料庫資料恢復Oracle
- 【資料庫資料恢復】ASM例項不能掛載的Oracle資料庫資料恢復案例資料庫資料恢復ASMOracle
- 恢復資料庫資料庫
- oracle 異機恢復Oracle
- 恢復目錄資料庫(Recovery Catalog)作用及演示例項資料庫
- 中小型資料庫 RMAN CATALOG 備份恢復方案(二)資料庫
- 中小型資料庫 RMAN CATALOG 備份恢復方案(一)資料庫
- catalog損壞情況下的資料庫恢復例項資料庫
- Oracle資料庫恢復之resetlogsOracle資料庫
- Oracle資料庫冷備和恢復Oracle資料庫
- Oracle & MySQL & PostgreSQL資料庫恢復支援OracleMySql資料庫
- oracle資料庫不完全恢復Oracle資料庫