The cluster might be read-only replica too ;-9

On Wednesday, 5 November 2025 at 11:15:36 UTC+1 Bruno Friedmann 
(bruno-at-bareos) wrote:

> PostgreSQL plugin will use FD bareos function to collect the data, like 
> reading archived wal
> So the FD and the plugin need to be hosted on the PostgreSQL cluster.
>
>
> On Wednesday, 5 November 2025 at 10:09:16 UTC+1 Stefan Harbich wrote:
>
>> Hello, i'm getting the following error message with the PostgreSQL plugin:
>>
>> ...
>> 05-Nov 09:46 bareos-dir JobId 45: Version: 24.0.7~pre11.e690d3a37 (28 
>> October 2025) Debian GNU/Linux 13 (trixie)
>> 05-Nov 09:46 bareos-dir JobId 45: Start Backup JobId 45, 
>> Job=backup-postgresql.2025-11-05_09.46.15_03
>> 05-Nov 09:46 bareos-dir JobId 45: Connected Storage daemon at 
>> bareos.intern.example.com:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 
>> TLSv1.3
>> 05-Nov 09:46 bareos-dir JobId 45:  Encryption: 
>> TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
>> 05-Nov 09:46 bareos-dir JobId 45: Probing client protocol... (result will 
>> be saved until config reload)
>> 05-Nov 09:46 bareos-dir JobId 45: Connected Client: bareos-fd at 
>> bareos.intern.example.com:9102, encryption: TLS_CHACHA20_POLY1305_SHA256 
>> TLSv1.3
>> 05-Nov 09:46 bareos-dir JobId 45:    Handshake: Immediate TLS 
>> 05-Nov 09:46 bareos-dir JobId 45:  Encryption: 
>> TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
>> 05-Nov 09:46 bareos-sd JobId 45: Using just in time reservation for job 45
>> 05-Nov 09:46 bareos-dir JobId 45: Using Device "JustInTime Device" to 
>> write.
>> 05-Nov 09:46 bareos-fd JobId 45: Connected Storage daemon at 
>> bareos.intern.example.com:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 
>> TLSv1.3
>> 05-Nov 09:46 bareos-fd JobId 45:  Encryption: 
>> TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
>> 05-Nov 09:46 bareos-sd JobId 45: Version: 24.0.7~pre11.e690d3a37 (28 
>> October 2025) Debian GNU/Linux 13 (trixie)
>> 05-Nov 09:46 bareos-fd JobId 45: Extended attribute support is enabled
>> 05-Nov 09:46 bareos-fd JobId 45: ACL support is enabled
>> 05-Nov 09:46 bareos-fd JobId 45: python3-fd-mod: python: 3.13.5 (main, 
>> Jun 25 2025, 18:55:22) [GCC 14.2.0] | pg8000: 1.31.2
>> 05-Nov 09:46 bareos-fd JobId 45: python3-fd-mod: Connected to PostgreSQL 
>> version 130022
>> 05-Nov 09:46 bareos-fd JobId 45: python3-fd-mod: data_dir: 
>> /var/lib/postgresql/13/main/
>> 05-Nov 09:46 bareos-fd JobId 45: Fatal error: python3-fd-mod: building 
>> paths to backup failed with value.error: start_dir needs to be a real 
>> directory, symlinks are not supported.05-Nov 09:46 bareos-fd JobId 45: 
>> Version: 24.0.7~pre11.e690d3a37 (28 October 2025) Debian GNU/Linux 13 
>> (trixie)
>> 05-Nov 09:46 bareos-fd JobId 45: Fatal error: filed/fd_plugins.cc:784 
>> PluginSave: Command plugin 
>> "python:module_name=bareos-fd-postgresql:db_host=postgresql.intern.example.com:db_user=postgres:db_password=:wal_archive_dir=/media/backups/
>> dsme01.intern.example.com/postgresql/wal_archives/" requested, but job 
>> is already cancelled.
>> ...
>> The directories:
>> - "/media/backups/dsme01.intern.example.com/postgresql/wal_archives/"
>> - "/var/lib/postgresql/13/main/"
>> exist but are not linked. What does this error message mean? Where should 
>> I look for the problem? The PostgreSQL database server and the Bareos 
>> server are not running on the same server. The plugin and the pg8000 
>> software are installed on both systems (Director & File Daemon). I don't 
>> understand it. When I had the PostgreSQL database server and Bareos server 
>> installed on the same hardware, everything worked. Now, after separating 
>> them, it doesn't. I'm at a loss.
>> Regards, Stefan Harbich
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bareos-users/d9b8f876-ed2c-40ea-867c-4b69b82f2263n%40googlegroups.com.

Reply via email to