创建目录
sql>create directory dpdata1 as 'd:\test\dump'; 赋予权限
sql>grant read, write on directory dpdata to sccott;导出整个数据库
sql>host expdp DIRECTORY=dpdata1 DUMPFILE=full.dmp  FULL=Y;补上用户/密码/实例/身份
username: system@orcl as sysdba
password: manager不知怎么的, 会出以下错误:
With the Partitioning, OLAP and Data Mining options
ORA-39002: invalid operation
ORA-39135: SYS schema cannot read data using specific SCNs请教如何解决?

解决方案 »

  1.   

    expdp不能用sys用户导出的,虽然你指定了system用户,但是因为你加了 as sysdba,所以变成sys用户了,输入用户名时去掉as sysdba就可以了。
    或者直接写:
    expdp system/pw@orcl directory=dpdata1 dumpfile=full.dmp full=y
      

  2.   

    唉,碰到同样问题,怎么才能搞好啊
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-39145: directory object parameter must be specified and non-null莫非是有些地方没配置好?