We use mariadb galera managed by systemd on Ubuntu 18.04. There is datadir set to environment in systemd config:
I've needed to add one server into cluster but it keep failing. I've check logs and found this line:
This is default datadir, which we don't use. innobackupex-move seems to ignore environment settings. After adding datadir into mariadb config file innobackupex-move and whole process succeded.
wsrep_sst_method is set to mariabackup
I've added systemd config file for mariadb service.