bareos_mysql_dump fails on Bareos 25

24 views
Skip to first unread message

Fabién Jardinero

unread,
Dec 23, 2025, 9:46:59 PM12/23/25
to bareos-users
# cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.6"

# bareos-fd --version
25.0.2~pre13.add249aa9

We're considering Bareos with commercial support for our company, my head of IT requested a demo of a few options, I chose Bareos because I've worked with SUSE for a while, but I'm running into issues with the MySQL plugin.

I got this error (full verbose output, error in bold)

# sudo -u bareos /usr/sbin/bareos-fd -d 150 -f
bareos-fd (10): lib/parse_conf.h:460-0 ConfigResourcesContainer: new configuration_resources_ 0x55798b80df80
bareos-fd (100): lib/parse_conf.cc:181-0 config file = /etc/bareos/bareos-fd.d/*/*.conf
bareos-fd (100): lib/lex.cc:295-0 glob /etc/bareos/bareos-fd.d/*/*.conf: 4 files
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/client/myself.conf
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/director/bareos-dir.conf
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/director/bareos-mon.conf
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/messages/Standard.conf
bareos-fd (100): lib/lex.cc:295-0 glob /etc/bareos/bareos-fd.d/*/*.conf: 4 files
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/client/myself.conf
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/director/bareos-dir.conf
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/director/bareos-mon.conf
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/messages/Standard.conf
mysql-fd-client (100): lib/bsys.cc:616-0 ReadStateFile seek to 192
mysql-fd-client (100): lib/recent_job_results_list.cc:57-0 Read num_items=4
mysql-fd-client (50): lib/plugins.cc:211-0 LoadPlugins
mysql-fd-client (150): filed/fd_plugins.cc:1823-0 IsPluginCompatible called
mysql-fd-client (150): filed/fd_plugins.cc:1800-0 Loaded plugin: python3-fd.so
mysql-fd-client (10): filed/socket_server.cc:122-0 filed: listening on port 9102
mysql-fd-client (10): filed/socket_server.cc:122-0 filed: listening on port 9102
mysql-fd-client (100): lib/bnet_server_tcp.cc:141-0 Addresses host[ipv4;0.0.0.0;9102] host[ipv6;::;9102]
mysql-fd-client (100): lib/bsock.cc:85-0 Construct BareosSocket
mysql-fd-client (100): lib/tls_openssl_private.cc:57-0 Construct TlsOpenSslPrivate
mysql-fd-client (100): lib/tls_openssl_private.cc:618-0 Set tcp filedescriptor: <5>
mysql-fd-client (100): lib/tls_openssl_private.cc:636-0 Set protocol: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:558-0 Set ca_certfile: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:564-0 Set ca_certdir: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:570-0 Set crlfile_: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:576-0 Set certfile_: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:582-0 Set keyfile_: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:600-0 Set dhfile_: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:624-0 Set cipherlist: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:630-0 Set ciphersuites: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:606-0 Set Verify Peer: <false>
mysql-fd-client (100): lib/tls_openssl_private.cc:612-0 Set ktls: <false>
mysql-fd-client (100): lib/tls_openssl_private.cc:482-0 psk_server_cb. identitiy: R_DIRECTOR bareos-dir.
mysql-fd-client (100): lib/tls_openssl_private.cc:503-0 psk_server_cb. result: 32.
mysql-fd-client (50): lib/bnet.cc:141-0 TLS server negotiation established.
mysql-fd-client (110): filed/socket_server.cc:82-0 Conn: Hello Director bareos-dir calling

mysql-fd-client (110): filed/socket_server.cc:87-0 Got a DIR connection at 23-Dec-2025 21:32:47
mysql-fd-client (100): lib/jcr.cc:185-0 Construct JobControlRecord
mysql-fd-client (120): filed/dir_cmd.cc:571-0 Calling Authenticate
mysql-fd-client (50): lib/cram_md5.cc:106-0 send: auth cram-md5 <2057868628.1766543567@R_CLIENT::mysql-fd-client> ssl=2
mysql-fd-client (100): lib/cram_md5.cc:167-0 cram-get received: auth cram-md5 <115256084.1766543567@R_DIRECTOR::bareos-dir> ssl=2
mysql-fd-client (50): lib/cram_md5.cc:61-0 my_name: <R_CLIENT::mysql-fd-client> - challenge_name: <R_DIRECTOR::bareos-dir>
mysql-fd-client (99): lib/cram_md5.cc:232-0 sending resp to challenge: /++1OwVVpR9qjD+FCX+BCB
mysql-fd-client (120): filed/dir_cmd.cc:572-0 OK Authenticate
mysql-fd-client (100): filed/dir_cmd.cc:441-0 <dird: JobId=24 Job=mysql-job.2025-12-23_21.32.44_41 SDid=29 SDtime=1766368640 Authorization=IEPG-DLBH-ADAM-IAPF-MGKB-JLED-IIDF-FCCA ssl=4

mysql-fd-client (100): filed/dir_cmd.cc:460-0 Executing JobId= command.
mysql-fd-client (5): filed/dir_cmd.cc:1443-24 set sd auth key
mysql-fd-client (5): filed/dir_cmd.cc:1446-24 set sd ssl_policy to 4
mysql-fd-client (120): filed/dir_cmd.cc:937-24 JobId=24 Auth=IEPG-DLBH-ADAM-IAPF-MGKB-JLED-IIDF-FCCA TlsPolicy=4
mysql-fd-client (150): filed/fd_plugins.cc:1910-24 Instantiate plugin_ctx=0x7fb6c4018400 JobId=24
mysql-fd-client (150): filed/fd_plugins.cc:2361-24 fd-plugin: Plugin registered event=12
mysql-fd-client (150): filed/fd_plugins.cc:2361-24 fd-plugin: Plugin registered event=13
mysql-fd-client (150): filed/fd_plugins.cc:2361-24 fd-plugin: Plugin registered event=20
mysql-fd-client (150): filed/fd_plugins.cc:2361-24 fd-plugin: Plugin registered event=17
mysql-fd-client (150): filed/fd_plugins.cc:2361-24 fd-plugin: Plugin registered event=1
mysql-fd-client (150): filed/fd_plugins.cc:2361-24 fd-plugin: Plugin registered event=10
mysql-fd-client (150): filed/fd_plugins.cc:2361-24 fd-plugin: Plugin registered event=11
mysql-fd-client (150): filed/fd_plugins.cc:2361-24 fd-plugin: Plugin registered event=9
mysql-fd-client (150): filed/fd_plugins.cc:2361-24 fd-plugin: Plugin registered event=15
mysql-fd-client (150): filed/fd_plugins.cc:526-24 plugin_ctx=0x7fb6c4018400 JobId=24 event=1
mysql-fd-client (150): filed/fd_plugins.cc:304-24 IsEventForThisPlugin? name=(null) len=0 plugin=python3-fd.so plen=7
mysql-fd-client (100): filed/dir_cmd.cc:441-24 <dird: level = full  mtime_only=0

mysql-fd-client (100): filed/dir_cmd.cc:460-24 Executing level =  command.
mysql-fd-client (10): filed/dir_cmd.cc:1281-24 LevelCmd: level = full  mtime_only=0
mysql-fd-client (150): filed/fd_plugins.cc:526-24 plugin_ctx=0x7fb6c4018400 JobId=24 event=12
mysql-fd-client (150): filed/fd_plugins.cc:304-24 IsEventForThisPlugin? name=(null) len=0 plugin=python3-fd.so plen=7
mysql-fd-client (100): filed/dir_cmd.cc:441-24 <dird: fileset vss=1

mysql-fd-client (100): filed/dir_cmd.cc:460-24 Executing fileset command.
mysql-fd-client (100): filed/fileset.cc:529-24 I
mysql-fd-client (100): filed/fileset.cc:529-24 O MZf4HAX
mysql-fd-client (100): filed/fileset.cc:529-24 G python3:module_path=/usr/lib64/bareos/plugins:module_name=bareos_mysql_dump:db=jiradb
mysql-fd-client (100): filed/fileset.cc:529-24 N
mysql-fd-client (100): filed/fileset.cc:529-24 N
mysql-fd-client (100): filed/fileset.cc:529-24 N
mysql-fd-client (150): filed/fd_plugins.cc:630-24 plugin cmd=python3:module_path=/usr/lib64/bareos/plugins:module_name=bareos_mysql_dump:db=jiradb
mysql-fd-client (150): filed/fd_plugins.cc:526-24 plugin_ctx=0x7fb6c4018400 JobId=24 event=17
mysql-fd-client (150): filed/fd_plugins.cc:366-24 plugin=python3-fd.so plen=7 cmd=python3:module_path=/usr/lib64/bareos/plugins:module_name=bareos_mysql_dump:db=jiradb len=7
mysql-fd-client (150): filed/fd_plugins.cc:304-24 IsEventForThisPlugin? name=python3:module_path=/usr/lib64/bareos/plugins:module_name=bareos_mysql_dump:db=jiradb len=7 plugin=python3-fd.so plen=7
mysql-fd-client (150): filed/fd_plugins.cc:321-24 IsEventForThisPlugin: yes, full match (plugin=python3-fd.so, name=python3:module_path=/usr/lib64/bareos/plugins:module_name=bareos_mysql_dump:db=jiradb)
mysql-fd-client (150): filed/fd_plugins.cc:539-24 updated cmd = 'python3:module_path=/usr/lib64/bareos/plugins:module_name=bareos_mysql_dump:db=jiradb'
mysql-fd-client (150): include/python_plugin_modules_common.inc:66-24 python3-fd.so: python3-fd: Trying to load module with name bareos_mysql_dump
mysql-fd-client (150): include/python_plugin_modules_common.inc:74-24 python3-fd.so: python3-fd: Failed to load module with name bareos_mysql_dump
mysql-fd-client (150): include/python_plugins_common.inc:155-24 python3-fd.so: bareosfd: Traceback (most recent call last):
  File "/usr/lib64/bareos/plugins/bareos_mysql_dump/__init__.py", line 12, in <module>
    import BareosFdWrapper
ModuleNotFoundError: No module named 'BareosFdWrapper'

mysql-fd-client (150): filed/fd_plugins.cc:575-24 Cancel return from GeneratePluginEvent
mysql-fd-client (100): filed/dir_cmd.cc:441-24 <dird: getSecureEraseCmd

mysql-fd-client (100): filed/dir_cmd.cc:460-24 Executing getSecureEraseCmd command.
mysql-fd-client (100): filed/dir_cmd.cc:441-24 <dird: storage address=storage.local port=9103 ssl=4

mysql-fd-client (100): filed/dir_cmd.cc:460-24 Executing storage  command.
mysql-fd-client (100): lib/bsock.cc:85-24 Construct BareosSocket
mysql-fd-client (100): filed/dir_cmd.cc:1459-24 StorageCmd: storage address=storage.local port=9103 ssl=4
mysql-fd-client (110): filed/dir_cmd.cc:1474-24 Open storage: storage.local:9103 ssl=4
mysql-fd-client (100): lib/bsock.cc:161-24 All source addresses
mysql-fd-client (100): lib/bsock_tcp.cc:271-24 Current host[ipv4;192.168.101.1;9103]  All host[ipv4;192.168.101.1;9103]
mysql-fd-client (100): lib/bsock_tcp.cc:199-24 who=Storage daemon host=storage.local port=9103
mysql-fd-client (110): filed/dir_cmd.cc:1501-24 Connection OK to SD.
mysql-fd-client (100): lib/tls_openssl_private.cc:57-24 Construct TlsOpenSslPrivate
mysql-fd-client (100): lib/tls_openssl_private.cc:618-24 Set tcp filedescriptor: <6>
mysql-fd-client (100): lib/tls_openssl_private.cc:636-24 Set protocol: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:558-24 Set ca_certfile: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:564-24 Set ca_certdir: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:570-24 Set crlfile_: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:576-24 Set certfile_: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:582-24 Set keyfile_: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:600-24 Set dhfile_: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:624-24 Set cipherlist: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:630-24 Set ciphersuites: <>
mysql-fd-client (100): lib/tls_openssl_private.cc:606-24 Set Verify Peer: <false>
mysql-fd-client (50): lib/tls_openssl.cc:61-24 Preparing TLS_PSK CLIENT context for identity R_JOB mysql-job.2025-12-23_21.32.44_41
mysql-fd-client (100): lib/tls_openssl_private.cc:612-24 Set ktls: <false>
mysql-fd-client (100): lib/tls_openssl_private.cc:545-24 psk_client_cb. identity: R_JOB mysql-job.2025-12-23_21.32.44_41.
mysql-fd-client (50): lib/bnet.cc:192-24 TLS client negotiation established.
mysql-fd-client (50): lib/bsock.cc:391-24 TwoWayAuthenticate failed, because job was canceled.
mysql-fd-client (100): lib/bsock.cc:137-24 Destruct BareosSocket
mysql-fd-client (100): lib/tls_openssl_private.cc:80-24 Destruct TlsOpenSslPrivate
mysql-fd-client (100): filed/dir_cmd.cc:463-24 Quit command loop. Canceled=1
mysql-fd-client (110): filed/dir_cmd.cc:487-24 End FD msg: 2800 End Job TermCode=102 JobFiles=0 ReadBytes=0 JobBytes=0 Errors=1 VSS=0 Encrypt=0

mysql-fd-client (150): filed/fd_plugins.cc:1925-24 Free instance fd-plugin_ctx_list=0x7fb6c4018400 JobId=24
mysql-fd-client (100): lib/jcr.cc:378-24 Destruct JobControlRecord
mysql-fd-client (50): lib/crypto_openssl.cc:1544-24 SSL_get_error() returned ssl-error
mysql-fd-client (100): lib/tls_openssl_private.cc:80-24 Destruct TlsOpenSslPrivate
mysql-fd-client (100): lib/bsock.cc:137-24 Destruct BareosSocket
mysql-fd-client (100): lib/bsys.cc:659-24 write_last_jobs seek to 192
mysql-fd-client (100): lib/jcr.cc:268-24 FreeCommonJcr: 0x7fb6c4014b90
mysql-fd-client (100): filed/dir_cmd.cc:507-0 Done with FreeJcr


So I went ahead and fixed the BareosFdWrapper and BareosFdPluginBaseclass and managed to get rid of the error but then I was getting:

"AttributeError: module 'bareosfd' has no attribute 'PluginBase'"

I've tried many changes to the plugin .py files (I cannot remember how much now) and the issue is always comes back with:

"15 2025-12-23 21:24:28 File JobId 22: Because no backup data was received, no device was reserved. As such no Session Labels were written for this job."

I'm not well versed in Python (or programming at all) so I'm not really getting anywhere with trying to fix the code.
Unfortuantely I cannot use bareos-filedaemon-percona-xtrabackup-python-plugin because that works with MySQL 8.4 and I have MySQL 8.0
I can backup any other files from the same host, so the issue is not really the config but the plugin (seems to me, might be wrong).

I tried downloading an older version of Bareos but it seems that community support is only for current (I totally understand, free product= we are the testers), should I open a bug?
Any help would be greatly appreciated!

Bruno Friedmann (bruno-at-bareos)

unread,
Dec 24, 2025, 4:04:29 AM12/24/25
to bareos-users
Hi Fabién
So the module you're trying to use is a community module which is supported / developed by the community. Bareos gmbH package it, that's all.
But anyway this module has a systemtest and should be tested before release (I will check if this is the case under SUSE).

What you might want to try instead perconna is the mariadb plugin which allow pitr backup/restore on mariadb and that one should work out of the box.

If you can yes, please open an issue on github, giving as much information as you can.

Regards

Bruno Friedmann (bruno-at-bareos)

unread,
Dec 24, 2025, 5:13:26 AM12/24/25
to bareos-users
> Unfortuantely I cannot use bareos-filedaemon-percona-xtrabackup-python-plugin because that works with MySQL 8.4 and I have MySQL 8.0

For the right version, it seems version 8.0 can still be grabbed from perconna

Install that version to connect the plugin with.

Regards

Fabién Jardinero

unread,
Dec 24, 2025, 11:13:54 PM12/24/25
to bareos-users
Thank you so much for you help Bruno, and Merry Christmas!
Unfortunately running into the same error message with Percona Xtrabackup Plugin:
mysql-fd-client JobId 37: Fatal error: bareosfd: Traceback (most recent call last):
File "/usr/lib64/bareos/plugins/bareos-fd-percona-xtrabackup.py", line 26, in 
from BareosFdWrapper import *

ModuleNotFoundError: No module named 'BareosFdWrapper'

Is there any documentation as to what changed on Bareos25 that I need to adjust on plugins?

I really want to push for Bareos product on production because aside from this small hiccup, I found your product fascinating in terms of configuration and debugging, it's PERFECT. I don't want to sound too flattering and sweet-talking, but coming from an IBM Spectrum environment (ugh), your product is a breath of fresh air!
Unfortunately the DB plugin is a blocker since we don't want to depend on cron jobs to mysqldump the DBs and then pull them with Bareos, to avoid more points of failure.

So if you could point me to the right direction on what I need to fix on the plugin, I'll definitely put myself to work on it if needed!
Thanks again in advance.
Fabi.

Bruno Friedmann

unread,
Dec 25, 2025, 3:37:19 AM12/25/25
to bareos-users

Hello,


Tested yesterday, all plugins work quite well here, so there's something that might influence greatly your result.


Two things comes to my mind:

- Do you still use the stock python3 version of SLE (should be 3.6)? or any venv that might interfere with what Bareos is expecting.


- Do you have all related package installed (normally the deps are checked and should just work but who knows), especially did you realize than you need the python3 + plugin installed on the FD doing the backup?

 

Its hard to tell without configuration, job log, trace (check setdebug level=250 on the fd then run a job, usually the trace contain lot of useful information for debugging.


Appart from that, dumping a mysql host can also be done in a runscript pre job instruction something similar to what we do for the BackupCatalog job


Otherwise there's also the excellent bpipe plugin which can ingest directly the mysql-dump.

 

Regards

> >>> 2057868628 <(205)%20786-8628>.1766543567@R_CLIENT::mysql-fd-client>

--

  Bruno Friedmann         

  Bareos GmbH & Co. KG     Phone: +49 221-630693-95

  https://www.bareos.com


 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646

 Komplementär: Bareos Verwaltungs-GmbH

 Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz

signature.asc

Fabién Jardinero

unread,
Dec 25, 2025, 8:28:15 PM12/25/25
to bareos-users
Hello Bruno! Thanks again for the valuable help!

1) Yeah, python3 is stock for SLE:
# python3 --version
Python 3.6.15

2) No VENV setup on this host, it's as stock as stock can be.

3) I do have all related packages on MySQL FD (or at least I believe I do):

# zypper se bareos | grep -e "i+" -e "i  |"
i  | bareos-common                                      | Common files, required by multiple Bareos packages                        | package
i+ | bareos-contrib-filedaemon-python-plugins           | Additional File Daemon Python plugins, not part of the Bareos project     | package
i+ | bareos-contrib-tools                               | Additional tools, not part of the Bareos project                          | package
i+ | bareos-filedaemon                                  | Bareos File daemon (backup and restore client)                            | package
i+ | bareos-filedaemon-mariabackup-python-plugin        | Mariabackup Python plugin for Bareos File daemon                          | package
i+ | bareos-filedaemon-percona-xtrabackup-python-plugin | Percona xtrabackup Python plugin for Bareos File daemon                   | package
i  | bareos-filedaemon-python-plugins-common            | Python plugin for Bareos File daemon                                      | package
i+ | bareos-filedaemon-python3-plugin                   | Python plugin for Bareos File daemon                                      | package
i+ | bareos-tools                                       | Bareos CLI tools (bcopy, bextract, bls, bregex, bwild, bdedupestimate)    | package
i+ | python3-bareos                                     | Backup Archiving REcovery Open Sourced - Python module                    | package

# ls /usr/lib64/bareos/plugins/
bareos-fd-mariabackup.py         bareos_mysql_dump  bpipe-fd.so   openvz7      python3-fd.so
bareos-fd-percona-xtrabackup.py  bareos_tasks       mariadb-dump  __pycache__


Only error I see when debugging at level 250 is:

mysql-fd-client (150): filed/fd_plugins.cc:526-40 plugin_ctx=0x7f2350018400 JobId=40 event=17
mysql-fd-client (150): filed/fd_plugins.cc:366-40 plugin=python3-fd.so plen=7 cmd=python3:module_path=/usr/lib64/bareos/plugins:module_name=bareos-fd-percona-xtrabackup:mycnf=/var/lib/bareos/.my.cnf len=7
mysql-fd-client (150): filed/fd_plugins.cc:304-40 IsEventForThisPlugin? name=python3:module_path=/usr/lib64/bareos/plugins:module_name=bareos-fd-percona-xtrabackup:mycnf=/var/lib/bareos/.my.cnf len=7 plugin=python3-fd.so plen=7
mysql-fd-client (150): filed/fd_plugins.cc:321-40 IsEventForThisPlugin: yes, full match (plugin=python3-fd.so, name=python3:module_path=/usr/lib64/bareos/plugins:module_name=bareos-fd-percona-xtrabackup:mycnf=/var/lib/bareos/.my.cnf)
mysql-fd-client (150): filed/fd_plugins.cc:539-40 updated cmd = 'python3:module_path=/usr/lib64/bareos/plugins:module_name=bareos-fd-percona-xtrabackup:mycnf=/var/lib/bareos/.my.cnf'
mysql-fd-client (150): include/python_plugin_modules_common.inc:66-40 python3-fd.so: python3-fd: Trying to load module with name bareos-fd-percona-xtrabackup
mysql-fd-client (150): include/python_plugin_modules_common.inc:74-40 python3-fd.so: python3-fd: Failed to load module with name bareos-fd-percona-xtrabackup
mysql-fd-client (150): include/python_plugins_common.inc:155-40 python3-fd.so: bareosfd: Traceback (most recent call last):
  File "/usr/lib64/bareos/plugins/bareos-fd-percona-xtrabackup.py", line 26, in <module>

    from BareosFdWrapper import *
ModuleNotFoundError: No module named 'BareosFdWrapper'

mysql-fd-client (150): filed/fd_plugins.cc:575-40 Cancel return from GeneratePluginEvent


Are you using Bareos 25? Mostly because the lines:
from BareosFdWrapper import *
ModuleNotFoundError: No module named 'BareosFdWrapper'
Tell me the module name changed on Bareos25?

I will see if I can get my head around runscript before job and bpipe, maybe I can come up with a workaround! I just want to avoid leaving any lingering files from the mysqldump.

Thanks again for the great help, Bruno!


Fabi.

Fabién Jardinero

unread,
Dec 25, 2025, 8:34:18 PM12/25/25
to bareos-users
Nevermind, the runscripts worked like a charm!!! 🙌 Thank you so much as always Bruno, your product is so flexible and fantastic I'm sure we'll end up choosing it!!!

Bruno Friedmann (bruno-at-bareos)

unread,
Dec 29, 2025, 4:45:39 AM12/29/25
to bareos-users
Hi glad to know the runscript and mysqldump work for you.

perconna xtrabackup add the possibility to use PITR which is usually what we want when doing backups from db.
the dump is more or like an archive export ...

So this morning I redo a whole test and things goes perfectly well.

see attached joblog (I used a Leap 15.6 to be quicker) but similar result are done on a SLES.
I used mysql 8.0 from Oracle https://dev.mysql.com/downloads/file/?id=545965 
and perconna xtrabackup version el9 from there

simply worked as expected.

zypper -v in  bareos-filedaemon-percona-xtrabackup-python-plugin
Verbosity: 2
Non-option program arguments: 'bareos-filedaemon-percona-xtrabackup-python-plugin'
Initializing Target
Checking whether to refresh metadata for bareos
Checking whether to refresh metadata for Update repository of openSUSE Backports
Checking whether to refresh metadata for Non-OSS Repository
Checking whether to refresh metadata for Open H.264 Codec (openSUSE Leap)
Checking whether to refresh metadata for Main Repository
Checking whether to refresh metadata for Update repository with updates from SUSE Linux Enterprise 15
Checking whether to refresh metadata for Main Update Repository
Checking whether to refresh metadata for Update Repository (Non-Oss)
Loading repository data...
Reading installed packages...
Selecting 'bareos-filedaemon-percona-xtrabackup-python-plugin-25.0.2~pre13.add249aa9-15.x86_64' from repository 'bareos' for installation.
Resolving package dependencies...
Force resolution: No

The following 5 NEW packages are going to be installed:
  bareos-filedaemon-percona-xtrabackup-python-plugin  25.0.2~pre13.add249aa9-15
  bareos-filedaemon-python-plugins-common             25.0.2~pre13.add249aa9-15
  bareos-filedaemon-python3-plugin                    25.0.2~pre13.add249aa9-15
  libpython3_6m1_0                                    3.6.15-150300.10.100.1
  python3-base                                        3.6.15-150300.10.100.1

5 new packages to install.

Package download size:     9.1 MiB

Package install size change:
              |      34.5 MiB  required by packages that will be installed
    34.5 MiB  |  -      0 B    released by packages that will be removed

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): y
committing
Retrieving: bareos-filedaemon-python-plugins-common-25.0.2~pre13.add249aa9-15.x86_64 (bareos)                                                                          (1/5),  16.2 KiB
Retrieving: bareos-filedaemon-python-plugins-common-25.0.2~pre13.add249aa9-15.x86_64.rpm ............................................................................................[done]
Retrieving: python3-base-3.6.15-150300.10.100.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15)                                                  (2/5),   7.8 MiB
Retrieving: python3-base-3.6.15-150300.10.100.1.x86_64.rpm ..............................................................................................................[done (7.2 MiB/s)]
Retrieving: libpython3_6m1_0-3.6.15-150300.10.100.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15)                                              (3/5),   1.2 MiB
Retrieving: libpython3_6m1_0-3.6.15-150300.10.100.1.x86_64.rpm ..........................................................................................................[done (1.1 MiB/s)]
Retrieving: bareos-filedaemon-python3-plugin-25.0.2~pre13.add249aa9-15.x86_64 (bareos)                                                                                 (4/5),  37.0 KiB
Retrieving: bareos-filedaemon-python3-plugin-25.0.2~pre13.add249aa9-15.x86_64.rpm ...................................................................................................[done]
Retrieving: bareos-filedaemon-percona-xtrabackup-python-plugin-25.0.2~pre13.add249aa9-15.x86_64 (bareos)                                                               (5/5),  13.0 KiB
Retrieving: bareos-filedaemon-percona-xtrabackup-python-plugin-25.0.2~pre13.add249aa9-15.x86_64.rpm .................................................................................[done]

Checking for file conflicts: ........................................................................................................................................................[done]
(1/5) Installing: bareos-filedaemon-python-plugins-common-25.0.2~pre13.add249aa9-15.x86_64 ..........................................................................................[done]
(2/5) Installing: python3-base-3.6.15-150300.10.100.1.x86_64 ........................................................................................................................[done]
(3/5) Installing: libpython3_6m1_0-3.6.15-150300.10.100.1.x86_64 ....................................................................................................................[done]
(4/5) Installing: bareos-filedaemon-python3-plugin-25.0.2~pre13.add249aa9-15.x86_64 .................................................................................................[done]
(5/5) Installing: bareos-filedaemon-percona-xtrabackup-python-plugin-25.0.2~pre13.add249aa9-15.x86_64 ...............................................................................[done]
CommitResult  (total 5, done 5, error 0, skipped 0, updateMessages 0)


Commented out directory plugin name 

systemctl restart bareos-fd
bconsole <<< "status client=bareos-fd"
Connecting to Director localhost:9101
 Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
1000 OK: bareos-dir Version: 25.0.2~pre13.add249aa9 (16 December 2025)
Bareos community build (UNSUPPORTED).
Get professional support from https://www.bareos.com
You are connected using the default console

Enter a period (.) to cancel a command.
status client=bareos-fd
Connecting to Client bareos-fd at localhost:9102
 Handshake: Immediate TLS, Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3

opensuse-leap_15-fd Version: 25.0.2~pre13.add249aa9 (16 December 2025) openSUSE Leap 15.6
Daemon started 29-Dec-25 09:20. Jobs: run=0 running=0, Bareos community binary
 Sizeof: boffset_t=8 size_t=8 debug=0 trace=0 bwlimit=0kB/s
Plugin Info:
 Plugin     : bpipe-fd.so
 Description: Bareos Pipe File Daemon Plugin
 Version    : 2 (January 2014)
 Author     : Kern Sibbald
 License    : Bareos AGPLv3
 Usage      : bpipe:file=<filepath>:reader=<readprogram>:writer=<writeprogram>
 readprogram runs on backup and its stdout is saved
 writeprogram runs on restore and gets restored data into stdin
 the data is internally stored as filepath (e.g. mybackup/backup1)

 Plugin     : python3-fd.so
 Description: Python File Daemon Plugin
 Version    : 4 (May 2020)
 Author     : Bareos GmbH & Co. KG
 License    : Bareos AGPLv3
 Usage      : python3:module_name=<python-module-to-load>:module_path=<path-to-python-modules>:...

  module_name: The name of the Python module.
  module_path: Python search path for the module.
               The path '/usr/lib64/bareos/plugins' is always checked for modules.
  Additional parameters are plugin specific.

And run jobs.

I've seen this on your config fileset

:mycnf=/var/lib/bareos/.my.cnf 

Just be sure it is put in the bareos-fd var/lib/bareos dir.

job1 is the first full
job2 is an incremental after adding one row ...

So hopefully when you will have subscribed your support, we will discover what create a trouble on your installation.
;-)

BTW, none of the community are just "béta-tester", there more than 10'000 tests played over all supported platform and only when the whole stack is green a merge into master (and dedicated release branch) is accepted. 

Best wishes for 2026.
jobid_2.txt
jobid_1.txt
Reply all
Reply to author
Forward
0 new messages