先使用SYS用户通过expdp执行一次FULL模式的导出:
$ expdp "'/ as sysdba'" FULL=yes DIRECTORY=datapump DUMPFILE=expfull.dmp LOGFILE=expfull.log JOB_NAME=expfull导入整个数据库
$ impdp "'/ as sysdba'" FULL=yes DIRECTORY=datapump DUMPFILE=expfull.dmp LOGFILE=impfull.log JOB_NAME=impfull