Oracle导入导出impdp,expdp

sqlplus / as sysdba
create or replace directory dmp1 as '/home/oracle';
grant read,write on directory dmp1 to public;
exit

--导出csdn用户

expdp "'/ as sysdba'" directory=dmp1 dumpfile=csdn_%U.dmp schemas=csdn logfile=csdn20200512.log parallel=4 compression=all

--还原csdn用户

impdp "'/ as sysdba'" directory=dmp1 dumpfile=csdn_%U.dmp schemas=csdn logfile=csdn20200512_res.log parallel=4

你可能感兴趣的:(Oracle)