Important upgrade for Win32 FD
Kern Sibbald <[email protected]> Thu, 14 Oct 2004 17:44:34 +0200
| Newsgroups | gmane.comp.sysutils.backup.bacula.announce,gmane.comp.bacula.user |
|---|---|
| Message-ID | <1097768674.3693.905.camel@rufus> |
Hello, I *strongly* recommend that you upgrade to the Win32-Beta version 1.35.9 that I have just released to Source Forge. It has a workaround for a segmentation fault in the Microsoft runtime library localtime_r(). The segmentation fault occurs when Bacula is listing the information about files restored, and is fatal to the restore process. This problem occurs only if you have files with a "bad" time, perhaps due to a transfer from one timezone to another. Anytime you load a file, you could potentially create such a file. To know if you have this problem, run: estimate listing job=xxx where xxx is the name of one of your Win32 backup Jobs. It will produce lots of output, but if the FD crashes you have the problem. To suppress the output in the tty console use: @output /dev/null estimate listing job=xxx @output This version of the FD is compatible with all versions 1.34.x and all 1.35.x. One additional advantage is that this version of the Win32 FD is able to backup all non-exclusively opened files, while previous versions could not backup any open file. There are, unfortunately, some files that cannot be backed up. It is possible to backup *all* files on WinXP and higher systems but only through secret Microsoft APIs that appear to be available only to privileged business partners and not to developers such as myself -- I hope you are suitably outraged. More on that later. I want to thank everyone who has tested this version, in particular Frank for bringing the problem to my attention again and testing it, and to Karl Cunningham for tracking the problem down to a limited set of files and for doing a lot of testing. This bug was particularly evasive because who would suspect a seg fault in the system localtime_r() function -- at least some Microsoft programmers have not learned to check function return values before indexing with them! Best regards, Kern ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl