>>
>> 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


_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to