LRM-00111 导入 Oracle 12 数据库时出错

LRM-00111 Error importing an Oracle 12 DB

我想导入 Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production hosted in a Windows Server 12 R2,但我收到了这个错误:

LRM-00111: no closing quote for value ' schemas=O' 

对于所有这些命令

impdp SOLVIA/SOLVIA900@IMMBO DIRECTORY=DB_EXP DUMPFILE=week_exp_immbo.dmp LOGFILE=week_exp_immbo.log REUSE_DATAFILES=YES exclude=tablespace:\"IN (\'IMMBO\')\" schemas=SOLVIA

impdp SOLVIA/SOLVIA900@IMMBO DIRECTORY=DB_EXP DUMPFILE=week_exp_immbo.dmp LOGFILE=week_exp_immbo.log REUSE_DATAFILES=YES exclude=tablespace:\"IN (\'IMMBO\')\" "schemas=SOLVIA"

impdp SOLVIA/SOLVIA900@IMMBO DIRECTORY=DB_EXP DUMPFILE=week_exp_immbo.dmp LOGFILE=week_exp_immbo.log REUSE_DATAFILES=YES exclude=tablespace:\"IN (\'IMMBO\')\" schemas="SOLVIA"

我建议你使用参数文件;这样做,您将避免使用转义字符。例如,我们称它为 PARAMS.PAR:

directory=db_exp 
dumpfile=week_exp_immbo.dmp 
logfile=week_exp_immbo.log 
reuse_datafiles=yes 
exclude=tablespace: "IN ('IMMBO')"
schemas=solvia

然后,使用

导入数据
impdp solvia/solvia900@immbo parfile=params.par