Compatibility Bareos Server <--> Bareos/Bacula Clients

259 views
Skip to first unread message

Knauf Steffen

unread,
Jan 20, 2021, 11:05:22 AM1/20/21
to bareos...@googlegroups.com
Hello,

my goal is to update the Bareos Server from 17.2 --> 19.2 (at least,
perhaps 20.X) in some steps.

I just want to make sure that i read the document correctly:

https://docs.bareos.org/Appendix/BackwardCompatibility.html

We have some old bacula clients (2.0 <= Bacula < 6.0) and bareos
clients (17.X). It isn't possible to update the bacula clients. Is it
possible to connect from these clients to a Bareos Server with version
18 and higher (TLS....)?

We'll install some Centos 8 Server and Fedora 33 Workstations. Packages
for this Distributions are only available for Bareos Version 19 and 20.
Can i connect from a client with a higher Version to a Server with a
lower Version?


Thanks and greets

Steffen



Neo PoF

unread,
Mar 25, 2021, 6:26:04 AM3/25/21
to bareos-users
Hello Steffen,

I don't know if you find the answer , but i'm facing the problem . I have new server on centos8 and only Bareos client 19 or 20 available. 
My director is very old : v14 and it's not possible to connect the new centos8 to this Director... (or i didn't find how for the moment)
We were able to connect client 16 to Director 14. But it seems not possible since version 18 of client.

If someone have a good trick, feel free to help us :p

I plan to upgrade all the bareos platform soon to be able to use bareos with centos8.

Best Regards

PoF

Frank Kohler

unread,
Mar 25, 2021, 6:35:26 AM3/25/21
to bareos...@googlegroups.com


On 3/25/21 11:26 AM, Neo PoF wrote:
> Hello Steffen,
>
> I don't know if you find the answer , but i'm facing the problem . I
> have new server on centos8 and only Bareos client 19 or 20 available.
> My director is very old : v14 and it's not possible to connect the new
> centos8 to this Director... (or i didn't find how for the moment)
> We were able to connect client 16 to Director 14. But it seems not
> possible since version 18 of client.

https://docs.bareos.org/Appendix/FAQ.html

Anything keeping you from upgrading Director to a newer version?

>
> Thanks and greets
>
> Steffen
>

best,
Frank

Knauf Steffen

unread,
Mar 25, 2021, 6:37:32 AM3/25/21
to neo...@gmail.com, bareos...@googlegroups.com
Hello Neo,

do you get an error Message? I successfully connecte the Bareos Clients (v19) to the director Server (v17).

Do you set the following in the bareos-dir.conf of the client?:

  TLS Enable = no

greets

Steffen

Neo PoF

unread,
Mar 25, 2021, 10:52:42 AM3/25/21
to bareos-users
To upgrade it,  i just need free time :p, and of course read all docs. I'm new on Bareos and i need to see if it's a better idea to upgrade or to rebuild a complete new platform .

Best regards

PoF

Neo PoF

unread,
Mar 25, 2021, 11:24:20 AM3/25/21
to bareos-users
Hello Steffen,

Main problem is that we use TLS in our configuration for other client it tried to add TLS Enable = no but not a success:

this is my error :

25-Mar 15:48 bareos-01-dir JobId 0: Fatal error: Unable to authenticate with File daemon at "XXX". Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or
FD networking messed up (restart daemon).

i don't use bareos-dir.conf . I use :
/etc/bareos/bareos-fd.conf

with this inside :

Director {
  Name = bareos-01-dir
  Password = "MYPASSWORDSAMEASCONFINBAREOSSERVER"
  Address = DNS_of_my_director
#  TLS Enable = yes
  TLS Enable = no
  TLS Require = yes
  TLS Verify Peer = No
  TLS Allowed CN = DNS_of_my_director
  TLS Allowed CN = DNS2_of_my_director
  TLS Allowed CN = DNS3_of_my_director
  TLS Certificate = /etc/bareos/ssl/crt-of-my-client-signed-by-ca.pem
  TLS Key = /etc/bareos/ssl/key_of-my-client-signed-by-ca.pem
  TLS CA Certificate File = /etc/bareos/ssl/cacert.pem
}


#
# "Global" File daemon configuration specifications
#
FileDaemon {                          # this is me
  Name = myclient-fd
  Maximum Concurrent Jobs = 20
  Compatible = no
# TLS Enable = yes
  TLS Enable = no
  TLS Require = yes
  TLS Verify Peer = No
  TLS Certificate = /etc/bareos/ssl/crt-of-my-client-signed-by-ca.pem
  TLS Key = /etc/bareos/ssl/key_of-my-client-signed-by-ca.pem
  TLS CA Certificate File = /etc/bareos/ssl/cacert.pem
  # remove comment in next line to load plugins from specified directory
  # Plugin Directory = /usr/lib/bareos/plugins
}

# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = bareos-01-dir = all, !skipped, !restored
}

Best regards,

PoF
Reply all
Reply to author
Forward
0 new messages