On Wednesday 14 September 2005 07:57, Matthias Kurz wrote:
> On Tue, Sep 13, 2005, Kern Sibbald wrote:
>
> [...]
>
> > There is no single command line that can do update all volumes from pool.
> > Unfortunately, not every option of every command is available through
> > command line arguments.
>
> Thanks, this saved my time, because i planned to dig through the code
> before i open a bug. I think i save even more time and do _not_ open
> a bug :)
>
> >                  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

You just have to be careful to get the responses in the correct order and 
realize that there is a small chance that the prompts might change from one 
version to the next.

>
>
>    (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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to