On Thu, 2006-02-23 at 17:51 -0800, Karl Hakimian wrote:
> 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.
> 
I attach a shell script that does this for me ... If some one got the
same problem :) Thanks folks!
-- 
Phone Work: +47 69212321 / 2321  Phone Priv: +47 69809853 (o_  <><
            +47 99521685 / 3137                           //\
ICQ: 48948625   MSN: [EMAIL PROTECTED]                           V_/_ i n u x
Registered Linux User # 171776 (http://counter.li.org)

Attachment: getting_backedup_files.sh
Description: application/shellscript


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to