[Dirvish] Command line versus cron
kchriste at hambrosalle.dk
kchriste at hambrosalle.dk
Wed Dec 7 22:55:15 UTC 2005
Hello list
I have just got Dirvish installed on a seperate backup server.
Everything works when dirvish is exeuted from command line:
/usr/local/sbin/dirvish-runall
My problem is that if I execute the exact same statement from cron I get
the following error:
Output from command /usr/local/sbin/dirvish-runall ..
23:43:30 dirvish --vault etc --image-time "13:00"
sh: dirvish: command not found
23:43:30 dirvish --vault home --image-time "13:00"
sh: dirvish: command not found
23:43:30 dirvish --vault share --image-time "13:00"
sh: dirvish: command not found
23:43:30 dirvish --vault srv --image-time "13:00"
sh: dirvish: command not found
23:43:30 dirvish --vault usr --image-time "13:00"
sh: dirvish: command not found
23:43:30 dirvish --vault var --image-time "13:00"
sh: dirvish: command not found
23:43:30 done
My /etc/dirvish/master.conf looks like this:
bank:
/backup/venice
exclude:
/tmp
*~
.nfs*
lost+found/
Runall:
etc 13:00
home 13:00
share 13:00
srv 13:00
usr 13:00
var 13:00
expire-default: +90 days
image-default: %Y-%m-%d
xdev: 1
log: gzip
index: gzip
My /backup/venice/etc/dirvish/default.conf looks like this:
client: venice
tree: /etc
and the other vaults are similar defined
Any help and ideas are welcome
Regards
Kim
More information about the Dirvish
mailing list