Re: [Bacula-users] Director Control Protocol

2011-06-09 Thread Radosław Korzeniewski
Hi, 2011/6/8 Sean Clark > > 1. Connect to the bacula-dir daemon > > 2. Authenticate > > 3. Send a command like "show status client blah.foo.bar-fd" > > > > and have that return machine-parse-able status information, rather than > human-readable information. > You can skip the "parse the list of

Re: [Bacula-users] Director Control Protocol

2011-06-08 Thread Sean Clark
On 06/07/2011 05:52 PM, Tim Gustafson wrote: >> Can't you spawn bconsole from the web application? That is what most >> of the other web apps do. > [...] > I'm hoping that there might be a protocol that cuts out all the screen > parsing and instead lets me just do something like: > > 1. Connect to

Re: [Bacula-users] Director Control Protocol

2011-06-08 Thread Marcello Romani
Il 07/06/2011 18:35, Tim Gustafson ha scritto: > Hi, > > I was wondering if there is any documentation anywhere on the protocol that > bconsole uses to connect to the director and issue commands? > > I've built a web interface to the Bacula configuration files, and I would > like to add the abili

Re: [Bacula-users] Director Control Protocol

2011-06-07 Thread Tim Gustafson
> Can't you spawn bconsole from the web application? That is what most > of the other web apps do. I thought of that, but the interaction to get a simple bit of data out that way seems to be rather difficult to parse. Consider getting the status of a given client: 1. Connect to the bacula-dir

Re: [Bacula-users] Director Control Protocol

2011-06-07 Thread John Drescher
On Tue, Jun 7, 2011 at 12:35 PM, Tim Gustafson wrote: > Hi, > > I was wondering if there is any documentation anywhere on the protocol that > bconsole uses to connect to the director and issue commands? > > I've built a web interface to the Bacula configuration files, and I would > like to add t

[Bacula-users] Director Control Protocol

2011-06-07 Thread Tim Gustafson
Hi, I was wondering if there is any documentation anywhere on the protocol that bconsole uses to connect to the director and issue commands? I've built a web interface to the Bacula configuration files, and I would like to add the ability to reload the configuration and/or start or cancel jobs