使用nub恢復資料庫的知識擴充套件
1.NBU資料庫恢復指令碼
run {
allocate channel t1 type 'sbt_tape';
allocate channel t2 type 'sbt_tape';
allocate channel t3 type 'sbt_tape';
send 'NB_ORA_CLIENT=192.168.x.x';
send 'NB_ORA_SERV=nbu5230';
set until sequence 12 thread 1;
restore database;
#switch datafile all;
recover database;
release channel t1;
release channel t2;
release channel t3;
}
2.歸檔日誌恢復
run {
allocate channel t1 type 'sbt_tape';
allocate channel t2 type 'sbt_tape';
send 'NB_ORA_CLIENT=192.168.x.x';
send 'NB_ORA_SERV=nbu5230';
restore archivelog from sequence 8 until sequence 12 INCARNATION ALL;
release channel t1;
release channel t2;
}
3.其他恢復
更改還原路徑:
RMAN> set archivelog destination to '/u01/backup';
還原全部備份歸檔:
RMAN> restore archivelog all;
歸檔日誌範圍恢復:
RMAN> restore archivelog from sequence 8 until sequence 12;
RMAN> restore archivelog sequence between 8 and 12;
從低sequence開始恢復:
RMAN> restore archivelog from sequence 5;
RMAN> restore archivelog low sequence 5;
從高sequnece截止恢復:
RMAN> restore archivelog until sequence 110;
RMAN> restore archivelog high sequence 108;
按時間恢復:
RMAN> restore archivelog from time 'sysdate-7';
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31547066/viewspace-2285674/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 擴充套件知識套件
- 知識庫(2)-使用Windows OpenGL擴充套件機制來訪問OpenGL擴充套件 (轉)Windows套件
- 學習這篇Oracle資料庫檔案壞塊損壞的恢復方法,擴充你的知識面Oracle資料庫
- php mysqli擴充套件庫的使用PHPMySql套件
- 機器學習面試基礎知識 & 擴充套件-01機器學習面試套件
- PHP的SPL擴充套件庫(一)資料結構PHP套件資料結構
- etcd管理,證書配置,擴充套件,遷移恢復,帶證書擴充套件節點套件
- 計算機基礎知識擴充套件篇計算機套件
- 使用恢復建議恢復資料庫資料庫
- GBASE觀察:擴充套件分析型資料庫套件資料庫
- 大資料——Scala擴充套件大資料套件
- 資料塊、資料擴充套件、段套件
- 擴充套件認知的視野套件
- 可動態擴充套件的資料庫模型設計套件資料庫模型
- MySQL資料庫對GROUP BY子句的功能擴充套件(2)MySql資料庫套件
- MySQL資料庫對GROUP BY子句的功能擴充套件(1)MySql資料庫套件
- 例項恢復擴充套件案例-手工產生髒塊套件
- DLR 的擴充套件庫 Dynamitey套件MIT
- sql教程中一些知識的實際擴充套件SQL套件
- SQL Server資料庫檔案不滿足擴充套件條件時不再自動擴充套件SQLServer資料庫套件
- 資料檢索擴充套件包套件
- 擴充套件資料檔案大小套件
- 讓前端也能填充資料庫的 Reach Seeder 擴充套件前端資料庫套件
- 可擴充套件的資料庫系統,請求批評套件資料庫
- SpringCloudGateway資料庫儲存路由資訊的擴充套件方案SpringGCCloudGateway資料庫路由套件
- PostgreSQL在雲端:部署、管理和擴充套件你的資料庫SQL套件資料庫
- 在 GitLab 我們是如何擴充套件資料庫的Gitlab套件資料庫
- ASP.NET Core擴充套件庫之Http通用擴充套件ASP.NET套件HTTP
- 【資料庫資料恢復】SAP資料庫資料恢復案例資料庫資料恢復
- 儲存器資料恢復相關知識資料恢復
- 【資料庫資料恢復】透過恢復NDF檔案修復資料庫的資料恢復過程資料庫資料恢復
- Lvm邏輯卷管理、建立、使用、擴充套件、縮減、遷移、快照、恢復LVM套件
- [譯] 論資料流的擴充套件性套件
- ehcarts擴充套件優秀的資料表套件
- 寶塔資料庫恢復 mysql資料庫丟失恢復 mysql資料庫刪除庫恢復 寶塔mysql資料庫恢復資料庫MySql
- 【資料庫資料恢復】如何恢復Oracle資料庫truncate表的資料資料庫資料恢復Oracle
- 【資料庫資料恢復】windows server下SqlServer資料庫的資料恢復資料庫資料恢復WindowsServerSQL
- 資料庫擴充套件表設計過程記錄資料庫套件