From: Matthias M. <mat...@gm...> - 2010-06-06 20:34:55
|
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 |