On Monday 06 October 2008 15:53:24 Dan Langille wrote: > On Oct 6, 2008, at 9:50 AM, Kern Sibbald wrote: > > On Monday 06 October 2008 15:42:27 Dan Langille wrote: > >> On Oct 6, 2008, at 5:33 AM, Kern Sibbald wrote: > >>> On Monday 06 October 2008 10:42:39 Kjetil Torgrim Homme wrote: > >>>> Kern Sibbald <[EMAIL PROTECTED]> writes: > >>>>> I think the best suggestion that I have seen for the name is (at > >>>>> least in the current context): > >>>>> > >>>>> Exclude Dirs Containing = .no_backup > >>>>> > >>>>> That seems to me to be a very good name. > >>>> > >>>> I agree. > >>>> > >>>>> Concerning the placement of the directive: I think it is worth > >>>>> examining if we can easily move it to the Exclude { } section. In > >>>>> that case, the directive name could be > >>>>> > >>>>> Exclude { > >>>>> Dirs Containing = .no_backup > >>>>> ... > >>>>> } > >>>> > >>>> in that case, I think it would be natural to allow: > >>>> > >>>> Include { > >>>> Dirs Containing = .please_back_me_up > >>>> } > >>> > >>> Unfortunately, a "Dirs Containing" within an Include section is not > >>> possible. > >>> Without going into all the details, simply try to imagine an > >>> algorithm to > >>> implement -- not possible, IMO. > >> > >> Thinking about it only briefly, it becomes difficult to do because > >> the > >> sysadmin > >> needs to put such a file in every parent directory from the root of > >> the File Set > >> entries down to the directory required to backup. > > > > Also, what Directories should be included? Should Bacula search the > > system > > and look for every directory that exists in the root (or on each of > > the Win32 > > lettered devices) and then check in that directory? That is not the > > way that > > Bacula currently works. > > I assumed you'd still need to specify an entry such as File = "/usr/ > local/etc/"
OK, that would work, but I *much* prefer the case where the sys admin must explicitly do something to keep Bacula from backing up a directory rather than the other way around. (I think that is what you said too). Kern ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel