Oracle

[Oracle] RMAN Backup (Incremental Backup)

bbugge 2020. 10. 30. 15:24

증분 백업(Incremental Backup)

백업 시 설정했던 레벨의 숫자가 자기보다 작거나 같으면 그 시점부터 모든 데이터를 백업받는 것을 증분 백업이라고 합니다.

 

증분 백업에는 2가지 옵션이 존재 합니다.

 

차등 증분 백업 (Differential Backup)
차등 증분 백업 (Differential Backup)

- 최근 level 0, 1에서 backup이후 변경이 발생한 모든 block을 백업

- script : 
run {
allocate channel c1 type disk;
backup
incremental level 0
database
format '/data/backup/rman/%U_%T';
};
누적 증분 백업 (Cumulative Backup)
누적 증분 백업 (Cumulative Backup)
- 최근 level 0에서 backup이후 변경이 발생한 모든 block을 백업

- script : 
run {
allocate channel c1 type disk;
backup 
incremental level 1 cumulative
database
format '/data/backup/rman/%U_%T';
};

 

 

참조 : bae9086.tistory.com/13