Bacula-users

[Bacula-users] running the bconsole query command from command line

2008-09-30 12:30:43
Subject: [Bacula-users] running the bconsole query command from command line
From: Jean-Yves Boisiaud <jyblst AT erasys DOT fr>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Tue, 30 Sep 2008 18:10:10 +0200
Hello,

I'm using bacula 2.4.2.

I would like to run the 'query' command of bconsole (and more precisely 
item 8: List Volumes to Restore All Files) from a shell script.

How could I do ?

I also tried to use the sqlquery command and the SQL instructions 
provided with the Bacula software. Somewhere in these SQL instructions, 
I replaced %1 with the real client name. Except bconsole commands like 
'Add to SQL query: ...' and friends, nothing usefull was displayed, ie 
the following array was not displayed :
+------------+
| VolumeName |
+------------+
| full-0001  |
| incr-0004  |
| diff-0006  |
| incr-0005  |
+------------+

Thanks for your help

J-Yves

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] running the bconsole query command from command line, Jean-Yves Boisiaud <=