oracle 远程导入导出(本地win)

导出

exp hongtastock_account/hongtastock_account@192.168.1.22/orcl  file=D:hongtahongtastock_account.dmp log=D:hongtahongtastock_account.log

exp hongtastock_trade_service/hongtastock_trade_service@192.168.1.22/orcl  file=D:hongtahongtastock_trade_service.dmp log=D:hongtahongtastock_trade_service.log

远程导入

imp  sdtyzh/sdtyzh@10.1.69.99/SDTYRZ  file=E:hongtastock_account.dmp  log=E:hongtastock_account.log
fromuser=hongtastock_account touser=sdtyzh ignore=y

imp  sdjyhtyw/sdjyhtyw@10.1.69.99/SDTYRZ  file=E:hongtastock_trade_service.dmp  log=E:hongtastock_trade_service.log
fromuser=hongtastock_trade_service touser=sdjyhtyw ignore=y

imp  sdjyhtyw/sdjyhtyw@10.1.69.99/SDTYRZ  file=E:hongtastock_trade_service.dmp  log=E:hongtastock_trade_service.log
ignore=y full=y
rows:表示导出数据行
ignore=y:忽略创建表的错误
full( 全库导出): 导出除ORDSYS,MDSYS,CTXSYS,ORDPLUGINS,LBACSYS 这些系统用户之外的所有用户的数据.
原文地址:https://www.cnblogs.com/wangzhuxing/p/5942799.html