1、导出
set PATH=D:\Oracle11g\product\11.2.0\dbhome_1\BIN;%PATH% expdp USERID/PWD schemas=XXX VERSION=10.2 DIRECTORY=data_pump_dir DUMPFILE=XXX.dmp LOGFILE=exp.log pause
2、导入
set PATH=D:\Oracle11g\product\11.2.0\dbhome_1\BIN;%PATH% impdp USERID/PWD schemas=XXX DIRECTORY=data_pump_dir DUMPFILE=XXX.dmp LOGFILE=imp.log pause