[Dirvish] expire rules

Paul Slootman paul at debian.org
Mon Jul 28 10:22:53 UTC 2014


n Mon 28 Jul 2014, Terry wrote:
> 
> I just tried it on a vault with no expire rule setup
> 
> # dirvish-expire --dry-run --vault vault1

[...snip...]

> expire-default: +15 days to test
> 
> in either master.conf or default.conf it is ignored
> 
> So I just looked at the summary file in some of the backups and it contains this
> Expire: +4 days == 2014-07-16 19:22:07
> Expire-rule: *   10-20 *   *         *    +4 days
> 
> 
> so that solves that one
> so at some point with my experimenting I must have made a mistake but wouldn't either master.conf or default.conf over rule that ?

You *do* realize that the expiry rules only affect new images, no?
dirvish-expire looks at the summary files. Those are created according
to the configuration at time of making the image.

So, no, master.conf or default.conf don't overrule what dirvish-expire
will do.

You can however simply edit the summary files to adjust the expiry.



Paul


More information about the Dirvish mailing list