i'm trying to setup the percona xtrabackup plugin but can't get it to work.
When i run the xtrabackup command manually on the client everything works, but when bareos is executing the command I get the following error:
client-fd JobId 43: Fatal error: python-fd: Dump command returned non-zero value: 3, command: "xtrabackup --backup --datadir=/srv/mysql/ --stream=xbstream --extra-lsndir=/srv/tmp/backup" message:
bareos-dir Version: 16.2.4 (01 July 2016) x86_64-pc-linux-gnu debian Debian GNU/Linux 8.0 (jessie) Debian_8.0 x86_64
Client OS: Debian Jessie
Client bareos version: 16.2.4 (01 July 2016)
Python 2.7.9
xtrabackup version 2.4.6 based on MySQL server 5.7.13 Linux (x86_64) (revision id: 54967d1)
My mysql datadir is located in /srv/mysql
My lsndir exists and has rwxrwxrwx rights.
I've also tried to change the data dir in https://github.com/bareos/bareos-contrib/blob/master/fd-plugins/bareos_percona/BareosFdPercona.py#L90 to run everything else with default settings, which results in exactly the same error. I also tried to set the stdErr to PIPE here ( https://github.com/bareos/bareos-contrib/blob/master/fd-plugins/bareos_percona/BareosFdPercona.py#L256 which didn't help ) as i hoped to get more details what's going on and included the stdOut in the error message. Which unfortunately didn't work. So i replaced the file again with the original.
Same results when I set the path to the my.cnf or not in my FileSet plugin module conf.
I went through those 3 threads even if they don't describe exactly my problem but hoped i get some more hints.
https://groups.google.com/forum/#!searchin/bareos-users/percona|sort:relevance/bareos-users/4cQoJ_d8HtA/WT0bKs4fDwAJ
https://groups.google.com/forum/#!searchin/bareos-users/percona|sort:relevance/bareos-users/eI5hZqVPVmE/ISHwlIiLDAAJ
https://groups.google.com/forum/#!searchin/bareos-users/percona|sort:relevance/bareos-users/aaWLMDxUbWU/l53-K773AQAJ
Attached is the trace file.
Any help is really appreciated, thank you in advance.
--
You received this message because you are subscribed to a topic in the Google Groups "bareos-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bareos-users/Z0UDn4Pb1ew/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bareos-users...@googlegroups.com.
To post to this group, send email to bareos...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.