> There are thre possible ways:
> You could either dig these dat from database (the structure is simple),
> but some data are hard to assemble from database only.
> Or you can parse the config files, but there is posibility, that the
> config in files are changed since bacula was reloaded.
> Third possibility is to connect to director via bconsole and call
> commands like show, list and llist, or to write an aplication, which
> will act as the concsole and will use the protocol.
>
I believe the webmin module uses perl and does a combination of
reading the database and making calls to bconsole.
http://www.webmin.com/
There are other examples like bacula-web which was part of bacula-gui and bweb.
John
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|