rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Re: How do I specify the following?


From: Jakob Unterwurzacher
Subject: Re: [rdiff-backup-users] Re: How do I specify the following?
Date: Wed, 13 May 2009 10:40:14 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090409)

>>
>> Hmm, the problem is that there are no dovecot* files present in
>> /home/virtual itself, but they do appear in the many sub-directories.

I see.

>>
>>
> 
> Jason provided me with the correct syntax:
> 
> ***************
> To skip anything within the backup path that matches try something like
> 
> rdiff-backup --exclude '**dovecot**' /home/virtual /backup
> 
> The documentation is a bit slack on it - you need to infer that the
> --include option would work the same way for the --exclude.
> ***************
> 
> Thanks, Jason and anyone else who replied!  :-)
> 
> 
> Greetings,
>     Evert
> 

rdiff-backup --exclude '**dovecot**' /home/virtual /backup

will also exclude files NOT starting with "dovecot" but having it
somewhere in the middle - if you don't care about that, it's fine.

I would try

rdiff-backup --exclude '**/dovecot*' /home/virtual /backup

this will only exclude files/folders starting with dovecot.

Jakob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]