oracle backup & recovery測試
今天在hp的dp上,做了一次資料庫的備份和恢復測試,大概的思路是這樣的:
1.備份策略:
資料庫全備份 backup database
資料庫歸檔日誌備份 backup archivelog
2.恢復策略
a) 基於表空間的恢復
shutdown immeidate;
mv data.dbf data.dbf.bak
startup mount
alter database open -> can't open db,because data.dbf not exist.
use hp dp to restore tablespace data.
alter database open -> testing successfully.
b) 資料庫完全恢復
shutdown immeidate;
dd if=/dev/rlvdata66 of=/dev/rlvdata01 bs=8192k
startup mount
alter database open->can't open db, because rlvdata01 not exist.
use hp dp to restore database , recover database.
alter database open -> testing successfully.
c)資料庫不完全恢復(基於時間點的恢復)
shutdown immediate;
drop table test
startup mount
use hp dp to restore database to xxxx(time)
alter database open resetlogs.
check select count(*) from test -> testing successfully.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9252210/viewspace-604370/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle Backup and Recovery FAQOracle
- [WK-T]ORACLE RAC +ASM Backup and Recovery(四)OracleASM
- [WK-T]ORACLE RAC +ASM Backup and Recovery(三)OracleASM
- oracle database backup and recovery user's guide part IVOracleDatabaseGUIIDE
- oracle database backup and recovery user's guide part IIIOracleDatabaseGUIIDE
- oracle scn與備份恢復backup recovery(一)Oracle
- oracle database backup and recovery user's guide part VII & VIIIOracleDatabaseGUIIDE
- oracle database backup and recovery user's guide part V & VIOracleDatabaseGUIIDE
- oracle database backup and recovery user's guide part I & IIOracleDatabaseGUIIDE
- oracle12c Performing Backup and Recovery文件筆記OracleORM筆記
- oracle10g_rman_backup recovery area_相關備紀Oracle
- 第二章(backup and recovery 筆記)筆記
- 第五章(backup and recovery 筆記)筆記
- rman backup ENCRYPTION(備份加密特性)測試!加密
- Oracle OCP 1Z0 053 Q613(automatic management of backup and recovery)Oracle
- PostgreSQL DBA(28) - Backup&Recovery#1(基本操作)SQL
- Backup and Recovery Scenarios (Doc ID 94114.1)iOS
- 第一章(backup and recovery 筆記)筆記
- 第三章(backup and recovery 筆記)筆記
- 第四章(backup and recovery 筆記)筆記
- 第六章(backup and recovery 筆記)筆記
- PostgreSQL DBA(31) - Backup&Recovery#4(搭建流複製)SQL
- Backup And Recovery User's Guide-RMAN TSPITR模型GUIIDE模型
- Oracle Secure BackupOracle
- 測試oracle sqlldrOracleSQL
- ORACLE 測試題:Oracle
- 【Oracle】-Difference between Instance recovery and Crash RecoveryOracle
- rman B14192B_backup and recovery basics筆記筆記
- Common Causes and Solutions on ORA-376 Error Found in Backup & RecoveryError
- Backup And Recovery User's Guide-介質恢復問題解決-執行試驗恢復GUIIDE
- ORACLE壓力測試Oracle
- Oracle TDE加密測試Oracle加密
- Oracle replayc測試Oracle
- Oracle恢復測試Oracle
- oracle封鎖測試Oracle
- oracle full database backupOracleDatabase
- oracle cold backup scriptsOracle
- Backup And Recovery User's Guide-備份和恢復介紹-Oracle閃回技術(二)GUIIDEOracle