This question has been asked before (http://sourceforge.net/p/backuppc/mailman/message/22459100/, http://sourceforge.net/p/backuppc/mailman/message/31066154/), but I haven't seen any answers, so I ask again, because this is something I really want to understand.
The Documentation of RsyncArgsExtra (http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_rsyncargsextra_) mentions explicity its usefulness for defining rsync-style include/exclude rules (which are much more flexible than BackupPC's own rules). However, looking at the XFerLog, any --exclude options used in RsyncArgsExtra are never actually used by BackupPC. The code explicity removes these options with the following line in Rsync.pm: $argList = File::RsyncP->excludeStrip($argList); This code has been added before the 3.0.0beta0 release, in Rsync.pm 1.25 (http://backuppc.cvs.sourceforge.net/viewvc/backuppc/BackupPC/lib/BackupPC/Xfer/Rsync.pm?r1=1.24&r2=1.25), in the course of implementing support for rsync hardlinks. There is no comment or changelog entry explaining the specific purpose of this call. Personally, I don't understand what suppressing --exclude options may have to do with hardlink support. It would be an easy hack to just comment out the code line above and get support for --exclude/include. However, maybe I am overlooking something highly important, thus the question here again: Why does BackupPC strip the rsync exclude options? +---------------------------------------------------------------------- |This was sent by [email protected] via Backup Central. |Forward SPAM to [email protected]. +---------------------------------------------------------------------- ------------------------------------------------------------------------------ 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 [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
