oracleDatabase Backup、還原 (如何將Oracle 11g備份的dat檔案匯入到10g資料庫裡面)

來源:互聯網
上載者:User

標籤:

如何將Oracle 11g備份的dat檔案匯入到10g資料庫裡面解決方案:     匯出的時候後面加上目標資料庫的版本號碼  匯出:在SQL plus下執行:create or replace directory file_path as ‘E:\‘;--建立匯出\匯入檔案存放路徑(我的是放在E盤)

在cmd裡面執行:expdp 使用者名稱/密碼@服務命名  directory=file_path dumpfile=匯出資料庫檔案名.dat  schemas=使用者名稱 logfile=baklog.log  version=10.2.0.1.0(版本號碼只有將Oracle 11g備份的dat檔案匯入到10g資料庫裡面的時候使用)
匯入:
 
create or replace directory file_path as ‘要匯入的備份檔案路徑‘;(如果之前做過匯出就不需要再次執行,只需要把檔案放到到處的目錄裡面)

impdp 使用者名稱/密碼@服務命名 directory=file_path dumpfile=匯入的資料庫名.DAT remap_schema=資料庫檔案匯出使用者名稱:要匯入目標資料表空間的使用者名稱    table_exists_action=replace   logfile=20150920impdp.log  version=10.2.0.1.0(版本號碼只有將Oracle 11g備份的dat檔案匯入到10g資料庫裡面的時候使用) oracle 10g 版本號碼(可以試著使用):        TEXPORT:V10.02.00       version=10.2.0.1.0
也可以自己查看一下版本號碼: select * from v$version

oracleDatabase Backup、還原 (如何將Oracle 11g備份的dat檔案匯入到10g資料庫裡面)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.