Hello,
On 4/26/2006 12:57 PM, Kern Sibbald wrote:
On Wednesday 26 April 2006 10:35, Arno Lehmann wrote:
...
I hope that in the future the python interfce grows to allow all these
settings.
By the way: I even think that, once you can set all these things via
python events, the configuration of Bacula can be much simplified
because you're not foreced to use the flat text configuration files.
Instead it could be possible to to store almost all configuration
(except for some job stubs) in a way accessible by python and set the
jobs up from there. Having all the important settings in a database, for
example, would allow things like dynamically determining backup levels,
storage devices to use, file sets and so on. Very interesting IMO. Might
be a project for someone :-)
Yes, this is probably the direction we are headed, but it gives me nightmares
from two standpoints: recovering a broken system (the conf no longer has
everything); enormous complexity possible for resolving support problems.
Nightmares? I don't think so.
First, incomplete configuration: Not really an issue as long as you want
to recover complete backups because the client and job definition would
still reside in the DIRs config file. Moving the file set, storage
device and pool selection, and perhaps schedules into a python module
would leave all the necessary information for a restore in the catalog
and the configuration files. Also, don't forget that a desaster recovery
interface for Bacula should be usable some time :-)
Second, the support problems: I don't think Bacula should move away from
the standard and default flat text file configuration. Dynamically
modifying jobs would be an oppurtunity for experienced users with
special needs, where I think these users would hopefully understand how
their setup works. Then, if you really use a database as a backend for
job setup, a more friendly user interface would be easier to create than
today. And finally I'd suggest to implement testing commands which
trigger the python events, print all the actual setup information, and
don't run a job. Similar to the show commands today which help a lot
when Bacula doesn't behave as expected.
Arno
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users