DATA_PUMP_DIR impdp 指定导出目录

1.mkdir /tdms1/oracle/dump

 

2.sqlplus / as sysdba

 

3.create directory udir as '/tdms1/oracle/dump';

 

4.grant write ,read on directory udir to scott;

 

5.exit

 

6.select * from dba_directories t;

 

1    SYS    ORACLE_OCM_CONFIG_DIR    /app/oracle/product/11.2.0/db_1/ccr/state
2    SYS    DATA_PUMP_DIR    /app/oracle/admin/TDMS/dpdump/
3    SYS    UDIR    /tdms1/oracle/dump
4    SYS    XMLDIR    /ade/b/2125410156/oracle/rdbms/xml

 

7.expdp test/test@TDMS directory=UDIR  dumpfile=tdms_20141212pm1700.dmp version=11.2.0.1.0

 

http://mofeichen.iteye.com/blog/2165917

 

posted @ 2017-06-21 09:36  规格严格-功夫到家  阅读(4231)  评论(0编辑  收藏  举报