天天看點

VEEAM9.5 Oracle 11g Windows 備份還原手冊

<b></b>

Veeam Backup Service服務

VeeamBrokerSvc 服務

Veeam Cloud Connect Service 服務

Veeam Data Mover Service服務

Veeam Guest Catalog Service服務

Veeam Installer Service服務

Veeam Mount Service服務

Veeam vPower NFS Service服務

以及SQL Server 相關服務

<a href="http://s3.51cto.com/wyfs02/M01/9B/61/wKioL1lizpmgIgpDAACfyCtgbdo004.png"></a>

Sqlplus模式下

<b>Shutdown immediate</b>

<b>Startup mount;</b>

<b>Archive log list;</b>

<a href="http://s3.51cto.com/wyfs02/M02/9B/61/wKioL1lizpmR8VpRAADtYJ3XRlU339.png"></a>

r <b>注意:預設情況下Database Log mode</b><b>為No Archive Mode</b>

<a href="http://s3.51cto.com/wyfs02/M00/9B/61/wKiom1lizprzLmp4AABuRz_5KrA196.png"></a>

<b>Show parameter db_recovery_file</b>

<a href="http://s3.51cto.com/wyfs02/M00/9B/61/wKioL1lizpvjVKSEAABiK2ok3D8008.png"></a>

<b>ALTER SYSTEM SET DB_RECOVERY_FILE_DEST_SIZE = 10G SCOPE=BOTH SID=’orac1’;</b>

#設定sales的歸檔日志檔案大小

<a href="http://s3.51cto.com/wyfs02/M00/9B/61/wKioL1lizpuzBitAAAA6KZl4Xhk698.png"></a>

<b>ALTER SYSTEM SET DB_RECOVERY_FILE_DEST = ‘C:\Oracle’ SCOPE=BOTH SID=’orac1’;</b>

#設定orac1的歸檔日志路徑

<a href="http://s3.51cto.com/wyfs02/M01/9B/61/wKioL1lizpyQnIHtAABaSvMJ9sI085.png"></a>

#顯示目前配置資訊

Notepad打開<b>C:\Windows\System32\Drivers\etc\hosts</b>

<a href="http://s3.51cto.com/wyfs02/M02/9B/61/wKiom1lizpyQH4XLAAB_cHQFBsk988.png"></a>

<a href="http://s3.51cto.com/wyfs02/M00/9B/61/wKiom1lizp2zCn1xAAEv__recuA871.png"></a>

<a href="http://s3.51cto.com/wyfs02/M02/9B/61/wKioL1lizp6gKYdqAAJyChHs5Mg182.png"></a>

<a href="http://s3.51cto.com/wyfs02/M00/9B/61/wKioL1lizp-Rw4gnAAJyChHs5Mg753.png"></a>

<a href="http://s3.51cto.com/wyfs02/M01/9B/61/wKiom1lizqGzywi8AAF06sRtmmk489.png"></a>

<a href="http://s3.51cto.com/wyfs02/M02/9B/61/wKiom1lizqGQYGcDAAC_FPvRroY352.png"></a>

<a href="http://s3.51cto.com/wyfs02/M00/9B/61/wKiom1lizqLwQvBgAAFZhZ1G8F0955.png"></a>

<a href="http://s3.51cto.com/wyfs02/M01/9B/61/wKiom1lizqODUMEfAAHdcgCImWI164.png"></a>

<a>關閉資料庫</a>

sqlplus /nolog

connect /as sysdba

shutdown immediate

<a href="http://s3.51cto.com/wyfs02/M01/9B/61/wKioL1lizqShokNEAABs7if6o7Q329.png"></a>

删除控制檔案

删除資料庫檔案

删除歸檔日志檔案

啟動資料庫失敗,提示無控制檔案,模拟故障成功。

<a href="http://s3.51cto.com/wyfs02/M02/9B/61/wKiom1lizqTAk3YHAACL6VzmqWw498.png"></a>

<a href="http://s3.51cto.com/wyfs02/M00/9B/61/wKiom1lizqWQIiD6AAAtAc2q8uU850.png"></a>

打開還原向導,選擇應用類别;

<a href="http://s3.51cto.com/wyfs02/M00/9B/61/wKiom1lizqbB8fVHAABQod_7Zhs206.png"></a>

選擇Oracle 資料庫類型;

<a href="http://s3.51cto.com/wyfs02/M01/9B/61/wKioL1lizubhzbCXAAB0rllweI4228.png"></a>

選擇要恢複的還原點;

<a href="http://s3.51cto.com/wyfs02/M02/9B/61/wKiom1lizufihCa4AAEDqXGyZvY236.png"></a>

結束還原向導;

<a href="http://s3.51cto.com/wyfs02/M02/9B/61/wKioL1lizujQrlVHAADzAp5mNQA646.png"></a>

進入Explorer for Oracle;

<a href="http://s3.51cto.com/wyfs02/M00/9B/61/wKioL1lizujgjqgxAAGSbeE6K3I459.png"></a>

選擇還原點;

<a href="http://s3.51cto.com/wyfs02/M02/9B/61/wKioL1lizuqiS0BDAAA_GxroyN4354.png"></a>

确認并執行還原;

<a href="http://s3.51cto.com/wyfs02/M00/9B/61/wKioL1lizuqClv0CAAAe9qqsy-Y215.png"></a>

開始還原;

<a href="http://s3.51cto.com/wyfs02/M01/9B/61/wKioL1lizuuxBPFDAAANuJJYA3o987.png"></a>

恢複成功。

<a href="http://s3.51cto.com/wyfs02/M01/9B/61/wKioL1lizuuBddi3AAAPIjmaA5Y179.png"></a>

<a href="http://s3.51cto.com/wyfs02/M02/9B/61/wKioL1lizuzz4kM4AADDRv42zPY436.png"></a>

還原資料庫至Cancel狀态

Sqlplus /nolog

Connect /as sysdba

Shutdown immediate;

Startup mount

RECOVER DATABASE UNTIL CANCEL USING BACKUP CONTROL FILE;

<a href="http://s3.51cto.com/wyfs02/M00/9B/61/wKiom1lizuyxf1OsAABcigqXP6Q936.png"></a>

<a>alter database open resetlogs;</a>

<a href="http://s3.51cto.com/wyfs02/M01/9B/61/wKiom1lizu3iRvq4AAAQpD6c-Ro524.png"></a>

本文轉自 川流資訊 51CTO部落格,原文連結:http://blog.51cto.com/tech4fei/1945753