вторник, 8 ноября 2016 г., 16:56:17 UTC+6 пользователь maik.aussendorf написал: > Hello Denis, > > > > > > Am 08.11.2016 um 10:57 schrieb Denis > Barbazza: > > > > > Hello Maik, thank you for your reply. > > > > > > I found the problem, it was so simple, damn :-( > > the client cannot reach the storage daemon, I discovered it > because when I run a file backup it simply told me :( > > > Good. > > > > > > > > > > But.... > > > > > > Now I was able to make a full backup, size is approsimately > 1GB (it could be real). > > The problem is that if I try to run an incremental backup I > obtain this error. > > > > > > > > > > > > > > > > > > > > 08-Nov 10:50 bareos-dir JobId 50: Start Backup JobId > 50, Job=dragon-mysql.2016-11-08_10.50.55_55 > > 08-Nov 10:50 bareos-dir JobId 50: Using Device > "FileStorage" to write. > > 08-Nov 10:50 dragon-fd JobId 50: python-fd: Got > to_lsn 10998506785 from restore object of job 49 > > 08-Nov 10:50 bareos-sd JobId 50: Volume > "Incremental-0100" previously written, moving to end of > data. > > 08-Nov 10:50 bareos-sd JobId 50: Ready to append to > end of Volume "Incremental-0100" size=496585614 > > 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: > '' > > > > > > 08-Nov 10:50 dragon-fd JobId 50: Fatal error: > fd_plugins.c:654 Command plugin > "python:module_path=/usr/lib/bareos/plugins:module_name=bareos-fd-percona" > requested, but is not loaded. > > 08-Nov 10:50 bareos-sd JobId 50: Elapsed > time=00:00:01, Transfer rate=0 Bytes/second > > 08-Nov 10:50 bareos-dir JobId 50: Error: Bareos > bareos-dir 16.2.4 (01Jul16): > > Build OS: x86_64-pc-linux-gnu debian > Debian GNU/Linux 8.0 (jessie) > > JobId: 50 > > Job: > dragon-mysql.2016-11-08_10.50.55_55 > > Backup Level: Incremental, > since=2016-11-08 10:44:49 > > Client: "dragon-fd" 16.2.4 > (01Jul16) x86_64-pc-linux-gnu,debian,Debian GNU/Linux > 8.0 (jessie),Debian_8.0,x86_64 > > FileSet: "mysql" 2016-11-04 11:14:29 > > Pool: "Incremental" (From command > line) > > Catalog: "MyCatalog" (From Client > resource) > > Storage: "File" (From Job resource) > > Scheduled time: 08-Nov-2016 10:50:55 > > Start time: 08-Nov-2016 10:50:57 > > End time: 08-Nov-2016 10:50:58 > > Elapsed time: 1 sec > > Priority: 10 > > FD Files Written: 0 > > SD Files Written: 0 > > FD Bytes Written: 0 (0 B) > > SD Bytes Written: 0 (0 B) > > Rate: 0.0 KB/s > > Software Compression: None > > VSS: no > > Encryption: no > > Accurate: no > > Volume name(s): > > Volume Session Id: 48 > > Volume Session Time: 1478171275 > > Last Volume Bytes: 0 (0 B) > > Non-fatal FD errors: 1 > > SD Errors: 0 > > FD termination status: Fatal Error > > SD termination status: Canceled > > Termination: *** Backup Error *** > > > > > > > > it seems that it can't recognize last lsn. > > > > Yes, that seems to be the problem. > > > > echo 'SHOW ENGINE INNODB STATUS' | mysql -r > > It should contain a line like > > Log sequence number 14882332 > > > > Can you post that line (or the whole result)? > > > > > > > > > > > > > > another strange thing is that the full mysql backup has 2 > files and 1GB, but if I click on "show files" I can see only > _percona/xbstream.00000XX > > is this normal? I should have also xtrabackup_checkpoints > I think... or I'm wrong? > > > > This is normal. The LSN is stored in a so called 'restore object', > in a kind of virtual file, that's why Bareos reports 2 files (1 > 'virtual' for the restore object, 1 for the xbstream). > > > > Regards > > Maik > > > > > > > > > > > > > > thank you > > > > > -- > > > Denis > > > > > > -- > With kind regards // Mit freundlichen Grüßen > -- > Maik Außendorf maik.au...@bareos.com > 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
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 -- 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 bareos-users+unsubscr...@googlegroups.com. To post to this group, send email to bareos-users@googlegroups.com. For more options, visit https://groups.google.com/d/optout.