oracle数据库备份

create or replace directory dump_dir  as '/home/oracle/dmp';

 

expdp test1/test1 directory=dump_dir dumpfile=xxx.dmp tables=loan_1kw version=10.2.0.1


impdp test2/test2 directory=dump_dir  dumpfile=xxx.dmp remap_schema=test1:test2 remap_tablespace=USERS:USERS

你可能感兴趣的:(oracle数据库)