Configure access to Bacula

SYSTEM INFORMATION
OS type and version Debian Trixie
Virtualmin version 2.102

Hello,

I’ve just installed Bacula and I’m trying to configure Webmin to connect to Bacula.

I’m using PostgreSQL

I’m unable to connect to the database.

During the database setup, I wasn’t prompted for a user, but I have tried: bacula, root in Webmin and neither connect.

Am after troubleshooting suggestions.

Thanks

How did you install Bacula? Generally, you’d know the database password if you’ve gone through the steps to install and setup Bacula. (The Webmin module does not install or setup Bacula, as far as I know. But, I’ve never used Bacula.)

You’ll need to read the docs for Bacula to get Bacula up and running. Installing Bacula

I don’t know if the Webmin module supports current versions of Bacula, as well, as I haven’t seen anyone using it in quite a while, and the last commit to the Bacula-specific code was many years ago.

If you aren’t already comfortable with Bacula, you may find you can do everything you need to do with something simpler (Bacula is a quite large, quite complex, though powerful, enterprise backup solution. Unless you’re keeping up with backups for a bunch of machines, it’s probably overkill.)

Hello Joe,

I’m having another go at setting up Bacula.

I’ve re-installed Bacula Community Edition following the process here on Debian 11.

I’ve performed a test backup using bconsole, so Bacula is working, but bconsole is not particularly user-friendly, so I’d like to see if I can get webmin configured.

During the Postgresql setup, I was prompted for a user and password (which I know!), but when trying to use those credentials in webmin, I get:

Failed to connect to the Bacula database : Failed to login to the database bacula : FATAL: Peer authentication failed for user "bacula". Maybe it is not set up, or the module configuration is incorrect.

In Users and Groups, the bacula user is listed.

Can you offer suggestions to troubleshoot?

Thanks
VW

Is the module configuration right? Click the gear icon in the upper left of the right pane, and make sure all the paths are correct for your installation of Bacula.

I should warn you I’m flying entirely blind here, I have never used Bacula.

Hello Joe,

Bacula configuration directory is correct.

/opt/bacula/etc

The issue is the Bacula database settings, because that also appears to be correct, but when I try to save, I get the error that I reported in the earlier post.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.