Using two storage servers on 1 bareos-dir

78 views
Skip to first unread message

Savchik Victor

unread,
Jun 20, 2022, 10:02:34 AM6/20/22
to bareos-users
Hi everyone,
There are 2 bareos servers.
bareos1 and bareos2

client 1 is configured and running on bareos1.

now there is a need to do a parallel backup on bareos2, but so that bareos1 connects to bareos2-sd.

with the following configuration /etc/bareos/bareos-dir.d/storage/client1_bareos2.conf

Storage {
  Name = client1_bareos2-st
  Address = bareos2
  Lan Address = bareos2.mydomain.com
  Password = "XXXXXXX"
  Device = client1_bareos2-sd
  Media Type = File
  TLS Enable = no
  TLS Require = no
}

I get the following error:

bareos1-dir JobId 79686: Fatal error: Director unable to authenticate with Storage daemon at "bareos2:9103". Possible causes:
Passwords or names not the same or
TLS negotiation problem or
Maximum Concurrent Jobs exceeded on the SD or
SD networking messed up (restart daemon).

in bareos-webui in Storage Status I see the following

Connecting to Storage daemon client1_bareos2-st at bareos2:9103
Failed to connect to Storage daemon client1_bareos2-st.
====

how should I configure /etc/bareos/bareos-dir.d/storage/client1_bareos2.conf for bareos2-sd?

Bruno Friedmann

unread,
Jun 22, 2022, 7:24:16 AM6/22/22
to bareos-users
What happen if you use Address = bareos2.mydomain.com instead of Lan Address ? 
Reply all
Reply to author
Forward
0 new messages