[Dirvish] Tuning my expiration dates
Dave Howorth
dhoworth at mrc-lmb.cam.ac.uk
Tue May 29 10:48:12 UTC 2007
Petcher, Daniel wrote:
> I *REALLY* need to buy and mount more disk space, but I don't have the
> budget or time for that project this quarter.
I'd guess it's going to cost more of your time (which is also money) to
work out a software solution than to buy another disk! False economy?
> I saw the "dirvish-expire --time time_expression" command, but that doesn't
> accelerate the expiry of existing backups, either.
Why not? If you use the --time option, you can convince dirvish-expire
it's running in the future. Specifically, you can tell it it's running
after the expiration time stated in the summary files. You can restrict
it to a particular vault.
> I know how to edit dirvish/default.conf, but I would like to make a script
> to edit the Expire: lines in all the sessions in a given vault so that
> present and future backups will expire a day or two earlier.
>
> Image-now: 2007-05-10 02:57:47
> Expire: +21 days == 2007-05-31 02:57:47
>
> Does dirvish-expire look at the right-most fields on the Expire line, or
It looks at the Expire line. You can just edit that if you wish.
> Surely I can't be the first person to have wanted this functionality. Does
> anyone else out there have a suggestion to simplify my life?
Don't know :( Personally, I just use rm when I occasionally need to
remove a backup image.
Cheers, Dave
More information about the Dirvish
mailing list