终于有空做这个实验了,废话不多说开始吧
rman nocatalog target /
RMAN> run{
2> configure retention policy to recovery window of 7 days;
3> configure backup optimization on;
4> configure controlfile autobackup on;
5> allocate channel d1 type disk format 'd:/rman_backup/%U';
6> allocate channel d2 type disk format 'd:/rman_backup/%U';
7> backup incremental level 0 cumulative database filesperset 3 plus archivelog
filesperset 10
8> delete all input;
9> release channel d1;
10> release channel d2;
11> }
OK 备份完成,接下来修改部分数据,然后继续进行备份
RMAN> run{
2> configure retention policy to recovery window of 7 days;
3> configure backup optimization on;
4> configure controlfile autobackup on;
5> allocate channel d1 type disk format 'd:/rman_backup/%U';
6> allocate ch