RMAN备份保存策略为天数引起的问题
整个过程帖子见:http://www.itpub.net/thread-1711124-1-1.html
原来的保存策略配置为:
RMAN> configure retention policy torecovery window of 90 days;
但是发生了这种情况,我2012-08-28备份日志里面出现了:
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 90 days
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
-------------------- ------ ------------------ --------------------
Backup Set 688 19-JUL-12
Backup Piece 688 19-JUL-12 /orabak/201207/19_L2/arch_JSCN_20120719_688
Backup Set 689 19-JUL-12
Backup Piece 689 19-JUL-12 /orabak/201207/19_L2/arch_JSCN_20120719_689
Backup Set 703 19-JUL-12
Backup Piece 703 19-JUL-12 /orabak/201207/19_L2/arch_JSCN_20120719_702
19-JUL-12 怎么也不应该认为过期啊,而且更诡异的是指删除归档日志的备份,其他不删。
怀疑是oracle认为的保存文件可能发生错误,现在改成保存冗余文件个数就正常了
RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 180;
特此记录一下!