[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-users
Subject:    Re: [Bacula-users] Q: ConnectToDirector not working as documented for FD Director directive
From:       Eric Bollengier via Bacula-users <bacula-users () lists ! sourceforge ! net>
Date:       2022-08-22 7:20:30
Message-ID: 0fb8db9f-3312-1ba2-80c6-dbdc37403d91 () baculasystems ! com
[Download RAW message or body]

Hello Justin,

On 7/17/22 19:31, Justin Case wrote:
> I eventually removed the 9.X FD (from the Debian standard repos) from this
> Debian machine and installed the 13.X FD (from the Community Edition Debs).
> Running it manually works fine, it connects to the Director (11.x) and the
> backup job runs successfully.
> 
> There is one thing still unclear to me: From the Debian standard repos there
> is still the /etc/init.d/bacula-fd script to start and stop the FD. However,
> the pathes in the script fit where the standard repos install the FD
> (/usr/sbin/bacula-fd) and its configuration (/etc/bacula/bacula-fd). Surely I
> can edit /etc/init.d/bacula-fd to put in where the Community Edition Debs put
> the FD and config.
> 
> My questions is this: does a proper bacula-fd service script for /etc/init.d
> usually come with the Community Edition Debian Debs? (in my case it did not
> seem so)

The good old SysV scripts are still in the source tree, but now that the
debian distro (and the others) have switched to systemd, the package will
no longer setup the sysv scripts.

I believe that the bacula-ctl-fd/dir/sd scripts are still provided with the
package, and they can be used to manage the services. Note that I would not
mix systemd and scripts at the same time, but you can probably use them.

Hope it helps!

Best Regards,
Eric

> All the best, J/C
> 
>> On 19. Jun 2022, at 14:36, Justin Case <jus7incase@gmail.com> wrote:
>> 
>> The Debian FDs are 9.x, the DIR and SD are 11.x. It is just 1 Debian FD
>> that needs ConnectToDirector, so I guess I just need to upgrade the FD on
>> this one host.
>> 
>>> On 19. Jun 2022, at 13:49, Josh Fisher <jfisher@jaybus.com> wrote:
>>> 
>>> Debs are available from the www.bacula.org website. You can build from
>>> source. I'm not sure what version is in the normal Debian repositories,
>>> but I think it must be older than 11.0. You can see the version by
>>> running bacula-fd -? from the command line. But to use the
>>> ConnectToDirector feature, you will have to upgrade to version 11.x on
>>> all clients and Director and Storage daemons.
>>> 
>>> 
>>> On 6/17/22 17:35, Justin Case wrote:
>>>> That is the normal debian package "bacula-client". Which other package
>>>> would I use instead?
>>>> 
>>>>> On 17. Jun 2022, at 21:08, Josh Fisher <jfisher@jaybus.com> wrote:
>>>>> 
>>>>> You must have an old version of bacula-fd on the client. The
>>>>> ConnectToDirector was implemented in version 11.0.
>>>>> 
>>>>> 
>>>>> On 6/17/22 10:00, Justin Case wrote:
>>>>>> Yes, I tried to make sense of this error message, but there is no
>>>>>> other directive above director in this config file (see my other
>>>>>> email, I have attached the config file there).
>>>>>> 
>>>>>>> On 17. Jun 2022, at 14:16, Josh Fisher <jfisher@jaybus.com>
>>>>>>> wrote:
>>>>>>> 
>>>>>>> Did you follow the error message's suggestion? "Perhaps you left
>>>>>>> the trailing brace off of the previous resource...." (or A
>>>>>>> previous resource in the bacula-fd.conf file) We would need to
>>>>>>> see the entire bacula-fd.conf file in order to help.
>>> 
>> 
> 
> 
> 
> _______________________________________________ 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic