I can't seem to figure out what I'm doing wrong, so I hope the list can 
help. I want daily snapshots to expire after 7 days except for Tuesday's 
which I want to expire after 1 month. System is Debian stable.

/etc/dirvish/master.conf:
expire-default: 7 days

/media/raid/backups/robin/robin-home/dirvish/default.conf
client: root@robin
tree: /home/
expire-rule:
#MIN  HR    DOM   MON         DOW   EXPIRE
*      *       *       *     *      +7 days
*      *       *       *     2   +1 months

Given those confs, when I run --dry-run I get (With today being Tuesday):

#$> dirvish --dry-run --vault robin-home | grep -i expire
Expire: 7 days == 2012-04-24 12:43:39
expire-default: 7 days

According to my understanding of the docs, the Expire should be 1 month 
from now, not 7 days. Am I making a stupid mistake somewhere?

Cheers,
lance

-- 
Lance Levsen, Catprint Computing
C: 306-230-8783 P: 306-493-2278
PO Box 579 Delisle, SK, S0L 0P0
Canada

_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to