At the client i must enter the hostname of the backupserver into the hosts file - why Bareos don't use FQDN?

21 views
Skip to first unread message

Samuel Marischek

unread,
Aug 27, 2019, 9:33:39 AM8/27/19
to bareos-users
Hello all,

we use here bareos 17.2 on UCS 4.4. At the clients (Ubuntu 18.04) we must enter the hostname of the bareosserver in the hostsfile. Where i can set that the FQDN is used and not only the hostname. So for example:

This entry must exists in  the /etc/hosts on every client:

bareos 192.168.2.9

But the server is reachabel on bareos.supertux.lan. So where i can say to the bareos server he should use the fqdn.

Thanks :)

Jörg Steffens

unread,
Aug 27, 2019, 11:49:07 AM8/27/19
to bareos...@googlegroups.com
On 27.08.19 at 15:33 wrote Samuel Marischek:
The Bareos Director tells the client on which storage server it should
place its backups.

I assume, your file
/etc/bareos/bareos-dir.d/storage/File.conf
contains the line:
Address = bareos

Change it to
Address = bareos.supertux.lan

and it should work as expected.

I will check if we can set the FQDN by default on future versions of
Bareos on UCS. Unfortunately it is not always easy/reliable to get the
FQDN for all environments/distributions.

Regards,
Jörg

--
Jörg Steffens joerg.s...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221 630693-91
http://www.bareos.com Fax: +49 221 630693-10

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer:
S. Dühr, M. Außendorf, Jörg Steffens, P. Storz

Samuel Marischek

unread,
Aug 27, 2019, 12:35:44 PM8/27/19
to bareos-users
Thank you Jörg,

found it and replaced it :)

Best Regards
Reply all
Reply to author
Forward
0 new messages