[PLUG] Dirvish on Debian

Sean Whitney sean.whitney at gmail.com
Wed Jun 18 22:52:28 UTC 2008


I have a installation of dirvish that's working great except that it 
doesn't delete old backups.

If I run dirvish-expire it just returns immediately.
If I run dirvish-expire --vault <vault name> it will start deleting all 
the outdated backups.  The main dirvish cronjob seems to run 
dirvish-expire without any arguments so this seems to be he root cause. 
  I know that last year it was deleting old files, but now it seems to 
have stopped.

This is my master.conf file....

## Example dirvish master configuration file:

bank:
	/backup
	/visionary
exclude:
	lost+found/
	core
	*~
	.nfs*
	.Trash
	.beagle
	Cache
	log
	deb
	rpm
	/sys/**
Runall:
	dyson-root	22:00
	dyson-usr	22:00
	dyson-var	22:00
	hubble-boot	22:00
	hubble-root	22:00
	hubble-usr	22:00
	hubble-var	22:00
	planck-root	22:00
	planck-diskless	22:00
	planck-home	22:00
	planck-mp3	22:00
	planck-var	22:00
	planck-share	22:00
	planck-storage	22:00
	www-root	22:00
	www-usr		22:00
	www-var		22:00
	www-home	22:00
	feynman-root	22:00
	feynman-usr	22:00
	feynman-var	22:00
	bell-root	22:00
	max-root	22:00
	einstein-root   22:00
# Visionary Servers
	redwood-root    22:00
	dslnorthwest-root 22:00
#	dslnorthwest-var 22:00


expire-default: +15 days
expire-rule:
#       MIN HR    DOM MON       DOW  STRFTIME_FMT
	*   *     *   *         1    +3 months
	*   *     1-7 *         1    +1 year
	*   *     1-7 1,4,7,10  1
	*   10-20 *   *         *    +4 days
#	*   *     *   *         2-7  +15 days



More information about the PLUG mailing list