MySQL 8.033 backup with xtrabackup

17 views
Skip to first unread message

Silvio Schloeffel

unread,
May 24, 2023, 9:36:38 AM5/24/23
to bareos-users
Hi,


we have a MySQL 8.0.33 server running and every test to get the backup
running failed with something like this:


Fatal error: python3-fd-mod: Dump command returned non-zero value: 1,
command: "xtrabackup
--defaults-extra-file=/root/.config/bareos/bareos.my.cnf --backup
--stream=xbstream --extra-lsndir=/tmp/tmp15_2res6"


So I tested the command direct on the commandline and ...

2023-05-24T13:25:17.222587-00:00 0 [Note] [MY-011825] [Xtrabackup]
recognized server arguments: --datadir=/var/lib/mysql
--innodb_buffer_pool_size=16G --innodb_file_per_table=1
--innodb_io_capacity=800 --innodb_read_io_threads=32
--innodb_write_io_threads=32 --innodb_log_buffer_size=2G
--innodb_flush_method=O_DSYNC
2023-05-24T13:25:17.222807-00:00 0 [Note] [MY-011825] [Xtrabackup]
recognized client arguments: --user=backupuser --password=* --backup=1
--stream=xbstream --extra-lsndir=/tmp/tmp1_1dfjd0
xtrabackup version 8.0.32-26 based on MySQL server 8.0.32 Linux (x86_64)
(revision id: 34cf2908)
230524 13:25:17 version_check Connecting to MySQL server with DSN
'dbi:mysql:;mysql_read_default_group=xtrabackup' as 'backupuser' (using
password: YES).
230524 13:25:17 version_check Connected to MySQL server
230524 13:25:17 version_check Executing a version check against the
server...
230524 13:25:17 version_check Done.
2023-05-24T13:25:17.293785-00:00 0 [Note] [MY-011825] [Xtrabackup]
Connecting to MySQL server host: localhost, user: backupuser, password:
set, port: not set, socket: not set
2023-05-24T13:25:17.297239-00:00 0 [ERROR] [MY-011825] [Xtrabackup]
Unsupported server version 8.0.33
2023-05-24T13:25:17.297257-00:00 0 [ERROR] [MY-011825] [Xtrabackup]
Please upgrade PXB, if a new version is available. To continue with
risk, use the option --no-server-version-check.


-> 8.033 is "to new"

My question is, where can I add the

--no-server-version-check

option because with this option the backup is running.
If I add this into the client config file it will be ignored.


Best


Silvio



--
Silvio Schloeffel | CIO
silvio.s...@musicdna.com
Tel. +49 3677 2094 840

the evolution of music continues

MusicDNA GmbH
Schwanitzstrasse 6,
98693 Ilmenau, Germany
Phone: +49 3677 2094 840 | Fax: +49 322 298 222 00

Steuer-NR.: DE 156/114/04317

Handelsregisterzeichen: HRB Jena 517208,
Geschäftsführer: Sebastian Schmidt
www.musicdna.com
OpenPGP_signature

Andreas Rogge

unread,
May 26, 2023, 3:38:42 AM5/26/23
to bareos...@googlegroups.com
Am 24.05.23 um 15:36 schrieb Silvio Schloeffel:
>
> -> 8.033 is "to new"
>
> My question is, where can I add the
>
> --no-server-version-check
>
> option because with this option the backup is running.
There's a parameter to the plugin called "extradumpoptions". You should
be able to pass the parameter there.
However, Xtrabackup 8.0.33 was released yesterday, so maybe it is better
to just upgrade to that.

Best Regards,
Andreas

--
Andreas Rogge andrea...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221-630693-86
http://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
OpenPGP_signature
Reply all
Reply to author
Forward
0 new messages