Le Tuesday 28 August 2007 11:57:28 Kern Sibbald, vous avez écrit :
> On Tuesday 28 August 2007 10:41, BOLLENGIER Eric wrote:
> > > > For the visibility flag, it may not be that easy : a directory may be
> > > > visible even if it's not in a backup. For instance, /home if
> > > > /home/marc is backuped should be displayed, so we add an entry from
> > > > /home in pathvisibility for the job where /home/marc is backed up.
> > >
> > > Isn't the visibility rather easily deduced from the first path in the
> > > backup?
> >
> > For example, this will not works with c:/ and d:/ under windows...
> > or if your fileset contains /home/marc and /var/backups, you will display
> > only the first, not /home and /var.
>
> Perhaps, but your FileSet *really* should be c:/home/marc ...  If you have
> left out the drive, it may work, but it is not the correct way.  Also, I
> think we can come up with some way to know that it is a Windows directory
> tree, in which case, IMO /home/marc automatically means c:/home/marc. 
> Unless I am missing something, this is just an issue of documentation, and
> perhaps a bit more rigor within Bacula to "force" users to specify the
> drive.
>
> If your fileset contains /home/marc, it is rather obvious that the root is
> / and that under that is home, then marc.  That can be very quickly figured
> out in the console program.

It was just an example, and eric mixed two up I think. He started with a 
windows server, and ended up talking about a unix server (my previous 
example)

Let's say you have a fileset with /home/marc, /home/eric/data 
and /var/tmp/marc. I agree that's a bit silly, but I think it would be a good 
example to discuss on.

You can 'guess' that / is the main directory. But you still end up with the 
real problem, that is to determine as fast as possible what should be 
displayed, and I don't really see how you mean to do it.

I think that we should start with the example and discuss on it...
Can you explain how you know that you should display / as a root for this 
server, then that / contains home and var, then if you go in /home that you 
should display 'marc' and 'eric' ?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to