Possible to use External PostgresDB with Docker Container?

39 views
Skip to first unread message

Harvey Barnes

unread,
Mar 7, 2023, 1:50:11 PM3/7/23
to bacularis
Hello,
I've recently installed Baculum with the (https://hub.docker.com/r/bacularis/bacularis-standalone/) container, and I was wondering if it's possible to use an external Postgres DB rather than using the internal one?
I already run Postgres on my network and have an existing backup system in place complete with daily offsites, an additional DB would only add to the complexity.

Is this possible? And if so, how?

Much thanks.
- Harvey

(Note: This query is unrelated to my login issues, this query is purely for curiosity)

Marcin Haba

unread,
Mar 9, 2023, 2:02:56 AM3/9/23
to Harvey Barnes, bacularis
Hello Harvey,

Yes, it is possible to use an external Bacula database.

To do so you need to configure the API to use the external DB. This setting is available in the Bacularis API panel in the 'Settings' page on the second tab called 'Catalog'. Please replace the internal database auth parameters to parameters to your external database.

Second step is to switch Bacula in the container to use an external DB. For doing that you need to go to the Bacularis web interface to the 'Director' tab, then to the 'Configure director' tab and to the 'Catalog' subtab. There you find the Bacula Catalog resource configuration. You can edit it and switch to the external DB.

I am attaching two screenshots that show two places to change.

Good luck.

Best regards,
Marcin Haba (gani)

--
You received this message because you are subscribed to the Google Groups "bacularis" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bacularis+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/bacularis/5fd99587-487d-427b-b5da-f27daddb6312n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
"Greater love hath no man than this, that a man lay down his life for his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za przyjaciół swoich." Jezus Chrystus
Bacularis-Bacula-Web-Interface.png
Bacularis-Bacula-Web-Interface2.png
Reply all
Reply to author
Forward
0 new messages