On Wednesday 14 September 2005 18:05, Matthias Kurz wrote:
> On Wed, Sep 14, 2005, Kern Sibbald wrote:
> > On Wednesday 14 September 2005 07:57, Matthias Kurz wrote:
> > > On Tue, Sep 13, 2005, Kern Sibbald wrote:
>
> [...]
>
> > > > A bconsole script can do the job though -- you
> > > > basically have to give the right responses to a couple of prompts.
> > >
> > > Yes, that's acceptable, because the pool config is normally static
> > > during tests. For a "general" solution i could write an "expect"
> > > script.
> >
> > It is probably much easier to do:
> >
> > ./bconsole .... <<END_OF_DATA
> > update
> > 2
> > 3
> > ...
> > END_OF_DATA
>
> Yes, i understood. But during the dialog it presents a list with the
> names of the configured pools and a list of volumes. This lists can
> change from time to time or from site to site. This is what i meant.
> A general script could just be called as "uv <pool-name>".
In almost all cases where a list is presented that is variable (e.g. a pool, a
client, ...) you can specify that part on the command line. However, you
cannot yet get to some of the sub-options of the update command using the
command line. E.g. you can do:
update pool=xxx client=zzz
2
...
and in "most" cases (if not all), when it would ask you for a pool or a
client, it will pull it out of the command line rather than presenting you
with a list.
>
>
> (mk)
--
Best regards,
Kern
(">
/\
V_V
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users