在練習 rman incremental backup 時、參照 ocp tk 042 :
對於 rman 增量備份的物件、官網摘入如下:
you can make incremental backups of databases, individual tablespaces or datafiles.
顯然、基於96 題的答案、archive log 不在列位、偶撞了南牆也想測試呀
rman> backup incremental level 0 archivelog all;
starting backup at 30-mar-13
current log archived
using channel ora_disk_1
channel ora_disk_1: starting archive log backupset
channel ora_disk_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=4 recid=2 stamp=811463043
channel ora_disk_1: starting piece 1 at 30-mar-13
channel ora_disk_1: finished piece 1 at 30-mar-13
channel ora_disk_1: backup set complete, elapsed time: 00:00:02
finished backup at 30-mar-13
rman> backup incremental level 1 archivelog all;
starting backup at 30-mar-13
current log archived
using channel ora_disk_1
channel ora_disk_1: starting archive log backupset
channel ora_disk_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=4 recid=2 stamp=811463043
input archive log thread=1 sequence=5 recid=3 stamp=811463081
channel ora_disk_1: starting piece 1 at 30-mar-13
channel ora_disk_1: finished piece 1 at 30-mar-13
channel ora_disk_1: backup set complete, elapsed time: 00:00:02
finished backup at 30-mar-13
竟然成功!!答案錯了??!!
未必、、、
因為答案是基於業務規則而非語義語法
對歸檔日誌進行增量備份那就應了那句諺語--脫褲子放屁哈
生活中、很多事情的對錯是基於"人情世故"的、
原本你的做法完全正確、但你沒有按照"潛規則行事"、那麼你就錯了、
所以、不要太在意對錯、因為那原本就沒有定義、
rman增量備份指令碼
配置rman 登入rman rman target rman show all 2 using target database control file instead of recovery catalog rman configuration parameters for database wi...
rman備份方法之 增量備份
使用型別 系統負載集中在某那個時間段,如白天8小時,晚上基本很閒,所以在晚上就可以對資料進行備份 與之相對應的是全庫備份 1 env ip 10.244.171.180 181 oracle database oracle 11.2.0.3 os rhel 5.5 backup toos rman,...
RMAN備份測試
通過前面的若干示例,我們已經了解並嘗試了rman備份的一些命令,但是在實際環境中,不可能每次備份都要求dba一條命令一條命令來敲 dba手指頭都痙攣啦,老闆看著更是肉疼,早知道就是打幾個字母,雇個打字的,成本不是更低麼 通過前面章節的學習我們立志一定要優化的幹活,所以我們應該寫好一段指令碼,然後放在...