I'm not quite sure what you want to achieve.
You use db address and db port to point the director to a running
Database Server (in your case - PostgreSQL, as I understand) instance.
It's up to the database server to be up and have the port open for
connections. In case of PostgreSQL it's also important to set up
appropriate authentication methods in pg_hba.conf.
Are you sure you can connect to the database? Don't you have firewall
rules limiting (local) access? Is the database server listening on
loopback interface? Isn't SELinux interfering with the connection (I
assume you use linux here).
Try to su to user you're running bareos with and connect with psql to
your database.
Best regards.
MK
W dniu 24.05.2020 o 12:56, 'DUCARROZ Birgit' via bareos-users pisze: