From: Kern S. <ke...@si...> - 2003-02-28 17:15:10
|
Hello Phil, For names with spaces in the, try enclosing the whole name in quotes, otherwise Bacula is going to break the name into pieces and you won't get what you want. Best regards, Kern On Fri, 2003-02-28 at 17:32, Phil Stracchino wrote: > On Fri, Feb 28, 2003 at 09:51:30AM +0100, Kern Sibbald wrote: > > Hello Phil, > > > > First, remember that I broke the exclusion lists most likely > > in 1.29. The answer is that the exclusion lists are case > > sensitive. It is possible to supply an argument to fnmatch() > > which I use for doing the comparison that makes it case insensitive, > > but I have no current way for the user to so specify. > > > Hmm. It appears to be *mostly* working -- it's just that Windows > sometimes does not internally store filenames with the case they appear > to be or that makes sense. You end up with, for instance, NTUSER.DAT, > but ntuser.dat.LOG. I've been trying to exclude the protected Win2K > files which Win2K won't allow Bacula to read, with limited success. > I may also be specifying some of these incorrectly. > > For instance, here's my two Windows client filesets, annotated: > > > FileSet { > Name = "Windows 98 Full Set" > Include = signature=MD5 { > c:/ > } > Exclude = { > c:/Program Files/Virtual CD v4/Images/* > c:/windows/Favorites > c:/windows/History > c:/windows/Internet Logs > c:/windows/Recent/* > c:/windows/Temporary Internet Files > c:/windows/temp/* > c:/temp/* > c:/tmp/* > c:/windows/win386.swp > c:/win386.swp > } > } > > In an incremental backup on this fileset, the contents of the folders > c:/WINDOWS/Temporary Internet Files, c:/WINDOWS/History, and > c:/WINDOWS/Internet Logs still got backed up. Everything else seemed to > work. > > > FileSet { > Name = "Windows 2000 Full Set" > Include = signature=MD5 { > c:/ > } > Exclude = { > c:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/UsrClass.dat > c:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/UsrClass.dat.log > c:/Documents and Settings/*/NTUSER.DAT > c:/Documents and Settings/*/ntuser.dat.LOG > c:/Program Files/Virtual CD v4/Images/* > c:/WIN*/SYSTEM32/config/default > c:/WIN*/SYSTEM32/config/default.LOG > c:/WIN*/SYSTEM32/config/SAM > c:/WIN*/SYSTEM32/config/SAM.LOG > c:/WIN*/SYSTEM32/config/SECURITY > c:/WIN*/SYSTEM32/config/SECURITY.LOG > c:/WIN*/SYSTEM32/config/software > c:/WIN*/SYSTEM32/config/software.LOG > c:/WIN*/SYSTEM32/config/system > c:/WIN*/SYSTEM32/config/SYSTEM.ALT > c:/WIN*/msdownld.tmp/* > c:/temp/* > c:/tmp/* > c:/pagefile.sys > } > } > > For this fileset, most of the exclusions appeared to work except for the > c:/Documents and Settings/*/NTUSER.DAT, c:/Documents and Settings/*/ntuser.dat.LOG, > and c:/WIN*/SYSTEM32/config/* files, which for the most part were not backed > up but did generate errors. As a rule, most of these exclusions have been > generated by copying and pasting the errors, so the case SHOULD be correct by > now after several iterations. > > > |