Steffen <[email protected]> writes: > 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,
so you get a proper xbstream on stdout, and the exit status is 0? > 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: xtrabackup does not document what exit code 3 means. I think you need to work more on how to reproduce the error outside Bareos. things to try is to run xtrabackup in an empty environment (no $HOME etc.). one thing I did to help debug xtrabackup was basically mv xtrabackup xtrabackup.real and make xtrabackup a shell script which does #! /bin/sh $0.real "$@" | tee /tmp/xtrabackup.output ret=$? echo "exit code $ret" >> /tmp/xtrabackup.exit exit $ret season to taste :-) -- Kjetil T. Homme Redpill Linpro AS - Changing the game -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
