Sign inSign up

cosdiabos/bacula

By cosdiabos

Updated 8 months ago

Bacula CE (Director + SD) 15.0.3 with PostgreSQL support. TLS ready but not active.

Image
Networking
Databases & storage
0

218

cosdiabos/bacula repository overview

Bacula 15.0.3 CE Docker

Docker image from debian:stable (trixie) with out-of-the-box Bacula CE 15.0.3 (Director & Storage Daemon) + PostgreSQL support.

The image requires an external PostgreSQL server as the image only contains the PostgreSQL client to connect to a server.

Env Vars

The image requires the following env vars:

VariableDefaultRequiredDescription
DB_HOSTdbYesPostgreSQL hostname
DB_NAMEbaculaYesPostgreSQL database name
DB_PORT5432YesPostgreSQL port
DB_USERbaculaYesPostgreSQL username
DB_PASSWORDNoneYesPostgreSQL passsword
CONFIG_SHOW_PWtrueNoShow the Director, Storage and Clients credentials at start-up
DIR_ADDRNoneYesThe address where the Director is running
SD_ADDRNoneYesThe address where the Storage Daemon is running

DIR_ADDR and SD_ADDR must not an IP, but a network-wide resolvable DNS name (e.g. hosts) or it will most likely fail to connect.

Bacula Control

Bacula-control or bc is an included helper script that simplifies the management of the Director, Storage Daemon and File Daemon (aka Clients) from within the container/image terminal. It allows reloading daemons, check configuration files for errors, edit said files, add/delete/list clients, etc.

bacula-control <verb> <action> [arg...]
bc <verb> <action> [arg...]

To know more about this helper use bacula-control --help (or bc for short) within the container's terminal/exec.

Runtime folder structure

Upon start of the compose container, a few required folders are automatically created. These folders should be backed-up too (how meta! hehe) in order to maintain backed-up data safe and ready to be restored.

These folders should not be edited manually as it may break. They are as follow:

FolderDescription
backupsStores all bacula volumes related to the backup or recovery jobs.
configStores all bacula services and clients configuration files.
postgres_dataStores PostgreSQL data for the backup catalog.

Tag summary

Content type

Image

Digest

sha256:8ce04424a

Size

218.2 MB

Last updated

8 months ago

docker pull cosdiabos/bacula:1.0