Cross-posting this particular reply to the developers list as well...

On Apr 26, 2007, at 8:16 AM, Ryan Novosielski wrote:
> This has been rejected before, and the reason being that you really
> don't want to have to have a database in order to read your tapes. If
> you have an emergency that you need to recover from, the ability to  
> put
> the config files in a directory and take off running is rather
> important.

Yeah, it is nice to cut down on dependencies for "omg fixit fixit"  
restore cases.

Hmm. This may be a bit of a departure from the title, but I guess  
some desirable traits for the config that I'm hearing:

* Relational integrity: Jobs refer to defined clients, pools to  
defined storage resources, etc. etc.
* Third party tool access: For admins to simplify their lives and  
manage their set-ups, no continous battle with regular expressions.
* Platform independence: Shouldn't need a database in order to  
restore files

Brainstorming idea: XML with Schema validation?

* The config would be a plain file and portable.
* It would be relatively easy for admins to write tools to read and  
write from the config.
* With a library that supports validation, XML schemas can do a lot  
of the hard work of checking data values and structure.
* Validation by XML schema can check referential integrity and  
uniqueness constraints.
* Rules and situations for quoting and escaping slashes and spaces  
etc. are fairly well defined.
* But would be more verbose.

Now, I'm not in the "XML for everything" camp by any means, but in  
this particular situation it may be worth looking into. Disclosure:  
I'm reading through a book on XML schemas, so I have a minor bias. If  
this seems "worth exploring" to Bacula devs, I'd be happy to help.

--Darien A. Hager
[EMAIL PROTECTED]



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to