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

导出

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

exp hongtastock_trade_service/hongtastock_trade_service@192.168.1.22/orcl  file=D:\hongta\hongtastock_trade_service.dmp log=D:\hongta\hongtastock_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 这些系统用户之外的所有用户的数据.

posted on 2016-10-09 16:32  小人物的奋斗  阅读(4143)  评论(0编辑  收藏  举报

导航