Hello Łukasz,
at least one error is generated during the restore. You can check the system logs when this error
happens to see what might be the cause.
It might be the case that access rights, selinux/apparmor denies access to some
files or directories.
Also, it might be problematic to restore /var while the system is running and
/var is still in usage.
For debugging, you should set the debug level to e.g. 500 which will give you much more info and
probably the system call that gets the error result.
Also, it would help to have the full job log.
Best regards,
Philipp
Am 30.07.22 um 10:44 schrieb Łukasz Szczepanik:
Hi,
For one of my directories ( /var ) on one of my host I always get *** Restore
Error *** status.
This strange behavior confuses me because according to the Bareos-fd logs all files have been
restored without any issues. Debug mode shows me no errors during restoration just one line indicate
some issue " End FD msg: 2800 End Job TermCode=69 ":
###############################################################
Jul 30 08:31:55 my-host-fd[2081653]: my-host-fd(100): filed/restore.cc:552-0 === message_length=74
attrExlen=0 msg=23820 5 /var/
Jul 30 08:31:55 my-host-fd2081653]: my-host-fd(10): filed/restore.cc:1054-0 End Do Restore.
Files=3354 Bytes=3084036634
Jul 30 08:31:55 my-host-fd2081653]: my-host-fd (100): filed/heartbeat.cc:153-0 Send kill to
heartbeat id
Jul 30 08:31:55 my-host-fd2081653]: my-host-fd100): lib/bsock.cc:136-0
Destruct BareosSocket
Jul 30 08:31:55 my-host-fd[2081653]: my-host-fd(100): filed/dir_cmd.cc:2328-0 filed>stored: read
close session 85
Jul 30 08:31:55 my-host-fd2081653]: my-host-fd (100): filed/dir_cmd.cc:2370-0
Done in job.c
Jul 30 08:31:55 my-host-fd[2081653]: my-host-fd(100): filed/dir_cmd.cc:2373-0
2000 OK storage end
Jul 30 08:31:55 my-host-fd[2081653]: my-host-fd (5): filed/dir_cmd.cc:2391-0
EndRestoreCmd
Jul 30 08:31:55 my-host-fd[2081653]: my-host-fd (100): filed/dir_cmd.cc:452-0 Quit command loop.
Canceled=1
Jul 30 08:31:55 my-host-fd[2081653]: my-host-fd(110): filed/dir_cmd.cc:482-0 End FD msg: 2800 End
Job TermCode=69 JobFiles=3354 ReadBytes=351341536 JobBytes=3084036634 Errors=1 VSS=0 Encrypt=1
###############################################################
Does anyone know how to debug such errors in other way. What else I can do to check where is the
problem. Othere dirs on this machine restore without any issue.
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
[email protected] <mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/223e357d-5722-42a1-b745-54a47872c28fn%40googlegroups.com
<https://groups.google.com/d/msgid/bareos-users/223e357d-5722-42a1-b745-54a47872c28fn%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Mit freundlichen Grüßen
Philipp Storz [email protected]
Bareos GmbH & Co. KG Phone: +49 221 63 06 93-92
http://www.bareos.com Fax: +49 221 63 06 93-10
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
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 view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/ed47e3fe-78a9-f666-4f18-fdbdc9cb9c64%40bareos.com.