[Dirvish] Re: Tuning my expiration dates
Richard Geoffrion
dirvish at rain4us.net
Tue May 29 13:51:46 UTC 2007
Dave Howorth wrote:
> <courtesy snip to keep from re-resending stuff that doesn't need to be
> re-resent>
> This is better but it suffers from the same problems. I'd suggest making
> a separate script that just recalculates all the expiry dates.
> <snip>
> Perhaps somebody already has a script that does something like this?
>
Brian,
Check out http://wiki.dirvish.org/index.cgi?ForceExpire on the dirvish
wiki. It can be used to wildcard-expire vaults. Actually it just sets
the vaults TO EXPIRE. Verify and modify the script to meet your needs.
The script should be well documented.
Note: the script assumes an image format of YYYY-MM-DD (meaning it
searches byte 9 and 10 in the date string) and is set to save any image
made on the 1st day of the month -- which in the case of backups that
run POST MIDNIGHT ...means the data in the vault is from the last day of
the previous month.
--
Richard
More information about the Dirvish
mailing list