⑴ 請問oracle 12c 該怎麼備份資料庫
從oracle 12c 備份(expdp)出來的包,還原到11g里,想想都知道會有兼容性問題。
果不其然,報錯了:
ORA-39142: 版本號 4.1 (在轉儲文件 「叉叉叉.expdp」 中) 不 兼容
之類
後來才知道,在12C中備份出來時,應指定版本信息,例如我要導進11g的庫(具體版本為11.1.0.6.0,打開sqlplus就能看到),則version=11.1.0.6.0
語句:
在12C備份
<code class="hljs livecodeserver">expdp system/password@SID12c directory=dbbak mpfile=20160321.expdp logfile=20160321.log schemas=leftfist version=11.1.0.6.0</code>
在11g中還原
<code class="hljs livecodeserver"><code class="hljs livecodeserver">impdp s
⑵ oracle 12C版本用數據泵導出的數據,要導入到11g版本中,應該怎麼進行,不太會用數據泵,求救!!!
在導出時加上要導入的資料庫版本 如:
version=11.2.0.3.0