On Wed, Nov 11, 2009 at 10:36:57AM -0500, Bob Hetzel wrote:
>
> Greetings,
>
> Is there anywhere that the shortcut parameters you can use with bconsole
> are documented so as to avoid the submenus?
>
> For the moment, the task that's frustrating me is that I'd like to "add" in
> a bunch of new volumes and I can't seem to figure out the right parameters
> to the add command so as to specify the label on the command line.
>
> Has anybody figured this out how to skip past this prompt ?
>
> "Enter number of Volumes to create. 0=>fixed name. Max=1000: "
In my experience, I've most often had to end up examining the code in
src/dird/ua_cmds.c in order to figure this kind of thing out.
...and looking at the code now, it seems to me that what you want isn't
possible without changing the code - or doing something like the following:
bconsole << EOF
add pool=poolname
1
volumebasename
1
EOF
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|