oracle 数据导入导出

I am the new of Oracle , and that i need to learn more about it . But as you know , here is the company , not the school , you just stady by yourself , and no one can help you a lots .

So that , for the work , i need to learn how to backup our databases .

Do it like that ,you want to backup all of the database files, you can do it like that :

expdp username/password schemas=XXX dumpfile=xxx.dump directory=exp_dir 

If you want to backup one time data and one table , you can add the condition to the order, for example:

expdp username/password dumpfil=XXX directory=exp_dir tables=table01 query=\""where time\<to_char\(\"2014\-10\-01\" , "yyyy\-MM\-dd"\)\""


Imput the data to the database ,


impdp username/password schemas=XXX directory=exp_dir dumpfile=XXX.dump logfile=XXX.log

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。