[MDEV-26063] mariabackup: unknown option '--version-check' Created: 2021-07-01  Updated: 2021-08-30  Resolved: 2021-08-30

Status: Closed
Project: MariaDB Server
Component/s: Backup, Documentation, mariabackup
Affects Version/s: 10.4.19
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Nguyen Hoang Anh Tu Assignee: Ian Gilfillan
Resolution: Fixed Votes: 0
Labels: None
Environment:

MariaDB 10.4.19 Docker official image, with Galera Cluster


Issue Links:
Relates
relates to MDEV-26505 Remove mariabackup --no-version-check... Open

 Description   

When using mariabackup to create a backup, I used the option --version-check along with the command. The command looked similar to the following:
/usr/bin/mariabackup --backup --user=<username> --password=<password> --galera-info --version-check --ssl --stream=xbstream | gzip - > /opt/backup/full/testbu.gz

The result of the command was:
/usr/bin/mariabackup: unknown option '--version-check'



 Comments   
Comment by Sergei Golubchik [ 2021-07-17 ]

why did you use it? what result did you expect?

Comment by Elena Stepanova [ 2021-08-18 ]

mariabackup used to have this option (inherited from xtrabackup, surely), but not anymore. If it did what is documented for Percona xtrabackup, then it indeed doesn't make sense for mariabackup:

When launched with Version Check enabled, the tool that supports this feature connects to a Percona’s version check service via a secure HTTPS channel. It compares the locally installed version for possible updates, and also checks versions <...>

So it was probably the right way to remove it, although not very backward-compatible.

However, it is still documented in the KB, so it is a documentation bug to fix.

Comment by Ian Gilfillan [ 2021-08-24 ]

I have removed ##version-check## from the page. ##no-version-check" is however still present.

Generated at Thu Feb 08 09:42:28 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.