On Tuesday 27 September 2005 10:40, Arno Lehmann wrote: > Hello, > > On 26.09.2005 22:32, Aleksandar Milivojevic wrote: > > Just couple of thoughts. > > > > I've got email, with subject line saying my restore failed. Almost gave > > me heart attack. Then I realized it was just one of the log files (size > > probably changed while Bacula was reading it), and all the other files > > (that I actaully cared about) were restored correctly. > > > > Would it be better if this was reported as warning? Or even better, > > reported as warning during the backup? > > This was discussed some time ago, and it was agreed that bacula could > handle these situations better. A warning during backup, as well as > storing the "right" file size (that is, what bacula actually read, not > what it stat'ed before) in the catalog should be the best solution. > > It's even possible that this is already implemented in the current beta > version - you might want to look through the cvs tree and read the > changes and kernstodo files there. > > > The former would be less confusing to the user (OK, all your files were > > restored, but here are some warnings about them). And a lot safer too. > > No heart attacks what you get that email with subject line saying the > > restore failed. However it is already too late to do anything about the > > file the error/warning is complaining about. > > I find the file count mismatches more problematic... but I still didn't > investigate these closer. After all, after some time you know you > software and get used to it and, unfortunately, forget to help imroving > it ;-)
As far as I can tell, this count problem has something to do with counting directories. I think I have improved the handling quite a bit in the current CVS 1.37.40. Anyway, if the problem still exists, and if someone can narrow the problem down to something that is easily reproducible, I will work on it some more. In any case, I prefer to have minor heart attacks when it produces the warning rather than having Bacula silently ignore possible problems as older versions did. > > > The later might be better time to complain (issue warning), since usually > > something can be done about it (if needed) while the file warning is > > about is still "safe" on the disc ;-) > > That's why you could restore to a temporary location and only after > manually verifying the restored files are correct move them to the > original locations :-) -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users