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