BackupPC-users

[BackupPC-users] rsync --exclude options - why are they stripped?

2014-11-12 14:08:22
Subject: [BackupPC-users] rsync --exclude options - why are they stripped?
From: mwilck <backuppc-forum AT backupcentral DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 12 Nov 2014 11:06:35 -0800
Holger Parplies wrote:


> 
> I'd have to look at the current code closely to be sure, but from memory,
> rsync sends the in-/excludes via the rsync protocol exchange rather than on
> the command line. Your XferLOG should contain lines starting with
> "Sent exclude" (or include, I suppose). I remember the code moving also
> in-/excludes from the RsyncArgsExtra (or was it RsyncArgs?) and not only
> applying this to the in-/excludes it generates itself. I don't recall the
> order in which they are sent, but putting the ones from RsyncArgsExtra
> first would seem to make most sense. 
> 


You are right. I found this out myself, unfortunately after writing my post. 
RsyncArgsExtra comes first.
I'm not sure why I overlooked this in the XferLog in the first place.

Thanks, Martin

+----------------------------------------------------------------------
|This was sent by martin.wilck AT ts.fujitsu DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
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/