On Thu, Feb 23, 2006 at 10:58:03AM +0100, Geir Asle Borgen wrote:
> On Wed, 2006-02-22 at 06:54 -0800, Karl Hakimian wrote:
> > On Wed, Feb 22, 2006 at 02:58:11PM +0100, Geir Asle Borgen wrote:
> > > OK, but I'm no SQL guru ... I'm capable to get in to query-mode (using
> > > bconsole) ... But any hint om SQL queryes for MySQL is welcome :)
> > 
> > Not sure why you would need to do this directly in sql, but the query in
> > postgres looks like:
> No need for SQL ... but I can't find the proper way to do this in
> bconsol ... or any oter tool ... testing the wxconsole-hint from
> Arno ... and that made me understand that I can use query in bconsol and
> get the info I need :D Thanks Arno!

In bconsole, just issue the command

list files jobid=###

where ### is the job number you want to look at. I would avoid using
sql even through bconsole.

> Now I only have to tind a way to put this info to a file ... I read some
> where that bconsole can be run whit options as a normale *nix
> command ... looking ... have to read ... no prob :)

echo list files jobid=### | bconsole -s

should run command in bconsole.

-- 
Karl Hakimian
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to