【RMAN】RMAN-20001: target database not found in recovery
一、問題現象
今天做了一套資料庫的主機及儲存遷移,做完之後,改好備份指令碼,使用NBU備份時,報出如下的錯誤:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 11/22/2017 16:27:26
RMAN-03014: implicit resync of recovery catalog failed
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20001: target database not found in recovery
二、問題解析
檢視RMAN錯誤,報錯原因是在資料庫遷移之後,新的資料庫沒有在recovery catalog中註冊。
oracle@C01TEST03:/home/oracle>oerr rman 20001
20001, 1, "target database not found in recovery catalog"
// *Cause: target database is not found in the recovery catalog
// *Action: make sure that the target database is registered in the recovery recovery catalog
三、解決方法
在資料庫所在的server上,進行資料庫註冊
C01TEST03上:
oracle@C01TEST03:/home/oracle>rman target / catalog RMAN_MTH_C01TEST03_PROD/RMAN_MTH_C01TEST03_PROD@catalog
Recovery Manager: Release 11.2.0.4.0 - Production on Tue Nov 28 10:22:01 2017
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: MTH (DBID=3150883311)
connected to recovery catalog database
RMAN>register database;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30776559/viewspace-2147848/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RMAN-20001: target database not found in recovery catalogDatabase
- RMAN-05541: no archived logs found in target databaseHiveDatabase
- RMAN-20002: target database already registered in recovery catalog 解決方法Database
- Duplicating a Database Without Recovery Catalog or Target ConnectionDatabase
- 【RMAN】RMAN-05001: auxiliary filename conflicts with the target databaseUXDatabase
- 11g rman新特性 duplicate target database for standby from active databaseDatabase
- RMAN-20005: target database name is ambiguousDatabase
- rman duplicate target database RMAN-03002 RMAN-03015 RMAN-06136Database
- “rman target /” 和 “rman nocatalog target /” 區別
- As 除錯 no target device found除錯dev
- RMAN-05517: temporary file conflicts with file used by target database(zt)Database
- "rman target /” 和"rman nocatalog target /”區別實踐
- Creation Of Rman Duplicate Without Target And Recovery Catalog Connec-1113713.1
- RMAN 11GR2 : DUPLICATE Without Target And Recovery Catalog Connection_874352.1
- Creating a Standby Database using RMAN (Recovery Manager) [ID 118409.1]Database
- rman target / debug trace
- rman: can't open target
- oracle 之recovery directory databaseOracleDatabase
- 使用oracle 11g rman新特性 duplicate target database for standby from active database 建立物理dataguard並開啟RealOracleDatabase
- RMAN的"rman: can't open target"錯誤
- RMAN duplicat databaseDatabase
- rman recover databaseDatabase
- RMAN duplicate databaseDatabase
- Hide RMAN Passwords when Connecting to a Target Database (Doc ID 183377.1)IDEDatabase
- oracle 10g rman duplicate target database for standby會自動新增臨時檔案Oracle 10gDatabase
- 對於Database recovery的理解Database
- Impact of Database Recovery and Flashback Database on the TDE Wallet_1327519.1Database
- Rman backup standby databaseDatabase
- 解決RMAN中 recovery catalog database: ORA-00955: name is already used by an existing objectDatabaseObject
- 沒有連線target database的情況下執行RMAN duplicate可能引發的問題Database
- RMAN: Tablespace Point In Time Recovery (TSPITR)
- 通過rman duplicate database!Database
- rman backup database force 功能Database
- RMAN duplicate database到新主機Database
- rman 建 Standby Database 筆記Database筆記
- RMAN CONVERT DATABASE 的限制Database
- RMAN : Consistent Backup, Restore and Recovery using RMAN (Doc ID 162855.1)REST
- Bug 13250486 : ADD STANDBY DATABASE FOR TARGET WITH FLASHBACK ON FAILS WITH ERRDatabaseAI