I checked everything. Path, name, references, rights everything is correct. Attached the contents in the files.
...
root@dsme01:~# ls -la /usr/lib/bareos/plugins/
insgesamt 332
drwxr-xr-x 3 root root 4096 Sep 11 17:55 .
drwxr-xr-x 6 root root 4096 Jan 13 2022 ..
-rw-r--r-- 1 root root 18688 Dez 21 2021 autoxflate-sd.so
-rw-r----- 1 root bareos 3770 Apr 27 2020 bareos_fd_consts.pyc
-rw-r--r-- 1 root root 1728 Dez 21 2021 bareos-fd-ldap.py
-rw-r----- 1 root bareos 622 Jan 14 2022 bareos-fd-ldap.pyc
-rw-r--r-- 1 root root 1928 Dez 21 2021 bareos-fd-local-fileset.py
-rw-r----- 1 root bareos 9778 Feb 7 2021 BareosFdMySQLclass.py
-rw-r----- 1 root bareos 6337 Feb 7 2021 BareosFdMySQLclass.pyc
-rw-r----- 1 root bareos 1006 Feb 7 2021 bareos-fd-mysql.py
-rw-r----- 1 root bareos 583 Feb 7 2021 bareos-fd-mysql.pyc
-rw-r--r-- 1 root root 1057 Mär 16 2019 bareos-fd-percona.py
-rw-r--r-- 1 root root 19655 Mär 16 2019 BareosFdPercona.py
-rw-r----- 1 root bareos 645 Mär 16 2019 bareos-fd-percona.pyc
-rw-r----- 1 root bareos 13473 Mär 16 2019 BareosFdPercona.pyc
-rw-r----- 1 root bareos 637 Feb 6 2021 bareos-fd-percona-xtrabackup.pyc
-rw-r--r-- 1 root root 14822 Dez 21 2021 BareosFdPluginBaseclass.py
-rw-r----- 1 root bareos 13635 Jan 14 2022 BareosFdPluginBaseclass.pyc
-rw-r--r-- 1 root root 20235 Dez 21 2021 BareosFdPluginLDAP.py
-rw-r----- 1 root bareos 14456 Jan 14 2022 BareosFdPluginLDAP.pyc
-rw-r--r-- 1 root root 11204 Dez 21 2021 BareosFdPluginLocalFilesBaseclass.py
-rw-r--r-- 1 root root 5173 Dez 21 2021 BareosFdPluginLocalFileset.py
-rw-r----- 1 root bareos 13222 Feb 6 2021 BareosFdPluginPerconaXtraBackup.pyc
-rw-r--r-- 1 root root 24240 Dez 21 2021 BareosFdPluginPostgres.py
-rw-r----- 1 root bareos 2650 Dez 21 2021 bareos-fd-postgres.py
-rw-r--r-- 1 root root 2625 Dez 21 2021 BareosFdWrapper.py
-rw-r----- 1 root bareos 2915 Jan 14 2022 BareosFdWrapper.pyc
-rw-r--r-- 1 root root 18920 Dez 21 2021 bpipe-fd.so
drwxr-x--x 2 root bareos 4096 Sep 10 03:00 __pycache__
-rw-r--r-- 1 root root 23240 Dez 21 2021 python3-fd.so
-rw-r--r-- 1 root root 23240 Dez 21 2021 python-fd.so
...
root@dsme01:~# cat /etc/bareos/bareos-fd.d/client/myself.conf
Client {
Name = dsme01-fd
Maximum Concurrent Jobs = 20
# remove comment from "Plugin Directory" to load plugins from specified directory.
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all filedaemon plugins (*-fd.so) from the "Plugin Directory".
#
Plugin Directory = "/usr/lib/bareos/plugins"
Plugin Names = "python3"
# if compatible is set to yes, we are compatible with bacula
# if set to no, new bareos features are enabled which is the default
# compatible = yes
FD Address =
dsme01.intern.example.com}...
root@dsme01:~# cat /etc/bareos/bareos-dir.d/fileset/plugin-postgresql.conf
FileSet {
Name = "plugin-postgresql"
Include {
Options {
compression=GZIP
signature = MD5
}
Plugin = "python"
":module_name=bareos-fd-postgres"
":postgresDataDir=/var/lib/postgresql/11/main"
":walArchive=/var/lib/postgresql/11/main/wal_archives"
}
}
...
root@dsme01:~# cat /etc/bareos/bareos-dir.d/job/backup-postgresql.conf
Job {
Name = "backup-postgresql"
JobDefs = "DefaultJob"
FileSet = "plugin-postgresql"
}...
The following file is missing in the plugins directory
...
bareos-fd-postgres.pyc
...
Why?