Bacula-users

Re: [Bacula-users] [Bacula-devel] Feature request: dir-name as a parameter to bconsole

2010-07-14 11:35:15
Subject: Re: [Bacula-users] [Bacula-devel] Feature request: dir-name as a parameter to bconsole
From: Eric Bollengier <eric.bollengier AT baculasystems DOT com>
To: bacula-devel AT lists.sourceforge DOT net, olaf AT artefact DOT nl
Date: Wed, 14 Jul 2010 17:33:37 +0200
Hello,

Le mercredi 14 juillet 2010 16:20:18, Olaf Zevenboom a écrit :
> Item x (new): add the ability to pass a director-name to bconsole on start
> of bconsole Date: 14 july 2010
> Origin: Olaf Zevenboom (olaf at artefact dot nl)
> Status:

This feature has been implemented few months ago in the development branch and 
should be available in the next release. However, the manual still need to be 
updated...

The current implementation adds two new options
-D directorname  : Connect to directorname
-l               : list directors defined in bconsole.conf

Bye 
 
> Background:
> Recently I found myself adding a second Director to the network while in
> process of moving Bacula to a new server. To allow easy administration I
> added the other Director to both bconsole.conf files on the two servers.
> As a result none of my custom scripts using bconsole worked anymore. The
> reason for this is that bconsole is not sure to connect to which director
> and therefor asks the user. The scripts however were written when no such
> question was asked as there was only one director at the time.
> 
> Proposal:
> - add a configuration keyword to bconsole, for instance "default"
> specifying to which director this bconsole should connect by default, if
> this option is not found or defined as "none" or something: act as
> bconsole currently does and ask the user. - add a parameter to the
> bconsole command allowing to define the director to which it should
> connect. If this parameter is not set: check for to new keyword as
> described above etc. If parameter is ill-formed: report so and ask for
> which director to connect to - allow for director-name "localhost" as a
> generic name for the director running on the machine the script executing
> bconsole is running on. This way scripts can become portable when calling
> bconsole with localhost.
> 

-- 
Need professional help and support for Bacula ?
Visit http://www.baculasystems.com

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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>