[Dirvish] Separate time for single server backup?
hanj
mailing at astarna.com
Tue Sep 19 06:48:15 UTC 2006
Hello All
I'm running into a problem where I need dirvish to run at a different time for only one image. Currently I have this in my /etc/cron.daily directory for backing up all of my servers..
#! /bin/sh
df -H
if [ -x /usr/sbin/dirvish ]
then
if [ -f /etc/dirvish/master.conf ]
then
nice /usr/sbin/dirvish-expire; /usr/sbin/dirvish-runall
fi
fi
This fires off at 3AM, which is great, but now I need to have dirvish run around 4PM for one particular server backup. I thought it would be easy creating a new master.conf file (master2.conf) in /etc/dirvish, and adding that argument to dirvish-runall with --config option and cron'ing my particular run time, but I'm not sure how to handle the dirvish-expire. I'm not seeing any configuration options for new config/alternative in the man page for dirvish-expire. Maybe I'm just going about this totally wrong. Any ideas?
Thanks in advance.
hanji
More information about the Dirvish
mailing list