[pkg-bacula-devel] Bug#1112458: bacula-bscan: bscan compiled with only PostgreSQL support

Benoit panizzon at woody.ch
Fri Aug 29 16:21:54 BST 2025


Package: bacula-bscan
Version: 15.0.3-3
Severity: normal

Dear Maintainer,

I came to the situation where I lost my bacula MariaDB database (InnoDB index corruption repair unsuccessfull, dump and re-insert resulting in empty table) last successfull dump already rotated away.

So I wanted to re-populate the database with bscan but bscan complains it an not connect to the PostgreSQL Database.

There is a -D option to specify a 'driver' but no matter how I try to spell MySQL or MariaDB, I always get the
error it is trying to connect Postgress.

Google revealed, there should be different packages of bscan compiled for the corresponding database, like there are for bacula-sd

Debian only provides one flavour - Postgress which is useless for recovery with a MySQL database.


-- System Information:
Debian Release: 13.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.38+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8), LANGUAGE=de_CH:de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bacula-bscan depends on:
ii  bacula-common        15.0.3-3
ii  bacula-common-pgsql  15.0.3-3
ii  bacula-sd            15.0.3-3
ii  libc6                2.41-12
ii  libstdc++6           14.2.0-19

bacula-bscan recommends no packages.

bacula-bscan suggests no packages.

-- no debconf information



More information about the pkg-bacula-devel mailing list