[Dirvish] Exclude rules...

Don Gould don at bowenvale.co.nz
Fri Sep 23 08:32:36 UTC 2011


Hi Dave, thanks...

So just to understand...

tree: /var/www

xdev: true
index: gzip
image-default: %Y%m%d-%H%M

exclude:
         var/cache/apt/archives
         var/cache/man
         tmp
         var/tmp

#pre-client:

This is my current default.conf

Do I just need to ....

tree: /var/www

xdev: true
index: gzip
image-default: %Y%m%d-%H%M

exclude:
         var/cache/apt/archives
         var/cache/man
         tmp
         var/tmp
        -/var/www/sites/*/*/Mailboxs
       +/var/www/sites/*/*/*

#pre-client:



...and then it will pass the correct answers to rsync?

Sorry if this seems like a bit of a blond question :)

TiA

D

On 22/09/2011 9:49 p.m., Dave Howorth wrote:
> 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
> _______________________________________________
> Dirvish mailing list
> Dirvish at dirvish.org
> http://www.dirvish.org/mailman/listinfo/dirvish

-- 
Don Gould
31 Acheson Ave
Mairehau
Christchurch, New Zealand
Ph: + 64 3 348 7235
Mobile: + 64 21 114 0699



More information about the Dirvish mailing list