PS D:\app\FJC\admin\orcl\dpdump> impdp MMSMGR/MMSMGR@orcl remap_schema=MMSMGR:MMSMGR directory=DATA_PUMP_DIR dumpfile=database.dmp TABLE_EXISTS_ACTION=REPLACE full=y
Import: Release 11.2.0.1.0 - Production on 星期三 7月 8 19:04:59 2020
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
連接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39001: 引數值無效
ORA-39000: 轉儲檔案說明錯誤
ORA-39143: 轉儲檔案 "D:\app\FJC/admin/orcl/dpdump/database.dmp" 可能是原始的匯出轉儲檔案
使用ipm:
PS D:\app\FJC\admin\orcl\dpdump> imp MMSMGR/MMSMGR@orcl directory=DATA_PUMP_DIR file=D:\app\FJC\admin\orcl\dpdump\database.dmp TABLE_EXISTS_ACTION=REPLACE full=y
LRM-00101: 未知的引數名 'directory'
IMP-00022: 處理引數失敗, 請鍵入 'IMP HELP=Y' 獲取幫助資訊
IMP-00000: 未成功終止匯入
大佬求解!!!!!!
uj5u.com熱心網友回復:
你的目錄有問題,你查查你目錄DATA_PUMP_DIR的值指向哪個路徑?select * from dba_directories;
uj5u.com熱心網友回復:
兩個建議:1、最好弄清楚這個檔案的來源是 exp 還是 expdp .
2、如果是 exp 匯出,樓主先查閱一下 imp 的語法規則
示例:
imp system/oracle file=c:\xxx.dmp fromuser=source_user_name touser=target_user_name log=c:\xxx.log
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/8462.html
標籤:基礎和管理
