Hello Justin,

On Fri, 17 Jun 2022 at 16:20, Justin Case <jus7inc...@gmail.com> wrote:

> Dear Marcin, thank you so much for you time, I tried it, here are my
> experiences:
>
> > On 17. Jun 2022, at 05:17, Marcin Haba <ganius...@gmail.com> wrote:
> >
> > Main menu -> Director -> Tab: Configure director -> Director
> >
>
> Putting this pw in bconsole.config on the FD machine allows me
> successfully to access the director by using bconsole command on the FD
> machine.
>
> > If you want to use in bconsole.conf file a connection with using a
> Console, then you need to look for the password to:
> >
> > Main menu -> Director -> Tab: Configure director -> Console
>
> Putting this pw in bconsole.config on the FD machine does NOT allow me to
> access the director by using bconsole command on the FD machine:
>
> Connecting to Director bacula-dir.lan.net:9101
> Director authorization problem.
> Most likely the passwords do not agree.
>
>
To use Console password you need to use Console {} resource in
bconsole.conf file. You can see example configuration in the documentation:

https://www.bacula.org/11.0.x-manuals/en/main/Console_Configuration.html#SECTION0026400000000000000000

For this case in the bconsole.conf file the most important is to put the
console name and the password in a new Console resource instead of in the
Director resource.


>
> > For the password for the Tray Monitor configuration you need to look:
>
> I do not really nkow what the Tray monitor is as I use Baculum on the
> bacula-dir = bacula-sd Linux host through firefox on my macos laptop. I
> have no idea where a tray monitor would be usefully located in my setup -
> because I still don’t have much experience and the full picture about
> bacula - yet.
>

To better understand the tray monitor, you can try to visit "Monitor
Configuration" chapter here:

https://www.bacula.org/11.0.x-manuals/en/main/Monitor_Configuration.html

Best regards,
Marcin Haba (gani)


