> Le Fri, May 31, 2013 at 07:18:07AM -0500, Michael Stowe a écrit : >> >> > I try to exclude some file from backup but it still try to copy them. >> > Example with 'UsrClass.dat': >> > NT_STATUS_SHARING_VIOLATION opening remote file \Julien >> > Noé\AppData\Local\Microsoft\Windows\UsrClass.dat (\Julien >> > Noé\AppData\Local\Microsoft\Windows\) >> > >> > but i have defined an exclusion in the config.pl >> >> You haven't defined the exclusion properly, or it would work. However, >> I >> can only speculate as to how you defined it, since you don't say. From >> the error, I can guess you're using samba. >> >> > Could you give me some hint to bypass these problems ? Thanks. >> > >> > The backuppc server is a debian 7.0, backuppc 3.2.1-4. >> > The host to save is a Windows 7 professionel SP1 >> > >> > -- >> > Christophe Moille >> >> Sure, you can: >> 1) Define the exclusion properly > > Thank you for your response. I joined the config file with the original > post. Could you have a look to the $Conf{BackupFilesExclude} variable and > tell what's wrong ? > And yes, it's a smb xfermethod.
Whoops, so you did, sorry about that. Samba can be weirdly touchy about its excludes, and I recall there being some variation across samba client versions. You have this: '*/Windows/UsrClass.dat*' to exclude this (as an example) \Julien Noé\AppData\Local\Microsoft\Windows\UsrClass.dat I believe it's the trailing star which is causing this file not to be excluded -- I'd suggest trying this: '*/Windows/UsrClass.dat' If none of your excludes are working, then it might be the slashes instead: '*\\Windows\\UsrClass.dat' >> 2) Switch to rsync/vshadow, which could actually back up this file > > I'll have a look to this method. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ 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/