Bacula-users

Re: [Bacula-users] bconsole shortcut command parameters: specifically add command

2009-11-11 15:47:57
Subject: Re: [Bacula-users] bconsole shortcut command parameters: specifically add command
From: Alan Brown <ajb2 AT mssl.ucl.ac DOT uk>
To: Graham Keeling <graham AT equiinet DOT com>
Date: Wed, 11 Nov 2009 20:44:01 +0000 (GMT)
On Wed, 11 Nov 2009, Graham Keeling wrote:

> ...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

or

echo add\\\n$NumVols\\\n$VolBaseName\\\n$StartNumber | bconsole

If you need to do it in a bash script.

(works for me, YMMV. HTH. HAND)

AB





------------------------------------------------------------------------------
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