> So thank you for this information, I will archive this for when I may need
> it:
>
> >
> > for FD password:
> >
> > Main menu -> Clients -> [ select the client ] -> Tab: Configure file
> daemon -> Section: Director
> >
> > for SD password:
> >
> > Main menu -> Storage -> [ select the storage ] -> Tab: Configure storage
> daemon -> Section: Director
> >
> > for DIR password:
> >
> > Main menu -> Director -> Tab: Configure director -> Console
> >
> > Best regards,
> > Marcin Haba (gani)
> >
> > On Thu, 16 Jun 2022 at 13:11, Justin Case <jus7inc...@gmail.com> wrote:
> > Thank you Marcin,
> >
> > I wasn’t aware the Baculum could also be installed on a FD host.
> Interesting to know.
> > Actually my question was not clearly phrased as I did mean it. I did not
> mean to look the password up on the FD host side in Baculum.
> >
> > What I did mean was, where in Baculum on the director host would I find
> the secret strings to use in the bconsole file director directive on the FD
> host side. The same for the secret string for the monitor director
> directive in the bacula-fd.conf on the FD machine. The initial setup
> suggests that both secret strings are not identical to each other.
> >
> > Sorry for the unclear phrasing.
> > Best
> >  J/C
> >
> >> On 16. Jun 2022, at 06:58, Marcin Haba <ganius...@gmail.com> wrote:
> >>
> >> Hello Justin,
> >>
> >> On Wed, 15 Jun 2022 at 16:55, Justin Case <jus7inc...@gmail.com> wrote:
> >> Thanks, I understand.
> >> Still the partial questions are open where I find the corresponding
> secret strings in Baculum. I am not complaining, just want to make explicit
> that not all parts of the questions are answered yet.
> >>
> >> Where ein Baculum do I find the bconsole secret for the bcsonsole
> config file? I understand that it must be somehow possible to restrict the
> bconsole access using ACLs. I am just trying to understand where in the
> most basic config I would find the secret (which menu path in Baculum).
> >>
> >> This password is stored in files in two places: in your file daemon
> config and in tray monitor config. If you want to see the password on the
> Baculum interface, you need to install Baculum API on the file daemon host
> with configuration feature enabled (bfdjson configured). After you need to
> connect this host to your Baculum Web. At the end you need to go to:
> >>
> >> Main menu -> Clients -> [ select the client ] -> Tab: Configure file
> daemon -> Section: Director
> >>
> >> If you have everything (Bacula and Baculum API/Web) already configured
> on one host with the configuration feature enabled in API, you don't need
> to add any additional API host.
> >>
> >> In the same way you can monitor storage daemons and directors. In this
> case the director configuration for the monitor connection will be in:
> >>
> >> Main menu -> Director -> Tab: Configure director -> Console
> >>
> >> and storage daemon configuration for the monitor will be in:
> >>
> >> Main menu -> Storage -> [ select the storage ] -> Tab: Configure
> storage daemon -> Section: Director
> >>
> >> Best regards,
> >> Marcin Haba (gani)
> >>
> >> Also: on what operating systems there is a tray monitor available that
> then uses the bacula-mon interface? Is this a Windows-specific thing? (So
> this interface is for localhost use only I I should find the corresponding
> secret string in the config for the tray app?). I am using mostly macOS and
> Debian, some FreeBSD - is this relevant on these platforms? (I don’t have
> Windows at all. Lucky me.)
> >>
> >> Thanks again,
> >>  J/C
> >>
> >>
> >>> On 15. Jun 2022, at 16:39, Josh Fisher <jfis...@jaybus.com> wrote:
> >>>
> >>>
> >>> On 6/15/22 08:12, Justin Case wrote:
> >>>> Hi all,
> >>>>
> >>>> when installing the bacula-client packageon Debian I end up i
> /etc/bacula with
> >>>> bacula-fd.conf
> >>>> and
> >>>> bconsole.conf
> >>>>
> >>>> I have 2 questions, that are still open although I searched through
> the main documentation and read the chapters containing bconsole.conf:
> >>>>
> >>>> (1) In bacula-fd.conf I understand how to set up the FileDaemon
> resource. I also understand how to set up the Director resource for
> bacula-dir, so that the actual backup works. There always is a second
> Director resource for bacula-mon and I do not understand what it used for
> and where I find the secret string in Baculum UI on the Bacula Director
> machine to put in Password for the Director resource on the Bacula FD
> client machine.
> >>>
> >>>
> >>> The second bacula-mon Director interface is for the tray monitor app
> running on the client machine. The tray monitor acts as a simplified
> director only for retrieving info from the bacula-fd daemon.
> >>>
> >>>> (2) What is the use for the bconsole.conf file on the Bacula FD
> client machine? Is it a means to allow the admin of the client machine to
> take a look at the jobs on the Bacula Director machine concerning this
> client machine? If I wanted this to work, where in Baculum UI on the Bacula
> Director machine do I find the secret string to put in Password for the
> Director resource in bcsonsole.conf on the client machine?
> >>>
> >>>
> >>> That is the configuration file for the bconsole command line utility
> used to interface with Director and Storage daemons.
> >>>
> >>>
> >>>>
> >>>> Thanks for considering my questions and all the best,
> >>>>  J/C
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Bacula-users mailing list
> >>>> Bacula-users@lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
> >>
> >> _______________________________________________
> >> Bacula-users mailing list
> >> Bacula-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/bacula-users
> >>
> >>
> >> --
> >> "Greater love hath no man than this, that a man lay down his life for
> his friends." Jesus Christ
> >>
> >> "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
> za przyjaciół swoich." Jezus Chrystus
> >
> >
> >
> > --
> > "Greater love hath no man than this, that a man lay down his life for
> his friends." Jesus Christ
> >
> > "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za
> przyjaciół swoich." Jezus Chrystus
>
>

-- 
"Greater love hath no man than this, that a man lay down his life for his
friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za
przyjaciół swoich." Jezus Chrystus
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to