xtrabackup和innobackupex version问题,version参数不可用

innobackupex和xtrabackup从help里都有--version查看版本的功能

[root@lzl ~]# innobackupex --help|grep version
xtrabackup: recognized server arguments: --datadir=/data/mysql --log_bin=master-bin --server-id=1001 
as published by the Free Software Foundation version 2
  -v, --version       print xtrabackup version information
  --no-version-check  This option disables the version check which is enabled
                      by the --version-check option.
                      Percona Server 5.0-series versions, specify the LSN as
[root@lzl ~]# xtrabackup --help|grep version
xtrabackup: recognized server arguments: --datadir=/data/mysql --log_bin=master-bin --server-id=1001 
xtrabackup: recognized client arguments: 
xtrabackup version 2.4.20 based on MySQL server 5.7.26 Linux (x86_64) (revision id: c8b4056)
as published by the Free Software Foundation version 2
  -v, --version       print xtrabackup version information
  --no-version-check  This option disables the version check which is enabled
                      by the --version-check option.
  --tls-version=name  TLS version to use, permitted values are: TLSv1, TLSv1.1,
  --redo-log-version=# 
                      Redo log version of the backup. For --prepare only.
redo-log-version                  1
version                           FALSE
no-version-check                  FALSE
tls-version                       TLSv1,TLSv1.1,TLSv1.2

但是都无法使用

[root@lzl ~]# innobackupex --version
xtrabackup: recognized server arguments: --datadir=/data/mysql --log_bin=master-bin --server-id=1001 
innobackupex version 2.4.20 Linux (x86_64) (revision id: c8b4056)
[root@lzl ~]# xtrabackup --version
xtrabackup: recognized server arguments: --datadir=/data/mysql --log_bin=master-bin --server-id=1001 
xtrabackup version 2.4.20 based on MySQL server 5.7.26 Linux (x86_64) (revision id: c8b4056)

可以通过xtrabackup --help里前面的输出信息查看版本号
[root@lzl ~]# innobackupex --help|head -20
xtrabackup: recognized server arguments: --datadir=/data/mysql --log_bin=master-bin --server-id=1001 
Open source backup tool for InnoDB and XtraDB

Copyright (C) 2009-2015 Percona LLC and/or its affiliates.
Portions Copyright (C) 2000, 2011, MySQL AB & Innobase Oy. All Rights Reserved.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation version 2
of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You can download full text of the license on http://www.gnu.org/licenses/gpl-2.0.txt


innobackupex - Non-blocking backup tool for InnoDB, XtraDB and HailDB databases

[root@lzl ~]# xtrabackup --help|head -20
xtrabackup: recognized server arguments: --datadir=/data/mysql --log_bin=master-bin --server-id=1001 
xtrabackup: recognized client arguments: 
xtrabackup version 2.4.20 based on MySQL server 5.7.26 Linux (x86_64) (revision id: c8b4056)
Open source backup tool for InnoDB and XtraDB

Copyright (C) 2009-2017 Percona LLC and/or its affiliates.
Portions Copyright (C) 2000, 2011, MySQL AB & Innobase Oy. All Rights Reserved.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation version 2
of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You can download full text of the license on http://www.gnu.org/licenses/gpl-2.0.txt

Usage: [xtrabackup [--defaults-file=#] --backup | xtrabackup [--defaults-file=#] --prepare] [OPTIONS]

Default options are read from the following files in the given order:

猜你喜欢

转载自blog.csdn.net/qq_40687433/article/details/107940381