Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
mariabackup doesn't currently seem to read all server option groups.
I checked by looking at the following array in extra/mariabackup/xtrabackup.cc:
static const char *xb_server_default_groups[]=
|
{ "xtrabackup", "mariabackup", "mysqld", 0, 0, 0 };
|
And comparing that to the array in include/mysqld_default_groups.h:
const char *load_default_groups[]= {
|
"mysqld", "server", MYSQL_BASE_VERSION,
|
"mariadb", MARIADB_BASE_VERSION,
|
"client-server",
|
#ifdef WITH_WSREP
|
"galera",
|
#endif
|
0, 0};
|
Attachments
Issue Links
- relates to
-
MDEV-14746 mariabackup doesn't read [mariabackup] option group in configuration file
-
- Closed
-
-
MDEV-18405 Add Mariabackup option to set gtid_slave_pos to original server's gtid_current_pos during prepare
-
- Stalled
-
-
MDEV-18917 Don't create xtrabackup_binlog_pos_innodb with Mariabackup
-
- Closed
-
-
MDEV-18931 Rename Mariabackup's xtrabackup_* files to mariadb_backup_*
-
- Closed
-
-
MDEV-18985 Remove support for XtraDB's changed page bitmap from Mariabackup in 10.2+
-
- Closed
-
-
MDEV-19246 Change database and table used for Mariabackup's history
-
- Closed
-
-
MDEV-19264 Better support MariaDB GTID for Mariabackup's --slave-info option
-
- Closed
-
-
MDEV-20552 Remove innobackupex mode from Mariabackup
-
- Stalled
-
-
MDEV-20556 Remove references to "xtrabackup" and "innobackupex" executables in mariabackup option descriptions
-
- Closed
-
-
MDEV-21298 mariabackup doesn't read from the [mariadbd] and [mariadbd-X.Y] server option groups from configuration files
-
- Closed
-
-
MDEV-21301 mariabackup doesn't read [mariadb-backup] option group in configuration file
-
- Closed
-
wlad,
I submitted a pull request that makes mariabackup read all of MariaDB's client and server option groups:
https://github.com/MariaDB/server/pull/1126
I built it and confirmed that it reads the groups:
$ ./extra/mariabackup/mariabackup --help | grep "following groups are read"
./extra/mariabackup/mariabackup based on MariaDB server 10.1.38-MariaDB Linux (x86_64)
The following groups are read: xtrabackup mariabackup mysqld server mysqld-10.1 mariadb mariadb-10.1 client-server galera