I am able to successfully use galera with mariabackup with no encryption of SST logs (default encrypt=0).
however, the galera SST log file is unencrypted when using mariabackup with galera.
============
when using with encrypt=2, a different error results-
2018-04-17 18:53:43 139677235410688
[Note]
WSREP: Running: 'wsrep_sst_mariabackup --role 'joiner' --address
'10.180.48.128' --datadir '/var/lib/mysql/' --parent '1' --binlog
'/var/log/mysql/mariadb-bin' '
WSREP_SST:
[INFO] Logging all stderr of SST/Innobackupex to syslog (20180417 18:53:43.358)
2018-04-17 18:53:43 139677235410688
[ERROR]
WSREP: Failed to read 'ready <addr>' from: wsrep_sst_mariabackup
--role 'joiner' --address '10.180.48.128' --datadir '/var/lib/mysql/'
--parent '1' --binlog '/var/log/mysql/mariadb-bin'
Read: '(null)'
2018-04-17 18:53:43 139677235410688
[ERROR]
WSREP: Process completed with error: wsrep_sst_mariabackup --role
'joiner' --address '10.180.48.128' --datadir '/var/lib/mysql/'
--parent '1' --binlog '/var/log/mysql/mariadb-bin' : 22 (Invalid
argument)
2018-04-17 18:53:43 139677441746688
[ERROR] WSREP: Failed to prepare for 'mariabackup' SST. Unrecoverable.
2018-04-17 18:53:43 139677441746688
[ERROR] Aborting
======
NOTE: feedback from Maria board is that it is likely a galera error (
https://jira.mariadb.org/browse/MDEV-15910?focusedCommentId=109831&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-109831)