On Friday, October 6, 2017 at 6:22:19 PM UTC+3, George Kontostanos wrote:
> On Friday, October 6, 2017 at 6:03:16 PM UTC+3, maik.aussendorf wrote:
> > Hi George,
> > 
> > please also post a trace of the backup job. I assume something has gone
> > wrong with the original backup. Please use the latest plugin version
> > from Git, as it includes a better way to get the LSN and logging.
> 
> Hi Mike, I am actually using the plugins from git. 
> > 
> > I am also wondering what you try to do with
> > 
> > python:module_path=/usr/lib64/bareos/plugins:module_name=bareos-fd-percona:mysqluser=bareos:mysqlpassword=wae5Vi5shai
> > 
> > the options mysqluser and mysqlpassowrd, that are no valid options for
> > the plugin. You need to place credentials using the my.cnf mechanism.
> 
> I understand however this is the way that the mysqldump plugin works. I would 
> prefer to avoid having passwords in my.cnf
> 
> I will try it and let you know.
> > 
> > https://github.com/bareos/bareos-contrib/tree/master/fd-plugins/bareos_percona
> > 
> > Regards
> > 
> > Maik
> 
> Thanks
> 
> George
> > 
> > Am 06.10.2017 um 15:20 schrieb George Kontostanos:
> > > On Friday, October 6, 2017 at 3:07:01 PM UTC+3, maik.aussendorf wrote:
> > >> Hi,
> > >>
> > > Hi Mike
> > >> Am 06.10.2017 um 13:02 schrieb George Kontostanos:
> > >>> Hello,
> > >>>
> > >>> I am trying to restore a successful backup using xtrabackup.
> > >>>
> > >>> The web UI shows the size of the backup as NaN undefined. I am not sure 
> > >>> if this is normal:
> > >>>
> > >>> https://s1.postimg.org/3stincso73/Screen_Shot_2017-10-06_at_12.58.39.png
> > >>>
> > >>> When the restore finishes I get the following error:
> > >>>
> > >>> dir-fd JobId 2933: Error: python-fd: No lsn information found in 
> > >>> restore object for file 
> > >>> /tmp/bareos-restores//_percona/xbstream.0000002899 from job 2899
> > >>>
> > >>> I tried it again in debug mode like this:
> > >>>
> > >>> *setdebug client=my.client trace=on level=200
> > >> it must be trace=1 (not trace=on).
> > > Thanks, this time I got the trace 
> > > :(https://drive.google.com/file/d/0B6SfXxoaUYIVRU9laUlEbmF0cmM/view?usp=sharing)
> > >
> > >> Then check on backup, if the LSN was found.
> > > Same error again: dir-fd JobId 2937: Error: python-fd: No lsn information 
> > > found in restore object for file 
> > > /tmp/bareos-restores//_percona/xbstream.0000002899 from job 2899
> > >
> > >> Regards
> > >> Maik
> > >>
> > >>> 2000 OK setdebug=200 trace=0 hangup=0 timestamp=0 
> > >>> tracefile=/var/lib/bareos/dir-fd.trace
> > >>>
> > >>> However, it does not seem to create a trace file.
> > >>>
> > >>> Dir and FD run CentOS 7.4 Bareos Version: 16.2.4
> > >>>
> > >>> Any idea on how to troubleshoot this further?
> > >>>
> > >>> Thanks
> > >>>
> > >>> George
> > >>>
> > >>>   
> > >>>
> > >> -- 
> > >> With kind regards // Mit freundlichen Grüßen
> > >> --
> > >> Open Source Backup Conference Sept. 25-26 2017 http://osbconf.org
> > >> ---
> > >>  Maik Außendorf                             [email protected]
> > >>  Bareos GmbH & Co. KG                       Phone: +49221630693-93
> > >>  http://www.bareos.com                      Fax: +49221630693-10
> > >>
> > >>  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
> > > Regards
> > >
> > > George
> > >
> > 
> > -- 
> > 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
> > 
> >  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

Hi Mike,

I have tried it and I am getting now the following error when try to backup:

dir-fd JobId 2986: Fatal error: python-fd: Dump command returned non-zero 
value: 1, command: "xtrabackup /etc/my.cnf--backup --stream=xbstream 
--extra-lsndir=/tmp/tmpC8aCfq" message: 

my.cnf:

[mysql]
user=bkpuser
password=s3cret

FileSet {
Name = "client-name"
Include  {
Options {
compression=GZIP
signature = MD5
}
Plugin = 
"python:module_path=/usr/lib64/bareos/plugins:module_name=bareos-fd-percona:mycnf=/etc/my.cnf"
}
}

If I run the following command in the FD the backup works:

xtrabackup --user=bkpuser --password=s3cret --backup --target-dir=/tmp

I could not get a trace 

Any thoughts?

Thanks

George 

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