導出命令格式如下:
切換為oracle用戶
exp user/pwd@SID file=path/sth.dmp
其中:user/pwd是你要導出的表空間的oracle用戶的用戶名與密碼豺总;SID為oracle啟動實例,一般為orcl虚倒。path是你導出的路徑尖飞;請注意最后面的sth.dmp不能少蒜危。
導入dmp文件-在oracle用戶下:兩種方法
[oracle@system ~] imp user/passwd fileName=filePath full=y(full 不能少)
或者
[oracle@system ~] imp AUser/APwd@orcl file=filePath/cbank.dmp fromuser=B touser=A
先保存下來旅赢,留作后用吴汪。