[Dirvish] multiple directories

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Wed Oct 11 05:30:49 PDT 2006


Robin Ericsson wrote:
> Hi,
> 
> I'm trying to pull the trick found on the wiki on how to use multiple
> directories per vault. My default.conf looks like this. And yes, /var
> is on the same drive as etc and root.
> 
> """
> client: root at x
> tree: /
> xdev: 0
> index: bzip2
> log: bzip2
> exclude:
>        + /etc
>        + /root
>        + /var/log/x/
>        /*/
>        /*
> """
> 
> The funny thing is that /etc and /root works, but now the /var/log/x,
> it doesn't matter if I put it before etc or root, it still doesn't
> take it.

You have a '/' at the end of the exclude line for /var/log/x but not for
the others and not when you mention it later. rsync cares about trailing
slashes, IIRC! Is it supposed to be there?

HTH, Dave


More information about the Dirvish mailing list