Hi,

I was wondering for a while why Rsync transport never adds the '--exclude'
arguments even though there is code in lib/Xfer/Rsync.pm file which should do 
that.

It first adds the --exclude arguments then...


         if ( defined($conf->{BackupFilesExclude}{$t->{shareName}}) ) {
             foreach my $file ( @{$conf->{BackupFilesExclude}{$t->{shareName}}} 
)
             {
                 #
                 # just append additional exclude lists onto the end
                 #
                 $file = encode($conf->{ClientCharset}, $file)
                             if ( $conf->{ClientCharset} ne "" );
                 push(@fileList, "--exclude=$file");
             }
         }


later on it strips them off

        eval {
            $argList = File::RsyncP->excludeStrip($argList);
        };


Is this a bug or what? Because of this, also the examples in the configuration 
file where --exclude are do not function at all. Is there a reason to strip the 
--exclude arguments at all?

Thanks,
Evren

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
BackupPC-devel mailing list
BackupPC-devel@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to