Bacula CE (Director + SD) 15.0.3 with PostgreSQL support. TLS ready but not active.
218
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.
The image requires the following env vars:
| Variable | Default | Required | Description |
|---|---|---|---|
| DB_HOST | db | Yes | PostgreSQL hostname |
| DB_NAME | bacula | Yes | PostgreSQL database name |
| DB_PORT | 5432 | Yes | PostgreSQL port |
| DB_USER | bacula | Yes | PostgreSQL username |
| DB_PASSWORD | None | Yes | PostgreSQL passsword |
| CONFIG_SHOW_PW | true | No | Show the Director, Storage and Clients credentials at start-up |
| DIR_ADDR | None | Yes | The address where the Director is running |
| SD_ADDR | None | Yes | The 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 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.
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:
| Folder | Description |
|---|---|
| backups | Stores all bacula volumes related to the backup or recovery jobs. |
| config | Stores all bacula services and clients configuration files. |
| postgres_data | Stores PostgreSQL data for the backup catalog. |
Content type
Image
Digest
sha256:8ce04424a…
Size
218.2 MB
Last updated
8 months ago
docker pull cosdiabos/bacula:1.0