-
Notifications
You must be signed in to change notification settings - Fork 290
Closed
Labels
Description
Bareos component version
Bareos 24.0.6 PostgreSQL PITR Plugin
Steps to reproduce
We enabled wal_compression as recommended online by many articles:
https://www.percona.com/blog/wal-compression-in-postgresql-and-recent-improvements-in-version-15/
https://www.enterprisedb.com/blog/you-can-now-pick-your-favorite-compression-algorithm-your-wals
It saves huges amounts of disk space and it allows for lower io consumption on the system.
Expected results
I expect the backups continue to work , but they don't
Actual results
Backups start failing as soon as the setting is activated
wal_compression=lz4
Environment
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"Relevant log output
25 | 2025-10-22 14:03:53 | xxx1.xxx.xx JobId 568040: Fatal error: filed/fd_plugins.cc:842 Command plugin "python:module_name=bareos-fd-postgresql:db_host=/var/run/postgresql:wal_archive_dir=/var/lib/pgsql_archive": startBackupFile failed.
24 | 2025-10-22 14:03:53 | xxx1.xxx.xx JobId 568040: Fatal error: bareosfd: Traceback (most recent call last):File "/usr/lib/bareos/plugins/BareosFdWrapper.py", line 74, in start_backup_filereturn bareos_fd_plugin_object.start_backup_file(savepkt)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/bareos/plugins/bareos-fd-postgresql.py", line 1447, in start_backup_filemy_statp.st_size = len(self.backup_label_data)^^^^^^^^^^^^^^^^^^^^^^^^^^^TypeError: object of type 'NoneType' has no len()Relevant traces output
Anything else?
No response
Reactions are currently unavailable