應對 "RMAN-06023: no backup or copy of datafile 1 found to restore"錯誤
----錯誤資訊:
執行restore database 或 duplicate target database to vmdb2;
報如下錯誤:
1、$ rman target /
<wbr> <wbr> RMAN> restore database;
RMAN-03002: failure of restore command at 06/11/2005 01:19:01
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
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
----經過深入檢討,發現問題並非沒有備份,而是恢復目標路徑不存在。
----解決辦法:
----解決辦法:
1, 建立目標路徑。 mkdir -p /opt/app/oracle/oradata/VMDB2/
2,建立路徑對映,(注意:需對所有恢復的資料檔案作路徑對映檢查)
db_file_name_convert='/VMDB1','/VMDB2','/opt/app/oracle/oradata/VMDB1/','/data/VMDB2'
log_file_name_convert='/VMDB1','/VMDB2','/opt/app/oracle/oradata/VMDB1/','/data/VMDB2'
[@more@]
log_file_name_convert='/VMDB1','/VMDB2','/opt/app/oracle/oradata/VMDB1/','/data/VMDB2'
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/350519/viewspace-1054405/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RMAN-06214: Datafile Copy
- DBMS_BACKUP_RESTORE.DBMS_BACKUP_RESTORE用於特殊情況下的恢復REST
- RMAN restore fails with ORA-01180: can not create datafile 1 (文件 ID 1265151.1)RESTAI
- [20190228]Backup Restore Throttle sleep.txtREST
- db2備份恢復(backup restore)DB2REST
- 小程式錯誤:Component is not found in path
- centos 重啟掛載錯誤 failed to mount /backupCentOSAI
- PL/SQL package SYS.DBMS_BACKUP_RESTORE version 19.16.00.00 in TARGET database isSQLPackageRESTDatabase
- cdc目標端資料庫初始化(backup restore)資料庫REST
- Eclipse 啟動專案錯誤:class not foundEclipse
- bash: ssh-copy-id: command not found...
- You may fail to backup log or restore log after TDE certification/key rotation.AIREST
- shell指令碼執行錯誤 $‘\r‘:command not found指令碼
- 解決shell指令碼錯誤$’r’ command not found指令碼
- 解決 The ‘supervisor==3.2.0‘ distribution was not found and is required by the application錯誤UIAPP
- DBMS_BACKUP_RESTORE用於特殊情況下的恢復(轉)REST
- Oracle rac使用nid和dbms_backup_restore包修改dbid和dbnameOracleREST
- nacos2.3.0版本403 user not found錯誤
- PyTorch出現錯誤“RuntimeError: Found dtype Double but expected Float”PyTorchError
- PostgreSQL DBA(29) - Backup&Recovery#2(日期格式導致的錯誤)SQL
- 部署 SAP UI5 應用到 SAP BTP 時遇到的 fiori not found 錯誤訊息UI
- jsp錯誤: "javax.servlet.http.HttpServlet" was not found on the Java Build PathJSJavaServletHTTPUI
- Angular 內容投影出現 No provider for TemplateRef found 錯誤的單步除錯AngularIDE除錯
- PbootCMS錯誤提示:執行SQL發生錯誤!錯誤:no such column: def1bootSQL
- ORA-19909: datafile 1 belongs to an orphan incarnation
- Spring Boot建立DataSource時遇到的錯誤:No supported DataSource type foundSpring Boot
- 針對python錯誤 format()PythonORM
- iOS12-Xcode12-Buildtime錯誤:framework not found Pods 或 No such module 'XXX'iOSXCodeUIFramework
- flutter和Android混編下出現“No implementation found for method xxxx on channel”錯誤FlutterAndroid
- psql: 錯誤: 致命錯誤: 對使用者“postgres“的對等認證失敗SQL
- PbootCMS執行SQL發生錯誤!錯誤:no such column: def1bootSQL
- psql: 致命錯誤: 對使用者"user1"的對等認證失敗SQL
- Rust 程式設計影片教程對應講解內容-錯誤Rust程式設計
- CentOS 已安裝virtualenv, 但還是報錯誤 bash: virtualenv: command not foundCentOS
- MyBatis繫結錯誤:org.apache.ibatis.binding.BindingException:Invalid bound statement (not found)MyBatisApacheException
- 出現錯誤 Project ‘org.springframework.boot:spring-boot-starter-parent’ not foundProjectSpringFrameworkboot
- 記一次android app啟動錯誤 Error running :Default Activity not foundAndroidAPPError
- As 除錯 no target device found除錯dev
- Copy of a Copy of a Copy