Hi all,

I have a problem while using the '--include-from=FILE' option in 
$Conf{RsyncArgs}.
In fact it only applies to the first sharename, but not to the others.
The first share (diskC) will be backed up correctly, that is with only 
the requested file extensions, while the other share (diskD) includes 
a full backup of everything... !!! It seems, but I'm not sure, that the 
problem comes from File::RsyncP which strips off the trailing slash of
"+ */" into "+ *" after the first share is backed up... is that possible ??? 
how can I correct that ?

Regards,
JM


Example:

$Conf{RsyncdShareName} = [ 'diskC', 'diskD' ];
$Conf{RsyncArgs} = [
  '--numeric-ids',
  '--perms',
  '--owner',
  '--group',
  '-D',
  '--links',
  '--hard-links',
  '--times',
  '--block-size=2048',
  '--recursive',
  '--checksum-seed=32761',
  '--include-from=/etc/BackupPC/files-to-include',
];

with files-to-include containing:
+ */
+ *.doc
+ *.xls
+ *.ppt
+ *.[ch]
+ *.cpp
- *

and the rysncd.conf on the windows machines contains:
[diskC]
    path=/cygdrive/c
    comment = c drive

[diskD]
    path=/cygdrive/d
    comment = d drive




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to