Hello Denis,

Am 04.11.2016 um 11:43 schrieb Denis Barbazza:
> Hello,
> I'm trying to setup a new backup server with bareos 16.2.4 and a
> client with same version and percona-xtrabackup plugin, but I run into
> trouble :(
>
> I'm running Debian Stretch and I followed the guide here:
> https://github.com/bareos/bareos-contrib/tree/master/fd-plugins/bareos_percona
> My percona xtrabackup is version 2.3.5 (I tried also with 2.2 with
> same result, with 2.4 I received a 11 signal (and I read in a forum
> that they suggest to downgrade).
Version 2.3.5 runs on my development machine, should work, while earlier
versions likely do not work.

>
> The problem is that if i manually run the backup command everything
> works ok:
> 'xtrabackup  --backup --datadir=/var/lib/mysql/ --stream=xbstream
> --extra-lsndir=/tmp/tmpYmkHJn '
> It creates the file with dump.
>
> If i run the job through bareos-director it return ok, but it only
> backups a file called:
> _percona/xbstream.000000XX (where XX is a number that increments each
> time).
That is correct, the xbrstream file contains the output of the
xtrabackup command as dump in xbstream-format.


>
> The file as NaN size, and if I try to restore it, the restore fails with:
> Error: python-fd: No lsn information found in restore object for file
> /tmp/bareos-restores//_percona/xbstream.0000000020 from job 20

This is not good.

Please do the following:
- run the xtrabackup manually as above.
send the file xtrabackup_checkpoints from your temp-directory:
/tmp/tmpYmkHJn

Run FD in Debug mode and send the output after running a backup and a
restore job.

To activate debug on your client-fd, do something like
*setdebug client=centos-fd trace=on level=200
...
you should get output like:
--
Connecting to Client centos-fd at centos:9102
2000 OK setdebug=150 trace=0 hangup=0 timestamp=0
tracefile=/var/lib/bareos/centos-fd.trace

bconsolse tells you where to look for the tracefile=/...
Attach that tracefile (after having removed eventual sensible information).

Regards
Maik



>
> Please tell me what I can try, if you need more information simply ask
> me and I'll provide everything.
>
>
> thank you all
>
> -- 
> Denis
> -- 
> 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]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.

-- 
With kind regards // Mit freundlichen Grüßen
--
 Maik Außendorf                             [email protected]
 Bareos GmbH & Co. KG                       Phone: +49221630693-93
 http://www.bareos.com                      Fax: +49221630693-10
** Visit us at Paris Open Source Summit 2016 http://opensourcesummit.paris **

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer: Stephan Dühr, M. Außendorf, 
 J. Steffens, P. Storz

-- 
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.

Reply via email to