Details
Description
User with appropriate privileges failed to backup non-galera MariaDB server while using option --galera-info.
KB says :- https://mariadb.com/kb/en/mariabackup-options/#-galera-info If the server is not a Galera Cluster node, then this option has no effect. But it does affect mariabackup , backup keeps failing for all CS.
*Test case :- *
Server version: 10.3.30-MariaDB MariaDB Server
Server version: 10.4.19-MariaDB MariaDB Server
Server version: 10.5.18-MariaDB MariaDB Server
Server version: 10.6.11-MariaDB MariaDB Server
Server version: 10.7.7-MariaDB MariaDB Server
|
[root@mariadb_stand backup]# mariabackup -u root --galera-info --backup --target_dir=/tmp/backup/ > /tmp/backup/output.log 2>&1
|
|
[root@mariadb_stand backup]# tail -3 output.log
|
[00] 2022-12-21 13:25:12 Failed to get master wsrep state from SHOW STATUS.
|
mariabackup: Stopping log copying thread.[00] 2022-12-21 13:25:12 >> log scanned up to (1626148)
|
|
[root@mariadb_stand backup]# mariabackup -u mariabackup -pMaria@128807 --backup --galera-info --target_dir=/tmp/backup/ > /tmp/backup/output.log 2>&1
|
|
[root@mariadb_stand backup]# tail -3 output.log
|
[00] 2022-12-21 13:25:29 Failed to get master wsrep state from SHOW STATUS.
|
mariabackup: Stopping log copying thread.[00] 2022-12-21 13:25:29 >> log scanned up to (1626364)
|
|