Re: [BackupPC-users] Complex include/excludes with rsync?
2010-06-06 16:36:14
Brian Mathis wrote:
> I am running backups using the rsync transport method. The docs on
> BackupFilesOnly indicate if this is used at all, then only the files
> listed there are backed up. To me this implies that excludes are then
> ignored. The docs on BackupFilesExclude warn that one can only
> specify BackupFilesOnly and BackupFilesExclude once for smb shares,
> which seems to contradict this.
>
> I am trying to perform something like the following:
> exclude /home
> include /home/user/data
>
> Is this possible without resorting to a custom rsync command line? Am
> I missing something here where includes and excludes are applied in a
> certain order?
>
> Thanks.
>
> ------------------------------------------------------------------------------
>
I include directories by BackupFilesOnly and exclude other directories
by "exclude from = " within the rsyncd.conf.
But nevertheless your example above would not work. If you exclude /home you
can't include something among them.
br
Matthias
--
Don't Panic
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- Re: [BackupPC-users] Complex include/excludes with rsync?,
Matthias Meyer <=
|
|
|