Hi Paul, thanks for the reply. I changed the rules to: expire-default: +6 hours expire-rule: hr { 00,01 } +7 days wd { mon } +4 weeks md { 1 } +2 months
But it seems that the rules doesn't match at all. One backupset called 2015-08-23-00. Which means, made at 00:00 (see image-default). This should kept for 7 days but in the summary stands: Image-now: 2015-08-23 00:44:27 Expire: +6 hours == 2015-08-23 06:44:27 Now another one, made this morning. 2015-08-24-01 Image-now: 2015-08-24 01:04:56 Expire: +6 hours == 2015-08-24 07:04:56 Is it maybe because im using another image-default format (image-default: %Y-%m-%d-%H)? What am I missing? Best regards Norman Am 24.08.2015 14:50, schrieb Paul Slootman: > On Sat 22 Aug 2015, Norman wrote: > >> Now i changed the rules to >> expire-default: +6 hours >> expire-rule: >> hr { 00,01 } +7 days >> md { 1 } +2 months >> wd { mon } +4 weeks > > Note that the *last* rule to match is used. If the 1st of the month > falls on a Monday than the image is kept for 4 weeks, not the 2 months > you might expect... so list the rules with the longest expiry times as > last. > > > Paul > _______________________________________________ > Dirvish mailing list > Dirvish@dirvish.org > http://www.dirvish.org/mailman/listinfo/dirvish _______________________________________________ Dirvish mailing list Dirvish@dirvish.org http://www.dirvish.org/mailman/listinfo/dirvish