RMAN-06023 no backup or copy of datafile 1 found to restore
錯誤詳情:
-
RMAN> restore database from tag="NEAL_LV0";
-
-
Starting restore at 09-MAR-16
-
using channel ORA_DISK_1
-
RMAN-00571: ===========================================================
-
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
-
RMAN-00571: ===========================================================
-
RMAN-03002: failure of restore command at 03/09/2016 10:11:53
-
RMAN-06026: some targets not found - aborting restore
-
......
-
RMAN-06023: no backup or copy of datafile 3 found to restore
-
RMAN-06023: no backup or copy of datafile 2 found to restore
- RMAN-06023: no backup or copy of datafile 1 found to restore
檢查了一下備份檔案發現都是存在的。最後發現是incarnation的問題,由於之前做了一次不完全恢復,進行了alter database open resetlogs;
-
RMAN> list incarnation;
-
-
List of Database Incarnations
-
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
-
------- ------- -------- ---------------- --- ---------- ----------
-
1 1 NEAL 4033362200 PARENT 1 24-AUG-13
-
2 2 NEAL 4033362200 PARENT 925702 06-NOV-15
-
3 3 NEAL 4033362200 PARENT 1623729 19-NOV-15
-
4 4 NEAL 4033362200 PARENT 1716084 17-NOV-15
- 5 5 NEAL 4033362200 CURRENT 7160370 09-MAR-16
將資料庫重置到上一次的incarnation,這裡即是4,然後還原資料庫,問題解決。
-
RMAN> reset database to incarnation 4;
- database reset to incarnation 4
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29812844/viewspace-2063693/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 應對 "RMAN-06023: no backup or copy of datafile 1 found to restore"錯誤REST
- RMAN-06100: no channel to restore a backup or copy of datafileREST
- rman copy asm datafile(rename asm datafile)ASM
- SQL Server Backup & RestoreSQLServerREST
- TFS Express backup and restoreExpressREST
- backup and restore tipsREST
- 冷備_並行copy datafile並行
- Cold backup and restore the entire databaseRESTDatabase
- rman restore database(spfile,controlfile, datafile)RESTDatabase
- DBMS_BACKUP_RESTORE.DBMS_BACKUP_RESTORE用於特殊情況下的恢復REST
- read only tablespace backup restoreREST
- WARNING: datafile #1 was not in online backup mode 出現的原因
- Oracle 使用RMAN COPY 移動 Datafile 位置Oracle
- 轉貼_RMAN-DBMS_BACKUP_RESTOREREST
- Oracle OCP 1Z0 053 Q505(RMAN DATAFILE BACKUP COPIES)Oracle
- How to copy a datafile from ASM to a file system not using RMANASM
- db2備份恢復(backup restore)DB2REST
- How to restore and recover a database from an RMAN backup_881395.1RESTDatabase
- Manually Backup - Restore or Clone a Database to Another Node [ID 562556.1]RESTDatabase
- Recover A Lost Datafile With No Backup (Doc ID 1060605.6)
- restore database報RMAN-06026和RMAN-06023錯誤RESTDatabase
- bash: ssh-copy-id: command not found...
- rman backup as copy database format '/tmp/%U.dbf'DatabaseORM
- 使用RMAN backup和restore方式部署物理備庫REST
- 備份恢復統計資訊 backup and restore statsREST
- 11g asm md_backup md_restoreASMREST
- RMAN restore fails with ORA-01180: can not create datafile 1 (文件 ID 1265151.1)RESTAI
- 通過dbms_backup_restore修改oracle的dbidRESTOracle
- 【ASM】ASMCMD 之md_backup,md_restore介紹ASMREST
- RMAN10g: backup copy of database (Doc ID 266980.1)Database
- cdc目標端資料庫初始化(backup restore)資料庫REST
- 使用dbms_backup_restore進行資料庫恢復REST資料庫
- ORA-19606: Cannot copy or restore to snapshot control fileREST
- You may fail to backup log or restore log after TDE certification/key rotation.AIREST
- 【MOS】How to backup or restore OLR in 11.2/12c Grid InfrastructureRESTASTStruct
- backup or restore OLR in 11.2 Grid Infrastructure (Doc ID 1193643.1)RESTASTStruct
- ORA-19550: cannot use backup/restore functions while using dispatcherRESTFunctionWhile
- RMAN : Consistent Backup, Restore and Recovery using RMAN (Doc ID 162855.1)REST