Hi Denis,

thanks for clarification!

You are right: the plugin needs better error-handling and
error-messages. I will keep this in mind for the next release.

Regards

Maik


Am 14.11.2016 um 11:01 schrieb Denis Barbazza:
> ok :( I found it, my mistake.
> in .my.cnf i wass missing the part regarding mysql command.
> Maybe you can add a test in BareosFDPercon to check if mysql command
> can login correctly without error.
>
> Hope that this thread can be useful for someone else in the future ;-)
>
> On Mon, Nov 14, 2016 at 10:50 AM, Denis Barbazza
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Hello Maik,
>     another update. I've tried the same setup in debian jessie with
>     percona-xtrabackup-22 and it works.
>     both incremental and full backup.
>     I've tried also restore and it restores all the files.
>     So now it seems an incompatibility of python or mysql version, in
>     my setup i've this:
>     jessie:
>     mysqld  Ver 5.6.34-log
>     Python 2.7.9
>     stretch:
>     mysqld  Ver 5.6.30-1-log
>     Python 2.7.12+
>
>     This is the error when i run incremental backup on stretch:
>     08-Nov 10:50 dragon-fd JobId 50: Fatal error: python-fd: Traceback
>     (most recent call last):
>       File "/usr/lib/bareos/plugins/BareosFdWrapper.py", line 38, in
>     handle_plugin_event
>         return bareos_fd_plugin_object.handle_plugin_event(context, event)
>       File "/usr/lib/bareos/plugins/BareosFdPluginBaseclass.py", line
>     223, in handle_plugin_event
>         return self.start_backup_job(context)
>       File "/usr/lib/bareos/plugins/BareosFdPercona.py", line 166, in
>     start_backup_job
>         last_lsn = int(os.popen(get_lsn_command).read())
>     ValueError: invalid literal for int() with base 10: ''
>
>
>     If there is any kind of tests that i can do let me know.
>
>     thank you for your work
>
>
>     On Thu, Nov 10, 2016 at 8:42 AM, Maik Aussendorf
>     <[email protected] <mailto:[email protected]>>
>     wrote:
>
>         Hi,
>
>         both problem reports here refer to Debian / Ubuntu, while the
>         development and (customer) production environment was
>         RedHat/Centos (7).
>         So I have to reproduce the behavior in a Debian / Ubuntu
>         environment;
>         which will take some time.
>
>
>         > Hi all
>         > I have same trouble, can't restore full backup.
>         > "Error: No lsn information found in restore object for file
>         /tmp/bareos-restores//_percona/xbstream.0000001874 from job 1874 "
>         > my bareos version 15.2.2, xtrabackup 2.4.4, launched in
>         Ubuntu 14.04. How I can troubleshooting this problem and
>         resolve it? Pls help me. Thanks
>         >
>
>         --
>         With kind regards // Mit freundlichen Grüßen
>         --
>          Maik Außendorf                           
>          [email protected] <mailto:[email protected]>
>          Bareos GmbH & Co. KG                       Phone:
>         +49221630693-93 <tel:%2B49221630693-93>
>          http://www.bareos.com                      Fax:
>         +49221630693-10 <tel:%2B49221630693-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]
>         <mailto:bareos-users%[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
>         <https://groups.google.com/d/optout>.
>
>
>
>
>     -- 
>     Denis
>
>
>
>
> -- 
> Denis

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