2015-11-18
全量备份=0级增量备份
第1次1级差分增量备份=第1次1级累积增量备份
第2次1级差分增量备份<第2次1级累积增量备份
全量备份、增量备份、0级增量备份、1级增量备份、差分增量备份、累积增量备份 RMAN> backup database format '/u01/app/oracle/backup/full_%u.bak'; RMAN> backup incremental level 0 database format '/u01/app/oracle/backup/lv0_%u.bak'; create table rman_test tablespace users as select * from dba_objects; insert into rman_test select * from rman_test; RMAN> backup incremental level 1 database format '/u01/app/oracle/backup/lv1_diff1_%u.bak'; RMAN> backup incremental level 1 cumulative database format '/u01/app/oracle/backup/lv1_cumu1_%u.bak'; insert into rman_test select * from rman_test; RMAN> backup incremental level 1 database format '/u01/app/oracle/backup/lv1_diff2_%u.bak'; RMAN> backup incremental level 1 cumulative database format '/u01/app/oracle/backup/lv1_cumu2_%u.bak';
[root@mdb backup]# ls -hl total 2.4G -rw-r----- 1 oracle oinstall 1.2G Nov 18 18:04 full_20qmjcki.bak -rw-r----- 1 oracle oinstall 1.2G Nov 18 18:05 lv0_22qmjcm0.bak -rw-r----- 1 oracle oinstall 18M Nov 18 18:08 lv1_cumu1_26qmjcrh.bak -rw-r----- 1 oracle oinstall 35M Nov 18 18:10 lv1_cumu2_2aqmjd09.bak -rw-r----- 1 oracle oinstall 18M Nov 18 18:07 lv1_diff1_24qmjcpd.bak -rw-r----- 1 oracle oinstall 18M Nov 18 18:09 lv1_diff2_28qmjcug.bak