<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