expdp system/oracle directory=datadump dumpfile=fumao_zh.dmp logfile=fumao_zh.log schemas=fumao_zh
SQL> create directory datadump as '/home/oracle/088';
SQL> grant read,write on directory datadump to system;
可能會報錯:
ORA-39006: internal error
ORA-39213: Metadata processing is no
可以用命令試一試如下:
1.select * from dba_objects where object_name='DBMS_DATAPUMP';
沒有內容就執行以下包
2.exec sys.dbms_metadata_util.load_stylesheets
還有一種可能,就是恢復目標表空間不夠大。大於原空間大小試試。