[Dirvish] dirvish-expire usage Q
Petcher, Daniel
danielp at audioprecision.com
Fri Aug 11 16:15:52 UTC 2006
OK, that line says "never" right now. I guess that's about the same thing as
2999. Unfortunately, this means all of my backup snapshots will never
expire. Is there a way to make just the earliest snapshot(s) immortal, while
still allowing more recent weekly snapshots to expire when they're more than
3 months old?
-dP
-----Original Message-----
From: dirvish-bounces at dirvish.org [mailto:dirvish-bounces at dirvish.org] On
Behalf Of Paul Slootman
Sent: Thursday, August 10, 2006 2:37 AM
To: dirvish at dirvish.org
Subject: Re: [Dirvish] dirvish-expire usage Q
On Wed 09 Aug 2006, Petcher, Daniel wrote:
>
> I've got two golden ancient backups that I wish to retain forever.
>
> Right now, I launch my weekly backup manually after having cleared
> space on my dirvish vault with a rm -r /backup/vault/%y%m%d/ to get
> rid of the oldest non-golden backup snapshot. I don't want to put
> these ancient backups outside the dirvish vault, because there are
> several GB of data that never change.
>
> It just occurred to me that my index file is growing every week while
> I'm doing nothing to flush its garbage.
What index file exactly do you mean? The index for each image is kept inside
the image directory, so if you remove the image, you automatically remove
the index for that image...
Or do you mean the history file? That's one line per image, nothing
exciting.
> Is there a way with dirvish-expire to clean-out old snapshots while
> retaining the certain golden snapshots I want?
Edit the summary file, there's an "Expire:" line that has the date after
which the image should expire. Change the year to 2999 and you probably
won't be around to see it expire :-)
Paul Slootman
_______________________________________________
Dirvish mailing list
Dirvish at dirvish.org
http://www.dirvish.org/mailman/listinfo/dirvish
More information about the Dirvish
mailing list