[Dirvish] Exclude rules...

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Thu Sep 22 09:49:05 UTC 2011


Don Gould wrote:
> I want to exclude some wild card locations from my back up...
> 
> I have:
> 
> mx:/var/www/sites/don/home.bowenvale.co.nz/Mailboxs#
> mx:/var/www/sites/dtc/8013.yournet.co.nz/Mailboxs#
> 
> This is a standard DTC hosting set up.
> 
> I want to exclude everything in
> 
> mx:/var/www/sites/*/*/Mailboxs#
> 
> But I want to still get everything else in...
> 
> mx:/var/www/sites/*/*/*#
> 
> Is this possible, and if so, how?

If I've understood correctly, I think you want your dirvish.conf file to
say:

exclude:
    - mx:/var/www/sites/*/*/Mailboxs#
    + mx:/var/www/sites/*/*/*#

The rsync man page describes what's allowed, as referred to by the
dirvish.conf manpage

Cheers, Dave


More information about the Dirvish mailing list