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.)
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.
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.
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.