Hi, jdurand wrote on 2014-11-10 12:33:54 -0800 [[BackupPC-users] Backuppc Exclude trouble]: > Trying to exclude opened files ~*.*, ntuser.dat.log, etc, but having > trouble. Tried several different suggestions, all turn out to do nothing. > I am not using excludes and includes simultaneously. See below for my > exclude lines:
which XferMethod? smb? > Share * > > /Documents and Settings/*/Local Settings > [...] > */Cache > Thumbs.db > /RECYCLER > */Temporary Internet Files > /System Volume Information > *.pst > ~* The problematic thing with Windoze backups seems to be that any one exclude not working can get you stuck without giving much debugging help to determine which one it is. > There were several variations like ? in spaces, tried backslashes, > wildcard placement ~* or ~*.*. As far as I can remember, you need backslashes, and you need to *double* them (i.e. quote them for Perl to retain a single backslash in the value). That *might* depend on the version of smbclient you are using. Strictly speaking, it also depends on your $Conf{SmbClientFullCmd}/$Conf{SmbClientIncrCmd}. If you have a shell script in there, quoting issues would become even more complicated. Of course, you could always switch to rsync(d), where exclude syntax is different and more flexible :-). Regards, Holger ------------------------------------------------------------------------------ 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@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/