]> git.sur5r.net Git - bacula/docs/blob - docs/home-page/fr/news.txt
Tweak for version 9.0.0
[bacula/docs] / docs / home-page / fr / news.txt
1 Kern;;;12 December 2013 at 21:21 CET
2 Letter to the Community concerning Bareos
3
4                   Letter to the Community
5                     12 December 2013
6
7 DISCLAIMER: 
8 Please keep in mind that what I discuss here are my own personal
9 thoughts and not those of Bacula Systems.  Bacula Systems statements
10 and positions will be communicated on the Bacula Systems web site or
11 by other official Bacula Systems communications.
12
13 I am obliged to write about Bareos.  Many or most of the things that I
14 will write are statements of facts, but certain are allegations that myself
15 and Bacula Systems have made.  In the case of the allegations, particularly
16 the most serious, they are yet to be determined by a court of law.
17
18 When I use the terms Bacula Systems or Bacula Enterprise Edition, I am
19 referring to the code which is proprietary, and when I refer to
20 Bacula, unless otherwise stated, I am referring to the fully open source
21 community version.  
22 END DISCLAIMER.
23
24 Since the whole story is a bit long, I will break it into smaller
25 pieces as follows:
26
27 1. General Background.
28
29 2. The theft of proprietary software and unfair competition that
30    led to the Bacula Systems lawsuit against Bareos. 
31
32 3. The fork itself and what went wrong --
33    copyright violations, plagiarism, moral wrong doing, and attempts
34    to destroy Bacula and me personally through abusive language.
35
36 4. The Future of Bacula
37
38
39 ====
40
41 1. General Background.
42
43 Most of you already know that I am a founder of two companies:
44 Autodesk Inc, in 1982 and Bacula Systems SA in 2008. However,
45 more importantly, I consider myself as a developer -- mostly in
46 C/C++ of system applications.  I took an early retirement in 1995,
47 and since 1998, I have been a full time passionate open source 
48 developer.  I started with the APCUPSD project then in 2000 started
49 the Bacula project, which I released to SourceForge in April of 
50 2002. Since 2000 all my available time has been devoted to making
51 Bacula the best open source backup program possible. In January, it
52 will be 14 years that I have been working on it, and for the moment
53 I see no end in sight.
54
55 I created Bacula Systems in 2008 with 7 other founders to ensure the
56 long term growth and success of Bacula the community version.  The
57 concept was to earn money to fund development by providing enterprises
58 with support for Bacula as a much less expensive alternative to
59 existing commercial software.  Most of these founders were and are
60 passionate open source fans, each invested their own money in Bacula
61 Systems to fund development and today a number of them depend on
62 salaries from Bacula Systems to live.
63
64
65 Bacula Systems hasn't in the least diminished my or the other
66 founder's dedication to open source software.  It has just provided a
67 means to ensure that Bacula evolves faster with a corporation behind
68 it.  The state of maturity of Bacula is like a dream come true for me.
69
70
71
72 2. The theft of proprietary software and unfair competition that
73    led to the Bacula Systems lawsuit against Bareos. 
74
75
76 The arrival of Bareos early this year is like the worst nightmare I
77 can imagine in a dream come true and has led to the lawsuit mentioned
78 at the following link:
79
80 http://www.baculasystems.com/blog/bacula-systems-sa-files-lawsuit-against-bareos-gmbh-co-kg
81
82 Now that Bacula Systems has announced the lawsuit I can be more open
83 about what has been going on.
84
85
86 How and why have we gotten there?
87
88 The basis of the problem is related to a community developer who began
89 working with Bacula in 2008, and then as a consultant helped Bacula
90 Systems in 2010 with the Solaris packaging.  To work with the Solaris
91 packaging, he requested access to the Bacula Enterprise software.  To
92 have this access, he signed an NDA, which is normal when you give a
93 "consultant" access to proprietary software.
94
95 This consultant did the Solaris packaging for Bacula Systems, then
96 later continued developing the community version, all the while with
97 access to the Enterprise code.  He even had a SIP telephone that
98 connected directly into the Bacula Systems corporate telephone system
99 including the internal conference centers.  He continued working on
100 the community version where he was responsible for applying patches to
101 the Bacula community version, since he had full write permission,
102 while at the same time, he also helped port code from the Enterprise
103 version into the community version.
104
105 On the 27th of February 2013, I learned that Bareos had been created
106 and that this consultant/developer was a managing director as well as
107 CTO of Bareos, and that they had a competing commercial fork of Bacula
108 that he had been working on since 2010.
109
110 You can imagine my stupefaction since the consultant had never
111 mentioned that he had created a commercial fork of Bacula to me or
112 anyone in Bacula Systems, nor did Bacula Systems learn about this fork
113 from the Bacula Systems partner DassIT, which apparently created
114 Bareos and with which it shares their headquarters and the four
115 managing directors.  Furthermore until Bacula Systems removed his git
116 access to our Enterprise source code, the consultant continued daily
117 downloads of the Enterprise software it even after Bareos was up and
118 running.
119
120 Bacula Systems immediately wrote to the consultant requesting him to
121 delete the Enterprise source code and stop using it, which in a rather
122 emotional email, he refused to do.
123
124 At that point, what would you do?  We looked more carefully at the
125 Bareos source code and determined that it included a few very
126 important enterprise enhancements that were only in the Bacula
127 Enterprise code.  So, the only conclusion possible is that the
128 consultant had taken pieces of the enterprise code and used them in
129 the Bareos release.  In addition, there were many serious copyright
130 problems in the Bareos code that I will elaborate more later in this
131 letter.
132
133 Bacula Systems then took two approaches to resolving these problems.
134 One was to make it clear that Bareos did not have the right to possess
135 or use the Bacula Enterprise code, and the other was to request the
136 Free Software Foundation Europe to resolve the copyright issues with
137 Bareos.  From my personal point of view, working with Bareos was very
138 frustrating since they essentially put up every kind of obstacle
139 possible including denying everything, which complicated and dragged
140 out the discussions.  In the end, both the Bareos lawyer and the
141 consultant's lawyer wrote letters asserting that their clients claimed
142 to have destroyed the Enterprise source or in the case of Bareos that
143 they have never had it.  This whole process took many months, and in
144 August Bacula Systems believed that the problems with Bareos were
145 mostly resolved.
146
147 My next surprise was in late September.  In a rather massive several
148 thousand line commit, we found over four hundred lines of Bacula
149 Enterprise code that were also buried in that commit.  This code was
150 very obviously copied directly from the Enterprise code and not simply
151 written by the author of the commit, who is another of the managing
152 directors of Bareos.  This also meant that despite the fact that both
153 the consultant and Bareos claimed to not have the Enterprise code,
154 they did.  This put a whole new dimension to the Bareos release,
155 because there was clear new theft of Bacula Systems proprietary code
156 despite Bareos' and the consultant's claims not to possess it.  This
157 was very serious as the code the consultant had contains a
158 considerable amount of other Bacula Systems code that could also be
159 copied and released to the public.  At this point Bacula Systems had
160 no choice but to file a lawsuit, which was prepared and filed on the
161 6th of December 2013 in the Swiss Cantonal court.
162
163 Given that it is clearly published on the Bareos web site that the
164 Bareos code has been under development since 2010, one can only imagine
165 that the whole affair was planned from the beginning and it appears
166 that it is industrial espionage and software piracy that was planned
167 and executed in secret for during two or three years.
168
169 For me personally, it was a real deception since this consultant had
170 stayed in my house, then myself and other colleagues from Bacula
171 Systems had spent considerable time and effort working with the
172 consultant helping him improve his programming and more particularly
173 how to program within Bacula.  It is even more painful to think that
174 he did this secretly for apparently many years.
175
176 What follows is my discussion of the fork and the copyright violations
177 that do not form a part of the lawsuit, but are very important for
178 the future of Bacula and more in general for the future of open
179 source.
180
181 3. The fork itself and what went wrong -- 
182    copyright violations, plagiarism, moral wrong doing, and attempts to
183    destroy Bacula and me personally through abusive language.
184
185 As mentioned above, on the 27th of February, Bacula Systems and myself
186 became aware of a fork called Bareos, so obviously, I was interested
187 in what they were doing.  Aside from the negative attitude they openly
188 postulated toward Bacula on their web site (since removed), I was
189 rather surprised by the copyright violations in the source code, that
190 they describe on their web site as 
191
192    "We had some minor formal issuse [sic] regarding version history
193    and header files at the beginning of our project".
194
195 In fact the copyright violations consisted of the following items:
196
197 1. In the original release, they added the Bareos copyright (as well as
198    others) to all the original Bacula files, including those that they had not
199    changed.
200
201 2. They removed all the copyright on all the binaries and replaced them with
202    "Copyright (C) 2013-2013 Bareos GmbH & Co.  KG"
203
204 Both of these are serious copyright violations.  Bareos' first attempt
205 at fixing the violations was what I would call minimal and had to be
206 redone later with far more significant changes.
207
208 In addition to the copyright violations, there are still clear
209 examples of plagiarism (in other terms copyright violations) that
210 exist in their code that were added more recently.  For example, the
211 file bacula/src/stored/fd_cmds.c from the original Bacula source code
212 was copied into sd_cmds.c and then modified to replace all references
213 to the fd or File daemon by sd or Storage daemon respectively.  This
214 is normal, but what was not normal was despite probably 80-90% of the
215 code remaining identical to the original including comments, they
216 totally stripped the Free Software Foundation Europe copyright and
217 replaced it with a Bareos copyright.  This is probably one of the most
218 common form of copyright violation, and it is very hard to detect
219 without spending a large amount of time examining the code.
220
221 In addition, they removed my name from the source code, which was
222
223    Kern Sibbald, MM
224
225 and replaced it by:
226
227    Marco van Wieringen, November 2012
228
229 This is clearly plagiarism, and it still exists in their source code
230 today.  As far as I can tell, there are several other such cases,
231 where significant portions of an original Bacula file have been copied
232 into a new file (or even the whole file taken and edited as in the
233 case of sd_cmds.c).  The result is a totally new file with the old
234 copyright and accreditation removed.  In my opinion, this practice is
235 extremely serious for the future of open source and Bacula, because
236 imagine carrying this a bit farther.  If they continue this procedure
237 on other files, one could imagine that in a few years after numerous
238 releases and changes, the whole code body gets shuffled around, put in
239 new files, and all the Free Software Foundation Europe's copyrights
240 disappear.  Then the source code can be taken proprietary, and Bareos
241 could have their own proprietary copy of code that was previously open
242 source.  This is, of course, speculation but it is possible.
243
244 Now I would like to discuss moral wrong doing. This is not a legal point
245 because as far as I can tell these are not violations of the law, but
246 they are in my opinion moral violations of standard practices particularly
247 among open source programmers.
248
249 The original Bacula source code header includes the following statement
250 inside the copyright section: 
251
252   "The main author of Bacula is Kern Sibbald, with contributions from
253    many others, a complete list can be found in the file AUTHORS."
254
255 Although the AUTHORS file is in the Bareos release, they totally
256 stripped all the references to it from the header files, thus
257 effectively hiding the AUTHORS. I was rather surprised by this,
258 because that eliminated the most important part of attributions to
259 both myself and everyone else.
260
261 To my surprise, under the GPL according to the Free Software
262 Foundation, this is legal.
263
264 They removed a number of other accreditations as well including the
265 word Bacula from all the code.
266
267 Removing accreditations in this way, to me seems rather brutal, and
268 is something I feel is, at the least, morally wrong.
269
270
271 Concerning the point about attempts to destroy Bacula and me
272 personally through abusive language.  I take two simple examples:
273
274 Maik Aussendorf
275 Fri 4 October 2013 15:30
276 Presentation at Open Source Developers Conference (OSDC)
277
278   "Since a few years (uh) we have seen (that only uh) that features
279   were only (uh) developed in the closed source enterprise edition ...
280   and it (uh) even happened that (uh) patches that were submitted by
281   community developers were rejected by the project leader for the
282   reason (uh) that he said he wanted to have this feature only in the
283   enterprise version, which is (uh) not open source."
284
285 My comments are:
286 1. It is patently false that for a "few years (uh) ...  (uh) that features
287    were only (uh) developed in the close source enterprise edition".
288    Bacula Systems has the right to develop code and has contributed a
289    lot of it back to Bacula and will continue to do so.  Bacula
290    Systems' development takes nothing away from the community but adds
291    great value to it.
292
293 2. To say that patches submitted by the community were rejected by me
294    (Kern) because they were enterprise features is a totally false.
295    This is a shameless, untrue personal attack that is designed to
296    discredit me as well as Bacula.
297
298 3. Since Mr.  Aussendorf has never worked with me or the Bacula
299    community, in the quote above, one can only assume that he is
300    repeating something that he heard from someone else, and either has
301    misunderstood the information or purposely has distorted it.  In
302    any case, a person that makes statements of such importance without
303    first hand knowledge is not very credible.
304
305
306 The second example is:
307 Bruno Friedmann
308 Email to Bacula-users 2 June 2013
309
310   "...  My personal frustration started with the creation of Bacula
311   Enterprise, which has until now never (from what I've seen) reversed
312   an Enterprise feature back to the community."
313
314   It is very surprising that Bruno Friedmann who knows Bacula would
315   say that Bacula Systems has never "reversed" an Enterprise feature
316   back to the community since the Bacula manual clearly documents many
317   (but not all) of the features that Bacula Systems has contributed to
318   Bacula over the years or simply look at the long list of Bacula
319   Systems contributed fixes of the 20 February 2013 release on the
320   News section of the web site.
321
322 I have a hard time understanding why people feel they have to publicly
323 make such ridiculous remarks.  I use a lot of open source software,
324 and some of it is produced by open core companies that offer better
325 and nicer commercial features that I would really like to have, but I
326 don't have any sense that these companies are taking anything away
327 from me or are in any way doing something wrong.  On the contrary,
328 most of them are fixing bugs and enhancing the community version.
329
330 I guess this sort of verbal abuse is a sign of the times.  Instead of
331 trying to tear down years of work, why can't these people just be
332 content with what has been given to them free.
333
334 4. The Future of Bacula
335
336 Obviously at this point, Bacula Systems does not know what the outcome
337 of the lawsuit will be, but I hope that at a minimum it stops the
338 theft of the Enterprise code, the copyright violations, and that it
339 puts a stop to the public smear campaign against Bacula, myself, and
340 Bacula Systems that the managing directors of Bareos have maintained
341 for the last nine months.
342
343 Although the Bacula project has been on hold since February while
344 trying to sort out these issues, the future looks very bright since
345 Bacula Systems has continued developing new features in the Enterprise
346 version at an even faster pace, and since Bacula Systems feels that
347 the differentiation between the community version and the Enterprise
348 version is sufficient, you can expect over the next three to four
349 months to see several things:
350
351 1. An improved bacula.org web site with a new design sponsored by
352    Bacula Systems, and with the help of a long time community
353    supporter.
354
355 2. More new features backported to the community version of Bacula.
356
357 3. An annual Bacula Conference with the first one in Berlin starting
358    with a dinner the evening of 20 March and taking place on the 21st
359    of March.
360
361 4. Long term continuation of Bacula through sponsorship by Bacula Systems
362    which has always contributed significant pieces of code that it
363    developed to the community version and will continue to do so.
364    This has always been our stated objective, but now it is more
365    formal since Bacula Systems has an agreement with the Free Software
366    Foundation Europe wherein it states that Bacula Systems will
367    contribute back to the community version all new features developed
368    by Bacula Systems after at most five years that are not encumbered
369    by third party proprietary agreement.  The maximum delay of five
370    years is important to allow Bacula Systems to grow and thus
371    continue to contribute to the community version.  Being an open
372    core company is not a new business strategy -- companies such as:
373    RedHat, MySQL, Zimbra, SugarCRM, Eucalyptus, Pentaho, and Carafe
374    (note, at one time I argued for RedHat as an open source company,
375    but I was arguing with a highly placed FSF person, who was probably
376    right).  However, I don't think that any other open core company
377    has yet made such a strong open source commitment.
378    
379 I plan additional blogs on these subjects particularly as important
380 events happen, but I hope this helps you understand what myself and
381 Bacula have been through for the last nine months, and that my
382 commitment remains as strong as ever to make Bacula the best open
383 source backup program.
384
385 Thank you for your understanding and for using Bacula.
386
387 Kern Sibbald
388 Bacula Project Manager
389
390 ;;;;
391
392 Kern;;;25 November 2013 at 17:53 CET
393 Bacula Status Report
394
395 Hello,
396
397 I would like to speak to you about the following points:
398
399 1. The rumors of the death  of Bacula (the Community version)
400 2. The Bareos fork of Bacula
401 3. Bacula Systems and the FSFE (Free Software Foundation Europe)
402 4. The future of Bacula (the Community version)
403
404 1. The rumors of the death of Bacula (the Community version):
405
406 I borrow words from a quote of Mark Twain : The rumors of the death
407 of Bacula are highly exaggerated!  
408
409 I began working on Bacula 14 years ago (in January 2000), and it has
410 been Open Source from the time it was publicly released in April
411 2002, and it will remain Open Source.  I have been and am fully
412 devoted to Open Source, and in particular to Bacula, which is like
413 my “baby”.  So to hear rumors that Bacula is dead or that I have
414 withheld commits because they are Enterprise features is shocking
415 and hurtful to me as well as not true.
416
417 I did inform the Bacula Community several years ago that my personal
418 participation in Bacula would decrease a bit for several years to
419 allow me to focus more on getting Bacula Systems started.  In my
420 opinion, that has not been a serious disadvantage for the Bacula
421 project since Bacula Systems over that period has contributed far
422 more code to Bacula than I could have alone over the same period,
423 and as you will see a bit later in this status report, Bacula
424 Systems contributions are absolutely guaranteed to continue in the
425 long run, and even increase.
426
427 2. The Bareos fork of Bacula:
428
429 The Bacula repository has been on “hold” since our last release
430 in early February, because on 27 February 2013, I learned that there
431 was a fork of Bacula made by a former “consultant” of Bacula
432 Systems with a former reseller of Bacula Systems.  Unfortunately,
433 despite the fact that Bareos hired one of the best German Open
434 Source lawyers , there were a number of serious copyright violations
435 with their code.  Since the Bacula code is copyrighted by the Free
436 Software Foundation Europe (FSFE), I provided the technical support,
437 and the FSFE worked with Bareos to clean up their copyright
438 violations.  That took a significant amount of time (many months),
439 and the Bareos code though significantly improved is still not
440 totally free of copyright infringements.  I won't go into the
441 details here as all of you may not be interested, but will have much
442 more to say about Bareos in later blogs, and when the blog is setup
443 I will let you know.
444
445 I find Bareos an unusual fork, because it wasn't done in what I
446 believe to be the normal Open Source way.  Normally a fork is made
447 when a project is blocked or has serious disagreements with the
448 users.  Its also normally done in open communication rather than
449 underhanded or in secret.  In the case of Bacula, though some of the
450 development slowed down (I will go into this in detail later), it
451 certainly was by no means stopped.  To complain about active
452 development in Bacula Systems, is, in my opinion, incorrect first
453 because adding features to the Enterprise version costs Bacula
454 Systems a lot mostly in salaries yet takes absolutely nothing from
455 Bacula.  In fact, when you read the next section, you will see that
456 the more that Bacula Systems develops, the more features that Bacula
457 over time will have.  Going back to what I find abnormal about the
458 Bareos fork is that they claim that they spent three years
459 developing a lot of new features, thus they are more feature rich
460 than Bacula.  Yes, for the moment, they have a few features that
461 Bacula does not yet have, but not for long, and more importantly
462 over the three years of development of those features they never
463 offered these new features to Bacula nor to any Open Source project.
464 Instead they were developed in secret.  I find that a very strange
465 behavior for a self-proclaimed Open Source company (actually, they
466 are “forced” to be Open Source because of the Bacula AGPLv3
467 license).  So as Bacula contributors and users, you would be within
468 your rights to feel very upset with Bareos, because they never
469 offered you the code they developed.
470
471 I assure that I will do all in my power to ensure that any
472 worthwhile features that Bareos implements will be implemented in
473 Bacula, and most likely better integrated and more robust, and where
474 possible with even more functionality and growth potential.
475
476
477 3. Bacula Systems and the FSFE:
478
479 If you have been a long time Bacula user you may recall that I
480 discussed the possibility in 2006-2007 of creating a company, now
481 called Bacula Systems, to ensure the continuation of Bacula when I
482 will no longer be able to personally contribute – say in 10 or 20
483 years, as well as to provide the financial means to add high-end
484 features to Bacula (a fibre channel network costs about $50K to
485 setup).  Much to my surprise 95% or more of the responses I got were
486 very positive.  Bacula Systems was created in July 2008, and for the
487 first two years, the Enterprise code base and the Community code
488 base were identical.  Unfortunately, that didn't work financially
489 for Bacula Systems.  Companies willing to pay, were willing to pay
490 for features and support but not support alone, so Bacula Systems
491 embarked on development to continue maintenance and improvement of
492 Bacula while at the same time creating mostly plugins to add
493 differentiation to the Enterprise version.
494
495 Now this may not sound very Open Source to you, and I understand,
496 because I feel the same way.  Were it at all possible, I would give
497 you all of Bacula Systems code, unfortunately, that is not
498 economically feasible at the current time, and yet without Bacula
499 Systems, I fear the Bacula project will die or worse yet fall into
500 the hands of someone incapable of maintaining the high quality we
501 have created.
502
503 While I was consulting with the Free Software Foundation Europe
504 (FSFE) on the Bareos copyright violations, Bacula Systems and I
505 began discussions with the FSFE on how to guarantee the long term
506 survival of Bacula.  These discussions, extremely positive on both
507 sides and all points, recently lead to a formal written agreement
508 between myself, Bacula Systems, and the FSFE. There are a number of
509 points in the agreement, but probably the most important of all is
510 that Bacula Systems has now put in writing that it is an Open Source
511 company (at its heart), as it has always proclaimed, and will
512 contribute all the Enterprise code it creates to the Bacula
513 Community code base within at most a 5 year period.  One exception
514 is that Bacula Systems is legally unable to contribute certain code
515 encumbered by third party proprietary license.  The 5 year delay
516 gives Bacula Systems the chance to develop Enterprise features that
517 differentiate it, but ensures the continual growth of the Bacula
518 Community code.  This model can possibly be used across the industry
519 to ensure the future of open source software in an environment where
520 development costs, particularly for hardware to do testing, are
521 prohibitive to the standard models of today.
522
523 5. The future of Bacula (the Community version):
524
525 If you have read section 4 above, hopefully if you were not already
526 convinced that Bacula is alive that you can now see that it will
527 have a long and successful future ahead of it.  If you have any
528 doubts, please do not hesitate to either send me an email on the
529 bacula-users list or directly to me (if you want it private).
530 Hopefully, by mid-December I will have a blog setup (need a major
531 upgrade of bacula.org to do so), and I will then fill you in on the
532 details of the Bareos fork as well as more details on what next to
533 expect in Bacula.
534
535 Thank you for contributing to and/or using Bacula ...
536
537 Best regards,
538 Kern
539
540 ;;;;
541
542 Kern;;;20 February 2013 at 13:43 CET
543 We have released Bacula Version 5.2.13 to Source Forge
544
545 Version 5.2.13 version has 20 bug fixes since the last 
546 release.  Some of the bug fixes are important.
547
548 Important changes since last release:
549
550 19Feb13
551  - Fix build/configure problems with bpluginfo.c
552  - Refactor lock_volumes so most lock a vol rather than globally
553  - Add virtualfull-extreme test
554  - Apply patch for chio-changer-openbsd from bug #1984 -- Implements listall
555  - Add bat Mac patch from bug #1953
556  - Fix bug #1812 cannot run Copy/Migrate jobs from bat
557  - Fix loading of bat translations. Patch from bug #1890
558  - Fix text input in bat. Fixe bug #1965
559  - Remove Device from show command as it is not used or updated
560  - Fix #1982 update enabled keyword in help command
561  - Fix update_postgresql_tables 10 to 11
562  - Clean after building doc binaries requested by Willem vd Akker for Debian 
563    build
564  - Require Qt version 4.8.4
565  - Fix bug #1955 that OK to run? does not retry on bad response
566  - Backport new lock calls + debug for SD
567  - Fix bug #1975 new label ignored when first is duplicate.
568  - Pull src/lib changes from master
569  - Pull SD files from master
570  - Turn off prune-test
571  - Add logdir and bsrdir to regression config
572  - Add bsrdir and logdir to regress-config
573  - Changed default directories from /var/bacula to /opt/bacula
574  - Make spool size max message more explicit
575  - Display more info when maximum spool size is reached
576  - Fix TERM defs for Solaris 11 in conio.c
577  - Allow group to cd to sysconfdir
578  - Make sysconfdir belong to Bacula user/group and exclude others
579  - Fix Virtual Full file close bug -- race condition
580  - Enhance mount message to include read/append
581  - Improve vol_mgr swap messages
582  - Enhance output of Using Device to include for read/write
583  - Add jobid to Pmsg output
584  - Fix bug #1959 input validation on delete of jobs.
585  - Fix bug #1956 Authorization Errors false
586  - Add workaround for #5507 where autoprune and reload are in deadlock
587  - Allow conf file quoted strings to be used in a list
588  - Make bfgets handle very long lines
589  - Avoid seg fault by checking for NULL client -- reported by Arno
590  - Final fix of bug #1943
591  - Fix bug #1948 MailOnSuccess get executed on error.
592  - Fix missing index on Media table
593  - Fix bug #1943 no message storage on closed database connection.
594  - Fix bug #1946 Fix problem with MySQL with big Base jobs.
595  - Reduce wait time in regression RunScripts
596  - Implement a timeout on regression tests of 15 minutes
597  - Fix #5346 .bvfs_lsfiles and .bvfs_restore to handle deleted files
598  - Fix spooldata, accurate and ingnoreduplicate run argument
599  - Fix messages segfault
600  - Implement feature request #1939
601  - fix #1938 about PATH_MAX on hurd
602  - fix #1938 about MAXPATHLEN on hurd
603  - Fix bug #1937 OpenBSD autochanger example script
604  - Fix #4996 about MaxRunTime canceling the job too early
605  - Fix bug #1934 Wrong values at media list in BAT
606  - Fix race condition in close_msg that causes seg fault
607  - Fix double unlink
608  - More tests for freeing NULL pointers
609  - Add MaximumConcurrentReadJobs directive to Storage resource
610  - Add ujobid to .bvfs_get_jobids
611  - Avoid problem when stripping a relative path
612  - Fix #4513 about HIDDEN attribute set to parent directory during restore
613
614 Bugs fixed/closed since last release:
615 1812 1890 1934 1937 1938 1939 1943 1946 1948 1953 1955 1956 1959 1965 1975
616 1982 1984 4513 4996 5346 5507
617
618 ;;;;
619
620 Kern;;;11 September 2012 at 13:43 CET
621 We have released Bacula Version 5.2.11 to Source Forge
622
623 Version 5.2.11 version is a bug fix release.
624
625  As always, both the Director and Storage daemon must be upgraded at
626  the same time.
627
628  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.11
629  Director and Storage daemons. There should be no need to upgrade older File
630  Daemons.
631
632 Important changes since last release:
633  - A new bpluginfo utility tool
634  - Make dump_resource respect console ACL's (security fix)
635  - Add chio-changer-openbsd submitted in bug #1903
636  - Important Copy job bug fixed.
637
638 10Sep12
639  - Add JobId to SD debug output
640  - Commit batch session every 800,000 files
641  - Simplify safer delete code using a single regex
642  - Clean up error message generation during update attributes -- should fix bug 
643   #1823
644  - Eliminate heartbeat error messages. Fixes bug #1925
645  - Apply patch from bug #1911 to implement --with-logdir
646  - Add chio-changer-openbsd submitted in bug #1903
647  - mysql database install/update scripts patch. Fixes bug #1901
648  - Delegate uid/gid changing to systemd. Fixes bug #1905
649  - Fix bug #1906
650  - Fix manpage errors, fixes bug #1907
651  - Final fix for #1859 missed one query.
652  - bpluginfo - Utility tool display various information
653  - Backport more master code
654  - Fix Makefile.in so that testfind builds with acl dependency
655  - Make dump_resource respect console ACL's (security fix)
656  - backport code from master
657  - Fix #1923 about MySQL 4 support for BVFS
658  - Fix #1902 about bad status slots output
659  - Fix Sigma Copy bug #4377
660  - Fix bsmtp
661  - Reset bsmtp to only send to IPv4 mailhosts.
662
663 Bugs fixed/closed since last release:
664 1823 1859 1901 1902 1903 1905 1906 1907 1911 1923 1925 4377
665
666 ;;;;
667
668 Kern;;;28 June 2012 at 20:55 CET
669 We have released Bacula Version 5.2.10 to Source Forge
670
671 General:
672 --------
673 The 5.2.10 version is a significant bug fix release including 
674 our first cut of AFS support.
675
676 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
677 Please note that with this version of Bacula, during the install
678 of the shared libraries from the src/cats, src/lib, and src/findlib
679 directories, any old Bacula libraries in the installation 
680 destination directory will be removed.  This should not cause
681 any problems and at least keeps the installation library cleaner.
682 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
683
684 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
685 For packagers, if you change options, naming, and the way 
686 we link our shared object files, as at least one of you does,
687 you are creating a situation where the user may not be able
688 to run multiple versions of Bacula on the same machine, which
689 is often very useful, and in addition, you create a configuration
690 that the project cannot properly support.
691 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
692
693 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
694 If you are upgrading from a version older than 5.2.9, please
695 read all the old ReleaseNotes of all versions released
696 after the version you are upgrading from. There area
697 many important notices sumarized here, and we do not 
698 repeat them each bug fix release.
699 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
700
701 Compatibility:
702 --------------
703  As always, both the Director and Storage daemon must be upgraded at
704  the same time.
705
706  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.9
707  Director and Storage daemons. There should be no need to upgrade older File
708  Daemons.
709
710 Major changes since 5.2.9:
711 - IPv6 networking should work correctly now
712 - SQL Counter problems resolved
713 - Bat hanging after running a number of jobs
714 - dbcheck rw_writelock problem
715 - Windows VSS restore bug
716
717 New Feature:
718 - Add rudimentary support for backing up AFS
719
720 28Jun12
721  - Add extra test for unsupported Protocol Families.
722  - Fix inet_pton call.
723  - Real fix of bug #1897 5.2.9 breaks IPv6 connectivity
724  - Fix bug #1891 wrong daemon name printed with -? option
725  - Fix bug #1859 INSERT INTO Counters fails
726  - First try at fixing bug #1897 5.2.9 breaks IPv6 connectivity
727  - Convert write_rec_to_block() to a state machine
728  - Fix bat from eating all Dir connections -- fixes bug #1872
729  - Back port fixes from BEE to fix Windows restore bug #1892
730  - Add block checksum flag to version.h
731  - Add block checksum debug code
732  - Fix bug #1893 dbcheck -B gives rwl_writelock error.
733  - Remove restriction of network buffer size being multiple of a tape block
734  - Add rudimentary support for saving AFS acls.
735  - Send level before the fileset in estimate_cmd() like in backup()
736
737 Bugs fixed/closed since last release:
738 1859 1872 1891 1892 1893 1897
739
740 ;;;;
741
742 Kern;;;11 June 2012 at 20:15 CET
743 We have released Bacula Version 5.2.8 to Source Forge
744
745 This release is identical to release 5.2.8, with the exception
746 that the patch:
747
748   "Apply readline without TERM_LIB dependency patch from bug #1871"
749
750 has been removed because it is not portable to all systems or
751 versions of readline.
752
753 ;;;;
754
755 Kern;;;10 June 2012 at 12:04 CET
756
757                Release Notes for Bacula 5.2.8
758
759   Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)
760
761 General:
762 --------
763 The 5.2.8 version is a bug fix release. 
764
765 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
766 Please note that with this version of Bacula, during the install
767 of the shared libraries from the src/cats, src/lib, and src/findlib
768 directories, any old Bacula libraries in the installation 
769 destination directory will be removed.  This should not cause
770 any problems and at least keeps the installation library cleaner.
771 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
772
773 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
774 For packagers, if you change options, naming, and the way 
775 we link our shared object files, as at least one of you does,
776 you are creating a situation where the user may not be able
777 to run multiple versions of Bacula on the same machine, which
778 is often very useful, and in addition, you create a configuration
779 that the project cannot properly support.
780 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
781
782 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
783 If you are upgrading from a version older than 5.2.7, please
784 read all the old ReleaseNotes of all versions released
785 after the version you are upgrading from. There area
786 many important notices sumarized here, and we do not 
787 repeat them each bug fix release.
788 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
789
790 Compatibility:
791 --------------
792  As always, both the Director and Storage daemon must be upgraded at
793  the same time.
794
795  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.8
796  Director and Storage daemons. There should be no need to upgrade older File
797  Daemons.
798
799 Changes since 5.2.7:
800 --------------------
801
802 10Jun12
803  - Apply readline without TERM_LIB dependency patch from bug #1871
804  - Ensure cancel status is set for canceled duplicate jobs -- partial fix for 
805    bug #1851
806  - Enhance Win32 error messages -- fixes bug #1879
807  - Apply patch from bug 1876 to permit dot commands in a runscript
808  - Remove config variables from examples/devices fixes bug #1884
809  - Add more debug code for bug 1885
810  - Add more debug to block.c when read rejected
811  - Fail job that attempts to read from closed device -- reported in bug 1885 but 
812    not fixed
813  - Detect Python 2.7 fixes bug #1888
814  - Apply systemd patch from bug #1886
815  - Rewrite some SD subroutines as class members
816  - New overhaul of xattr code.
817  - Use IPPROTO_TCP for SOL_TCP if SOL_TCP isn't defined.
818  - Fix compiler warning.
819
820 Bugs fixed/closed since last release:
821 1851 1871 1879 1884 1886 1888
822
823 ;;;;
824
825 Kern;;;2 June 2012 at 13:01 CET
826
827                Release Notes for Bacula 5.2.7
828
829   Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)
830
831 General:
832 --------
833 The 5.2.7 version is a significan bug fix release. (The
834 diff file between 5.2.6 and this one is over 25,000 lines).
835
836 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
837 Please note that with this version of Bacula, during the install
838 of the shared libraries from the src/cats, src/lib, and src/findlib
839 directories, any old Bacula libraries in the installation 
840 destination directory will be removed.  This should not cause
841 any problems and at least keeps the installation library cleaner.
842 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
843
844 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
845 For packagers, if you change options, naming, and the way 
846 we link our shared object files, as at least one of you does,
847 you are creating a situation where the user may not be able
848 to run multiple versions of Bacula on the same machine, which
849 is often very useful, and in addition, you create a configuration
850 that the project cannot properly support.
851 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
852
853 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
854 If you are upgrading from a version older than 5.2.7, please
855 read all the old ReleaseNotes of all versions released
856 after the version you are upgrading from. There area
857 many important notices sumarized here, and we do not 
858 repeat them each bug fix release.
859 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
860
861 Compatibility:
862 --------------
863  As always, both the Director and Storage daemon must be upgraded at
864  the same time.
865
866  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.3
867  Director and Storage daemons. There should be no need to upgrade older File
868  Daemons.
869
870 Changes since 5.2.6:
871 --------------------
872 02Jun12
873  - Correct Qt version needed for bat
874  - Turn on SD deadlock detection by default
875  - Fix bug #1880 ltdl.m4 missing for new feature.
876  - Fix bug #1870 GNU binutils-gold build failure.
877  - Add new empty netinet/tcp.h so Windows compile works
878  - Eliminate compiler warning in stored/dircmd.c
879  - Fix TCP Heartbeat code
880  - Align conio.c struct at 8 bytes to fix Sparc bus error.
881  - Fix get_basename() -- rewrite
882  - Apply James' exchange-fd.c regression fix
883  - Add first Dutch translation
884  - Ensure that StorageId is updated after write
885  - Fix updating of cached slots + error message numbering
886  - Remove old shared objects before install
887  - Add missing dummy bVarPrefixLinks variable retrieval.
888  - Fix mysql config for older versions of mysql+config.
889  - Fix problem in BVFS with concurrent queries
890  - Add more checks to bvfs
891  - Try to use multi-row insert statements for mysql.
892  - On some platforms intptr_t is in an other include file.
893  - Add support for fcntl(fd, F_CLOSEM) to close filedescriptors.
894  - Use closefrom if available instead of trying to close fds ourself.
895  - Fix class member shadowing.
896  - Move storages tls initialization to proper place.
897  - Fix Copyright on init scripts suse, add specific daemon user & group
898  - Add support for new POSIX getaddrinfo interface.
899  - Apply MSQL detection fixes from bug #1829
900  - Fix bug #1805 cannot specify hostname in ./configure
901  - Fix restore_job restore keyword
902  - Allow plugin to backup a directory
903  - Print seconds in schedule time as noted in bug #1854
904  - Fix #1857 about restore cd command that blocks on empty directory
905  - Backport new StorageId code
906  - More definitive fix for update slots bug
907  - Fix #4062 on make_catalog_backup.pl script when user/password are empty
908  - Fix bug #1853: bacula-sd dead but pid file exists.
909  - Fix bug #1841 estimate command level=differential goes wrong in accurate 
910    mode.
911  - Fix bug #1842 Incorrect port number reported
912  - Fix bug #1848 bsock.c:335 Socket has errors=1 on call to client
913  - Force the re-initialization of BaseJobOpts, AccurateOpts and VerifyOpts 
914    between two Include{}
915
916 Bugs fixed/closed since last release:
917 1805 1829 1841 1842 1848 1853 1854 1857 1870 1874 1880 4062
918
919
920 ;;;;
921
922 Kern;;;22 February 2012 at 15:03 CET
923 We have released Bacula Version 5.2.6 to Source Forge
924
925                Release Notes for Bacula 5.2.6
926
927   Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)
928
929 General:
930 --------
931 The 5.2.6 version is a bug fix release.
932
933 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
934 If you are upgrading directly from 5.0.3 to this version, please see the
935 important notices below for version 5.2.3, particularly
936 the database upgrade and the difference in packaging the
937 SQL shared libraries.
938 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
939
940 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
941 If you store .bsr or .mail files in the Bacula working
942 directory, please be aware that they will all be deleted
943 each time the Director starts.
944 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
945
946 Compatibility:
947 --------------
948  As always, both the Director and Storage daemon must be upgraded at
949  the same time.
950
951  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.3
952  Director and Storage daemons. There should be no need to upgrade older File
953  Daemons.
954
955 New Feature:
956  - The restore tree cd command accepts wild cards within each
957    part of a path. Wild cards apply only to a single part at a
958    time: i.e. cd a*/b*/xx* will match abc/bcd/xxfxx
959    but */xx* will not match the above filename.
960
961 Changes since 5.2.5:
962
963 17Feb12
964  - Fix old exchange-fd plugin Accurate checkFile code.
965  - Insert the slot field as a numeric field.
966  - Fix #1831 by dropping the table before creating it
967  - Make cd accept wildcards
968  - Remove bad optimization from Accurate code
969  - Lock read acquire in SD to prevent to read jobs getting the same thing
970  - Implement more robust check in other drives for tape slot wanted
971  - Fix lost dcr point -- memory loss in Copy/Migration + possible confusion
972  - Ensure that bvfs SQL link is not shared
973  - Fix error printing in acl and xattr code.
974  - Backport better error debug output for sd plugins.
975  - Add wait on bad connection for security
976  - Make mtx-changer more fault tolerant
977  - Fix 32/64 bit problems in SD sscanf commands
978  - Skip certain filesystem types on some platforms.
979  - Allow BVFS to browse and restore Base jobs
980  - Add error message to .bvfs_clear_cache command
981  - Fix plugin bug with multiple simultaneous jobs
982
983 Bugs fixed/closed since last release:
984 1831
985
986 ;;;;
987
988 Kern;;;26 January 2012 at 07:55 CET
989 We have released Bacula Version 5.2.5 to Source Forge
990                Release Notes for Bacula 5.2.5
991
992   Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)
993
994 General:
995 --------
996 The 5.2.5 version is a bug fix release.
997
998 Please note there was a seemingly innocent patch made to
999 version 5.2.4 that had rather serious negative consequences
1000 on restarted jobs.  Anyone using restarted jobs should upgrade
1001 from 5.2.4 to 5.2.5.
1002
1003 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1004 If you are upgrading directly from 5.0.3 to this version, please see the
1005 important notices below for version 5.2.3, particularly
1006 the database upgrade and the difference in packaging the
1007 SQL shared libraries.
1008 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1009
1010 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1011 If you store .bsr or .mail files in the Bacula working
1012 directory, please be aware that they will all be deleted
1013 each time the Director starts.
1014 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1015
1016 Compatibility:
1017 --------------
1018  As always, both the Director and Storage daemon must be upgraded at
1019  the same time.
1020
1021  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.3
1022  Director and Storage daemons. There should be no need to upgrade older File
1023  Daemons.
1024
1025 Changes since 5.2.4:
1026
1027 25Jan12
1028  - Disable usage of JS_Warning waiting for a more complete implementation
1029  - Removed old sd plugins which doesn't work anymore.
1030  - Adapt sample-query.sql for Warning job status
1031  - Fix location of Qt dlls for Win64 build
1032  - Fix MediaView::getSelection
1033
1034 Bugs fixed/closed since last release:
1035 1824 (1814 1806 1818 non-bugs)
1036
1037
1038 ;;;;
1039
1040 Kern;;;18 January 2012 at 20:55 CET
1041 We have released Bacula Version 5.2.4 to Source Forge
1042
1043                Release Notes for Bacula 5.2.4
1044
1045   Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)
1046
1047 General:
1048 --------
1049 The 5.2.4 version is an bug fix release.
1050
1051 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1052 If you are upgrading directly from 5.0.3 to this version, please see the
1053 important notices below for version 5.2.3, particularly
1054 the database upgrade and the difference in packaging the
1055 SQL shared libraries.
1056 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1057
1058 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1059 If you store .bsr or .mail files in the Bacula working
1060 directory, please be aware that they will all be deleted
1061 each time the Director starts.
1062 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1063
1064 Compatibility:
1065 --------------
1066  As always, both the Director and Storage daemon must be upgraded at
1067  the same time.
1068
1069  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.3
1070  Director and Storage daemons. There should be no need to upgrade older File
1071  Daemons.
1072
1073 Most important changes since 5.2.3:
1074 - Fix LZO detection so that it correctly detects presense of header
1075   files.
1076 - Switch the way we handle shared object versioning.
1077 - Backport Enterprise spec files to platforms/rpms
1078 - Switch to using Qt 4.7.4 (you must download new 
1079   depkgs-qt-24Dec11.tar.gz
1080 - Update depkgs to depkgs-24Dec11.tar.gz
1081 - Enhancements to File daemon and Storage daemon plugins
1082 - Compiler warning cleanups
1083 - xattr fixes
1084 - Cleanup old files in the working directory when the Director starts
1085
1086 Changes since 5.2.3:
1087
1088 18Jan12
1089  - Prepare for adding IPv6 to Windows in the future
1090  - Fix bug #1822 Schedule run line parsing fails if value is keyword
1091  - Revert to 5.0 size computation in accurate elements, may fix #1821
1092  - Mark that a file was found in the accurate list in the ff_pkt with a
1093    variable
1094  - Definitive fix for MySQL MaxValue problem bug #1810
1095  - Initialize delta_seq to -1 because 0 means that we have already a version
1096  - Adapt bfileview for bvfs tables
1097  - Set job status to running when restore job really starts
1098  - Remove ifdeffing that turned off JS_Warning status -- must have been missed 
1099   test code
1100  - Add support for soname setting in libtool.
1101  - Fix bug #1815
1102  - Fix systemd pid files.
1103  - Limit migration/copy jobs to starting 100 at a time
1104  - Avoid conflict with PAGE_SIZE define
1105  - Send previous Job name during Incremental/Differential to the FD
1106  - Fix bug #1811 Filed fails to backup more then one xattr.
1107  - system.posix_acl_default is also an acl stored as xattr
1108  - Fix bug #1807
1109  - Add configure for new redhat spec files
1110  - Backport Enterprise spec files
1111  - Fix bad memset() reported by clang
1112  - Test new plugin function in bpipe and test plugin
1113  - Try to fix openssl problem with signal
1114  - Add BSOCK::set_killable()
1115  - Set directory attributes when using Replace=Never when Bacula creates them
1116  - Use RestoreObject type in Catalog
1117  - Add new features in plugin
1118  - Add helper for ini files
1119  - Implement run accurate=yes/no
1120  - Add .bvfs_clear_cache
1121  - Add Accurate and MaxRunSchedTime in Schedule resource
1122  - Fix bug #1802 configure code to detect LZO is broken
1123  - Fix bug #1806 failure to save second and more xattr.
1124  - Add second xattr to show bug 1806
1125  - Fix seg fault in plugin event loop
1126  - Fix #3210 about slow restore with bvfs
1127
1128 Bugs fixed/closed since last release:
1129 1802 1806 1807 1810 1811 1815 1821 1822 3210
1130
1131 ;;;;
1132
1133 Kern;;;16 December 2011 at 12:293 CET
1134 We have released Bacula Version 5.2.3 to Source Forge
1135
1136                Release Notes for Bacula 5.2.3
1137
1138   Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)
1139
1140 General:
1141 --------
1142 The 5.2.3 version is an bug fix release.
1143
1144 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1145 If you are upgrading directly from 5.0.3 to this version, please see the
1146 important notices below for version 5.2.2, particularly
1147 the database upgrade and the difference in packaging the
1148 SQL shared libraries.
1149 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1150
1151 Compatibility:
1152 --------------
1153  As always, both the Director and Storage daemon must be upgraded at
1154  the same time.
1155
1156  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.3
1157  Director and Storage daemons. There should be no need to upgrade older File
1158  Daemons.
1159
1160 Changes since 5.2.2:
1161
1162  - Revert patch from Ben to not compress man pages on Solaris fix #1801
1163  - Fix bug #3322 don't poll when operator is labeling tapes
1164  - bvfs: Fix mysql REGEXP operator
1165  - Fix Mysql 5.5.18 symbol lookup
1166  - fix utf8/iso8859 problems
1167  - Fix #3419, update stats problem
1168  - Fix cats_test to use the new method names.
1169  - Update accurate code to use 1 byte instead of 3
1170  - Fix segfault in accurate code
1171  - Fix compilation warning on FreeBSD
1172
1173 Bugs fixed/closed since last release:
1174 1801 3322 3419
1175
1176
1177 ;;;;
1178
1179 Kern;;;27 November 2011 at 12:03 CET
1180 We have released Bacula Version 5.2.2 to Source Forge
1181
1182                Release Notes for Bacula 5.2.2
1183
1184   Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)
1185
1186 General:
1187 --------
1188 The 5.2.2 version is an important bug fix release. It contains also some
1189 additions and performance improvements. 
1190
1191 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1192 If you are upgrading directly from 5.0.3 to this version, please see the
1193 important notices below for version 5.2.1, particularly
1194 the database upgrade and the difference in packaging the
1195 SQL shared libraries.
1196 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1197
1198 Compatibility:
1199 --------------
1200  As always, both the Director and Storage daemon must be upgraded at
1201  the same time.
1202
1203  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.2
1204  Director and Storage daemons. There should be no need to upgrade older File
1205  Daemons.
1206
1207 Changes since 5.2.1:
1208 -----------------
1209  - Implement -t option for Bat
1210  - Require correct Qt version 4.6.2 or later to build bat
1211  - Get new lib/plugins.h
1212  - Pull new SD plugin files from Master
1213  - Fix script to set mode of cats scripts
1214  - Add Systemd configure options
1215  - Split messages line by line before sending it to syslog() fix #3325
1216  - Fix bvfs_restore on MySQL
1217  - Fix #3308 where a SMTP problem can block the director
1218  - Change locking scheme of the mountpoint cache.
1219  - Enhance mountcache with rescan option after interval.
1220  - Add %D option to edit_job_code, simplify callbacks on director side
1221  - Move Zdeflate and Zinflate to seperate file.
1222  - Put libraries in the correct order for non shared libs.
1223  - Remove last traces of @SQL_BINDIR@ and @DB_TYPE@
1224  - Fix bug #1774
1225  - Move batch insert detection into db.m4
1226  - bat: try to fix offset button problem when clicking too much on previous
1227  - bvfs: Use single transaction for each job during update
1228  - Add missing bwild & bregex man8 pages
1229  - Fix compilation issue of wx-console #1778
1230  - bvfs: fix filter for pattern= bvfs parameter
1231  - Improve speed of BVFS with SQLite, Thanks to J.Starek
1232  - bvfs: add clear_cache function
1233  - bvfs: Handle windows drive when building path hierarchy
1234
1235 Closed Bugs Since 5.2.1
1236 -----------------------
1237 1774 1778 3308 3325
1238
1239
1240 ;;;;
1241
1242 Kern;;;30 October 2011 at 14:50 CET
1243 We have released Bacula Version 5.2.1 to Source Forge
1244
1245
1246                Release Notes for Bacula 5.2.1
1247
1248   Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)
1249
1250 General:
1251 --------
1252
1253 This 5.2.1 version is a major release since the last version 5.0.3.
1254 It includes well over 299,387 lines of changes made by 20 contributors,
1255 lots of bug fixes (see below), 1,851 software commits,and a 
1256 number of important new features:
1257
1258 Version 5.2.0
1259 -------------
1260 Version 5.2.0 was short lived, because Marco (thanks) found
1261 a number of last minute bugs. So the first official release of 5.2
1262 is 5.2.1.
1263
1264 Compatibility:
1265 --------------
1266  As always, both the Director and Storage daemon must be upgraded at
1267  the same time.
1268
1269  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.1
1270  Director and Storage daemons. There should be no need to upgrade older File
1271  Daemons.
1272
1273 Main New Features:
1274 ------------------
1275 - LZO Compression
1276 - New Tray Monitor
1277 - Purge Migration Job
1278 - Changes in Bvfs (Bacula Virtual FileSystem)
1279 - Changes in the Pruning Algorithm
1280 - Ability to Verify any specified Job
1281 - Additions to RunScript variables
1282 - Additions to the Plugin API
1283 - ACL enhancements
1284 - XATTR enhancements
1285 - Class Based Database Backend Drivers
1286 - Hash List Enhancements
1287
1288 Some of the above are described below; all the above are
1289 described in more detail in the New Features chapter of the
1290 manual.
1291
1292 Closed Bugs since 5.0.3:
1293 ---------------------
1294 1389 1444 1448 1466 1467 1468 1476 1481 1486 1488 1493 1494 1497 1499 1501
1295 1502 1504 1509 1511 1513 1516 1524 1526 1527 1532 1536 1538 1541 1542 1549
1296 1551 1553 1554 1558 1559 1560 1564 1567 1568 1569 1571 1574 1577 1581 1582
1297 1584 1587 1594 1595 1600 1601 1602 1603 1604 1606 1608 1610 1612 1623 1624
1298 1633 1643 1648 1655 1661 1664 1666 1669 1672 1675 1684 1685 1695 1696 1699
1299 1700 1703 1735 1741 1749 1751 1761 1762 1764 1768 1770 1771 2710
1300
1301
1302 ================== Warning !!!!!! ==========================
1303
1304  The new pruning algorithm will not allow pruning of jobs that are essential to
1305  restore since the last Full backup. This is, of course, correct and desirable,
1306  but it is different from older Bacula versions that could inappropriately
1307  prune jobs. Pruning of volumes is not affected.
1308
1309 Building Bat:
1310 -------------
1311 To build Bat, you need Qt4 version 4.6.2.  If you build with any other
1312 version it is likely not to work.  If you do not have version 4.6.2, on
1313 your system, you can download the Bacula depkgs_qt version 16Dec10.
1314
1315 Packaging the SQL backend:
1316 --------------------------
1317 The main Bacula Director code is independent of the SQL backend
1318 in this version. This means that the Bacula Director can be packaged
1319 by itself, then each of the different SQL backends supported can
1320 be packaged separately.  It is possible to build all the DB backends
1321 at the same time.
1322
1323 - configure can be run with multiple database configure options.
1324    --with-sqlite3
1325    --with-mysql
1326    --with-postgresql
1327
1328 Order of testing for database is
1329 - postgresql
1330 - mysql
1331 - sqlite3
1332
1333 Each configured backend generates a libbaccats-<backend_name>-<version>.so
1334 A dummy catalog library is created named libbaccats-version.so
1335
1336 At configure time the first detected backend is used as the so called default
1337 backend and at install time the dummy libbaccats-<version>.so is replaced with
1338 the default backend type.
1339
1340 If you configure all 3 backends you get 3 backend libraries and the postgresql
1341 gets installed as the default.  When you want to switch the default you can
1342 copy one of the 3 backend libraries over the libbaccats-<version>.so e.g.
1343
1344 cp libbaccats-postgresql-<version>.so libbaccats-<version>.so
1345
1346 And update the default backend in the following files:
1347
1348 create_bacula_database
1349 drop_bacula_database
1350 drop_bacula_tables
1351 grant_bacula_privileges
1352 make_bacula_tables
1353 make_catalog_backup
1354 update_bacula_tables 
1355
1356 New Catalog format in version 5.2.0 and greater
1357 -----------------------------------------------
1358 This release of Bacula uses a new catalog format. We provide a set of
1359 scripts that permit to convert a 5.0.x (version 12) catalog to 5.2.1 (version
1360 14).  The Bacula project rpm spec files have been modified to
1361 detect the database change and do the upgrade for you.  We strongly
1362 recommend that you save a copy of your existing database before upgrading
1363 using rpms.
1364
1365 The simplest way to upgrade the database assuming you are building from
1366 source (i.e. manually):
1367 1. Stop any current version of Bacula from running.
1368 2. Save a copy of your existing database.
1369 3. Configure, build, and install the 5.2.1 version of Bacula
1370    Note the new ./configure options in the manuals see the link
1371    at the bottom of this file.
1372 4. cd <your-scripts-installation-directory>
1373 5. ./update_bacula_tables
1374 6. If you have multiple catalogs, edit the update_bacula_tables
1375    script and put the name of another database, and then
1376    execute the script again. Repeat this until all Bacula
1377    catalogs have been updated.
1378 7. Start the new Bacula.  If everything worked, it should
1379    not print any error messages.
1380
1381 If you start from scratch, you don't need to run the update_bacula_tables
1382 script because the create_bacula_tables script automatically creates the new
1383 table format.  However, if you are using a version of Bacula older than 5.0.0
1384 (e.g.  3.0.3) then you need to run the update_bacula_tables script that will
1385 be found in the <bacula>/src/cats directory after you run the ./configure
1386 command.  As mentioned above, before running this script, please backup your
1387 catalog database, and when you do running it, be sure shutdown Bacula and be
1388 aware that running the script can take some time depending on your database
1389 size.
1390
1391 ================================================================
1392
1393 Changes:
1394
1395 Speed and Memory Usage Enhancements:
1396 - Implement LZO compression algorithm (need lzo2 headers to activate this option)
1397 - New Pruning algoritm -- safer and faster
1398 - Use of PostgreSQL cursor when doing large queries, should reduce the
1399   memory usage during restore and accurate backups.
1400 - limit command in some list commands
1401 - Bacula Virtual File System for fast catalog access
1402 - Faster crc32 algorithm
1403
1404 Security Enhancements:
1405 - Additional security against injection of illegal characters
1406 - Fix possible fnmatch problem
1407
1408 Features Enhancements:
1409 - Improvements in ACL and xattr handling on additional platforms:
1410   AIX, Darwind, FreeBSD, HPUX, IRIX, Solaris, Tru64
1411 - Tray monitor for Windows
1412 - New SQL backend and ./configure that permits building multiple catalog
1413   backends in one build, and has the main Bacula core code totally independent
1414   of the SQL backend, which should simplify packaging (only the
1415   libbacsql.so/dll needs to be changed to switch from one database backend
1416   to another (e.g. MySQL to PostgreSQL).
1417 - Indent lsmark during restore
1418 - Disable batch insert config item
1419 - Director selection option in bconsole
1420 - restorejob command in bconsole
1421 - Many additional features for bat such as "brestore" panel
1422 - The old bat version browser has been turned off since it does not
1423   work correctly and the brestore panel provides the same functionality
1424 - Improved hash table for hard links
1425 - Additional script variable editing such as %b (JobBytes), %F (JobFiles) 
1426   and %h (Client Address)
1427
1428 Other Enhancements:
1429 - Includes better handling for Windows repares points, mount points, and 
1430   junction points.
1431 - New database format
1432 - Many new plugin API features
1433 - Improved memory handling for restores
1434 - Significant stability enhancements to bat
1435 - xattr/ACL restore failure are now printed as Warning
1436 - A few path name length limits in Windows have been removed.
1437
1438
1439 ===========================================================================
1440
1441 ;;;;
1442
1443 Kern;;;06 August 2010 at 19:15 CET
1444 We have released Bacula Version 5.0.3 to Source Forge
1445
1446 This 5.0.3 version is significant bug fix update to version 5.0.2.
1447 It includes new code and some new features.
1448 There is no database change since prior versions of 5.0.
1449
1450 Note, if you are running 5.0.0, read the 5.0.1 and 5.0.2 release notes below in
1451   the 5.0.1 release section.
1452   Important!!!
1453
1454 Compatibility:
1455 --------------
1456  As always, both the Director and Storage daemon must be upgraded at
1457  the same time.
1458
1459  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.0.3
1460  Director and Storage daemons. There should be no need to upgrade older File
1461  Daemons.
1462
1463 Changes and New Features:
1464 - If a VSS (Windows) snapshot fails, the whole Job is failed, previously
1465   it printed a warning message and continued.
1466 - New editing codes %b = Job Bytes and %f = Job Files for runscripts
1467 - Any non-Bacula project plugins (i.e. third party plugins) 
1468   must be upgraded to specify AGPLv3 in place of the GPLv2 used previously 
1469   for the PLUGIN_LICENSE.
1470 - The bat Media page text columns can be sorted by clicking on the column.
1471 - If possible, the SD will automatically update the catalog Volume size if 
1472   it does not match the Volume size. The mismatch between the Volume sizes
1473   typically occurs when the FD has a comm line drop or the FD crashes.
1474
1475
1476 Bug fixes
1477 1538 1554 1564 1567 1568 1569 1571 1577 1581 1582 1587 1594 1595 1606 1610
1478
1479 - Change license from GPLv2 to AGPLv3
1480 - Make Win32 no filesystem change more explicit
1481 - Backport Branch-4.0 release to Branch-5.0
1482 - Massive backport from Branch-5.1 to Branch-5.0
1483 - Fix postgresql catalog creation when version is not on the first line
1484 - Fix bug #1610 handle empty xattr values on Linux and xBSD.
1485 - Garbage collect memory pool at end of job and before sm_dump
1486 - Add xattr seg fault protection suggested by Marco for bug #1610
1487 - Add archlinux to os.m4
1488 - More fixes for 32/64 bit problems in smartall
1489 - Fix 32/64 bit problem in smartalloc dump routine
1490 - Fix bad copy/paste in commit c88dccb88 prably a seg fault
1491 - Add .dump and .exit commands for daemons
1492 - Make SD automatically fix the Volume size in the Catalog when out of sync
1493 - Use Pmsg in smartall.c rather than printf for tracing Windows
1494 - Up maximum block size to 20M
1495 - Fix for TLS bugs #1568 and #1599
1496 - Improve comm line error handling for TLS, may fix bug #1568 and #1599
1497 - Fix problem when sending Cancel event to plugin
1498 - Convert all Jmsg on the watchdog thread to Qmsg
1499 - Fix SD crash due to mismatched lock/unlock in error condition
1500 - Fix bug #1587 if you have clients with different catalogs configured, both 
1501   catalogs contains all clients after a reload or restart of the dir
1502 - Fix bug #1577 During migration: ERROR in block.c:950 Failed ASSERT: dev->is_open() 
1503   by moving and commenting out the ASSERT()
1504 - Skip HB kill in FD if HB thread terminated
1505 - Fix crash from unequal volume_lock/unlock calls
1506 - New prunning algorithm -- should be more accurate
1507 - Save any dumps during regression to dumps directory
1508 - Fix crash from rw_lock/unlock miss match
1509 - Attempt to fix duplicate job kill seg fault
1510 - Replace pthread_kill by my_thread_send_signal() in jcr.c
1511 - fix #1595 about batch mode detection problem for postgresql with non standard 
1512   install dir
1513 - Fix #1594 about prune copy jobs
1514 - Apply literal string fix in printf submitted by Luca Berra
1515 - Fix bug #1582 Restore from multiple storage daemons breaks subsequent backups
1516 - Fix segfault on "cancel jobid=" command
1517 - Fix bug #1554 Windows installer doesn't honor /S flag
1518 - Remove pool zap code that breaks 2drive-concurrent-test
1519 - Fix #1571 and install libraries with 755 perms
1520 - Fix bug #1581 ASSERTs in src/dird/jobq.c can never trigger
1521 - Fix problem with BaseJob and Accurate FileSet options on client side
1522 - Fix for bug #1569 deadlock/crash in Dir
1523 - Fix segfault when loading Plugins
1524 - Fix #1567 about display of long volume names truncated during restore
1525 - Added new bacula-libs package.
1526 - Fix bug #1538 Start Scripts return incorrect value
1527 - Fix bug #1564 init scripts not LSB compliant
1528
1529 See ChangeLog for more details.
1530
1531 ;;;;
1532
1533 Kern;;;01 August 2010 at 17:23 CET
1534 Welcome to our new bacula.org server
1535
1536 This is our new bacula.org server, graciously provided
1537 by UKFast.  Our previous server, also hosted by UKFast, was
1538 getting to be a bit old, so they furnished us a new one,
1539 and we are very pleased.
1540
1541 ;;;;
1542
1543 Kern;;;28 April 2010 at 19:15 CET
1544 Eric has released Bacula Version 5.0.2 to Source Forge
1545
1546 This 5.0.2 version is primarily a important bug fix update to version 5.0.1.
1547
1548 Note, if you are running 5.0.0, read the 5.0.1 release notes below.
1549   Important!!!
1550
1551 Compatibility:
1552 --------------
1553  As always, both the Director and Storage daemon must be upgraded at
1554  the same time.
1555
1556  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.0.2
1557  Director and Storage daemons. There should be no need to upgrade older File
1558  Daemons.
1559
1560 Changes since 5.0.1
1561 -------------------
1562
1563 Bug fixes
1564 1502 1511 1517 1524 1527 1532 1536 1541 1549 1551 1553 1559 1560
1565
1566 - Probable fix for SD crash bug #1553
1567 - Fix #1559 problem when restoring pruned jobs with a regexp
1568 - Fix for bug #1560 bcopy cannot find Volume
1569 - Fix cancel crash bug #1551
1570 - Check if sql backend is thread-safe
1571 - Correct Pool display in SD status. Fixes bug #1541
1572 - Fix cancel crash reported by Stephen Thompson
1573 - Rewind on close to fix #1549
1574 - Remove closelog() in bpipe fixes bug #1536
1575 - Fix #1517 about missing Base level in .level command
1576 - Replace ASSERT in block.c with fail Job
1577 - Fix database locking calling db_lock and returning from function without
1578   calling db_unlock.
1579 - Add missing db_unlock to bvfs_update_cache.
1580 - Fix #1532 about permission on binaries
1581 - Fix #1527 about deadlock during migration
1582 - Another fix for OpenSSLv1
1583 - Add -lrt to Solaris links
1584 - Fix tls.c for OpenSSLv1
1585 - Fix #1511 when trying to insert more than 50.000 directories in bvfs
1586 - Fix plugin load not to stop if one plugin bad -- pointed out by James
1587 - Remove --without-qwt from configure statement.
1588 - Second correct fix to bug #1524 verify fails after adding or removing files
1589 - Fix bug #1524 verify fails after adding or removing files
1590 - Apply fix suggested by Andreas in bug #1502 for mediaview column sort problem
1591 - Fix OpenSSL 1.x problem in crypto.c on Fedora 12
1592 - Display AllowCompress warning message only if compression used in FileSet
1593
1594 ;;;;
1595
1596 Kern;;;25 February 2010 at 15:35
1597 Bacula Version 5.0.1 has been released to Source Forge
1598
1599 Bacula version 5.0.1 source code and Windows (32/64 bit) binaries have been 
1600 released to Source Forge (thanks Eric).  
1601
1602 This is a major bug fix release including a few directives that have been 
1603 rewritten, one new directive, and some different directive behavior (see the 
1604 release notes below).  As is usual for a patch release (last digit changes by 
1605 one), this version is compatible with the 5.0.0 database and with prior 
1606 clients.  However, you *must* upgrade all components that are on any one 
1607 machine (that is you must upgrade your Director, Storage daemon, and File 
1608 daemon at the same time, if they reside on the same machine).
1609
1610 Note, Bacula does not normally uninstall previous versions, and we have 
1611 changed the shared object naming convention, so you might want to first save 
1612 your configuration files then uninstall the old Bacula using the old Bacula 
1613 uninstall prior to installing the new one.  If you do not, it should not be 
1614 serious, but you may be left with some older Bacula shared objects that are 
1615 not used and hence wasting a small amount of disk space.
1616
1617 If you are upgrading from version 3.0.x or prior, please see the full release 
1618 notes as you must do a database upgrade.  When updating from 5.0.0 to this 
1619 release there is no database upgrade needed.
1620
1621 Scott has made a number of changes and improvements in the rpm packaging over 
1622 the past few weeks since version 5.0.0 was released, so he will probably be 
1623 releasing the 5.0.1 rpms quite soon.
1624
1625 Thanks for using Bacula :-)
1626
1627 Best regards,
1628
1629 Kern
1630
1631 =============  Performance Note ==================
1632
1633 Some of you have encountered performance problems with your
1634 database (mainly with MySQL) with Bacula version 5.0.0.  This is
1635 mainly because we've changed the SQL query used for restore,
1636 accurate jobs and base jobs.  We have extensively tested this
1637 change, and though it should be a little bit slower than the previous
1638 versions, on a well configured database it should run
1639 extremely well.  
1640
1641 We strongly recommend to avoid the temptation to add new indexes.
1642 In general, these will cause very significant performance
1643 problems in other areas.  A better approch is to carefully check
1644 that all your MySQL memory configuation parameters are are
1645 suitable for the size of your installation.  If you backup
1646 millions of files, you need to adapt the database memory
1647 configuration parameters concerning sorting, joining and global
1648 memory.  By default, sort and join parameters are very small
1649 (sometimes 8Kb), and having sufficient memory specified by those
1650 parameters is extremely important to run fast.  
1651
1652 If adjusting your MySQL memory configuration values does not
1653 solve your problem, you can also consider switching to
1654 PostgreSQL, which performs much better with Bacula on big
1655 installations (many millions of files per Job).  However for
1656 large installations, you will also need to adjust the default
1657 PostgreSQL memory configuration parameters.
1658
1659 ==========================================
1660
1661
1662                Release Notes for Bacula 5.0.1
1663
1664   Bacula code: Total files = 1,081 Total lines = 217,272 (Using SLOCCount)
1665
1666 !!!!!!!!!!!!!!!!!!!!! NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1667 The Allow Duplicate Jobs directive has been significantly 
1668 reworked, and the default value has changed. See below.
1669
1670 Truncate On Purge has been totally rewritten. See the new
1671 features section of the manual.
1672
1673 When Volume Poll Interval is set in the SD DEVICE configuration,
1674 (default 5 mins), after a certain number of polling tries (approx
1675 10) polling will stop and the operator will be asked to
1676 resolve the problem.  Previously there was no limit, and an
1677 error message could be produced at each poll attempt.
1678 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1679
1680 Changes since 5.0.0
1681 -------------------
1682 - We believe that we have resolved most of the problems
1683   concerning canceled or failed jobs being "stuck" in the
1684   Director.  There is one outstanding problem in the SD when
1685   canceling jobs that we will fix in the next major release.
1686   If you see jobs that seem to be stuck, in general issuing
1687   a cancel command in bconsole should now make them go away.
1688
1689 Directives:
1690 - The default for "Allow Duplicate Jobs" has been changed from 
1691   no to yes.  If you use this directive, please check your
1692   conf file, and note the next two items !!!!!!!!!!!!!!!!!!!
1693 - AllowHigherDuplicates disabled. It did not work as documented   
1694     and was confusing.
1695 - New directive "CancelLowerLevelDuplicates" See New Features
1696   section in the manual.
1697 - Truncate on Purge rewritten.  See New Features section in the manual.
1698
1699 Bug fixes:
1700 1448 1466 1467 1468 1476 1481 1486 1488 1494 1497 
1701 1499 1501 1505 1509 1513
1702
1703 - Ensure SD asks for help when looping even if poll set. Fixes bug #1513.
1704 - Fix three-pool regress bug
1705 - Modify bacula.spec fixes bug #1505
1706 - This version fixes an issue where the console window would start out
1707   docked. It is fixed by initiating the variables in the Pages class wi
1708   constructor.
1709 - Fix make_catalog_backup.pl fails when catalog db is on other host
1710 - Apply MacOSX installer patch from bug #1509
1711 - Apply fix to previous fix of Copy problem. Fix proposed by reporter o
1712   #1476
1713 - Fix bug #1501 -t does not print errors
1714 - Apply SQLite3 update fix from bug #1497
1715 - Apply bashism fix for diskchanger.in script from bug #1499
1716 - Apply rpm fix for Sci Linux from bug #1494
1717 - Take most recent Ukranian po from bug #1448
1718 - Probable fix for Copy/Migration bug #1476
1719 - Fix bug #1488 -- avoid recursion and race conditions in messages.c
1720 - Upgrade cats library also to 5.0.0
1721 - Fix missing console page in bat
1722 - Add bat help files to Window install
1723 - Improve Windows upgrade to ensure old FD is shutdown
1724 - Fix bug #1481 -- bat consumes all console file descriptors
1725 - Backport truncate on purge from 5.1.x
1726 - Fix bug #1486 -- bat doesn't show any errors on command-line
1727 - Update the bsock error URL
1728 - Correct .my.cnf umask in make_catalog_backup.pl
1729 - Apply fix for dbcheck use by make_catalog_backup.pl
1730 - Fix seg fault in bscan from new comment field
1731 - Allow multiple CNs when using TLS
1732 - Fix seg fault in SQlite driver
1733 - Make shared libs version the same as the Bacula release version
1734 - Remove file_index sequential check
1735 - Fix #1466 about Bogus pruning message
1736
1737 For Packagers:
1738 1.  The default query.sql file is now, except for some comments, empty.
1739 The old file, which we no longer support (it is impossible or difficult to
1740 make it work on every backend, and the queries are mostly contributed) can
1741 be found in <bacula-source>/examples/sample-query.sql.  The sample file is
1742 not installed by the Makefiles
1743
1744 2.  When you install the mtx-changer script, you must also install
1745 mtx-changer.conf if it does not exist.  This new file (mtx-changer.conf) is
1746 required for mtx-changer to work, but it is a user configurable file, so on
1747 any update, any existing file should not be overwritten.
1748
1749 3.  Bat should be built on every platform that is capabable of running Qt.
1750 However, the Qt code is changing rather quickly and is not always
1751 compatible from version to version.  We have built and verified bat on Qt
1752 4.3.4.  We strongly recommend that you do not build and distribute bat with
1753 any other version of Qt unless you personally test it.  To build against Qt
1754 4.3.4, download the depkgs-qt package from the Bacula Source Forge download
1755 location, read the README file and follow the instructions.
1756
1757 If you are building for Bacula version 5.0.0, please ensure that you do not
1758 have qmake-qt4 loaded on your system.  If you do, either remove it or
1759 rename it before trying to build bat.  If you do not, bat will probably be
1760 built using the shared objects on your system.  For Bacula 5.0.1 and later,
1761 this problem (bug) does not exist.
1762
1763 depkgs-qt does not install Qt on your system, nor does it interfere with
1764 you having any other version of Qt installed on your system.  Once you
1765 build bat with depkgs-qt, it should *not* use the Qt shared objects, but
1766 rather they will be linked into the program.  After fully installing bat
1767 (make install), you can run "ldd bat" to see what shared objects it will
1768 use.  If any Qt shared objects are referenced, something has gone wrong.
1769
1770 4.  Unless absolutely necessary, we recommend that you do not define any
1771 special library environment variables that apply to the ./configure -- for
1772 example: LIBDIR=/...  ./configure <your-options> is strongly discouraged.
1773 Doing so, could potentially cause Bacula to be linked against the wrong
1774 shared objects.
1775
1776 5.  The Bacula project strongly recommends that you install Bacula into a
1777 single directory, with a few minor exceptions such as the MySQL or
1778 PostgreSQL databases.  Preferrably this should be /opt/bacula.  The full
1779 recommendation is:
1780
1781 #!/bin/sh
1782 # Recommended configure script for Bacula
1783 prefix=/opt/bacula
1784 email=xxx@yyy.zz
1785 CFLAGS="-g -O2 -Wall" \
1786   ./configure \
1787     --sbindir=${prefix}/bin \
1788     --sysconfdir=${prefix}/etc \
1789     --docdir=${prefix}/html \
1790     --htmldir=${prefix}/html \
1791     --with-working-dir=${prefix}/working \
1792     --with-pid-dir=${prefix}/working \
1793     --with-subsys-dir=${prefix}/working \
1794     --with-scriptdir=${prefix}/scripts \
1795     --with-plugindir=${prefix}/plugins \
1796     --libdir=${prefix}/lib \
1797     --enable-smartalloc \
1798     --enable-tray-monitor \
1799     --enable-bat \
1800     --with-mysql \
1801     --with-dump-email=${email} \
1802     --with-job-email=${email} \
1803     --with-smtp-host=localhost \
1804     --with-baseport=9101
1805
1806 Obviously, the email, and some of the minor options (mysql, postgresql,
1807 ...) can be changed to suit your distribution, but the directory names
1808 defined above are strongly recommended, and over time the default values in
1809 the bacula-dir.conf and bacula-sd.conf will reflect these choices.
1810
1811 If you have any questions about this or would like a detailed document
1812 describing our recommendations including packaging requirements, please
1813 send an email to the bacula-devel list.
1814
1815 6.  Starting with Bacula version 3.0.0 up to Bacula 5.0.0, the shared
1816 libraries that Bacula uses by default are named xxx-1.0.0.  Starting with
1817 Bacula 5.0.1, we are going to name the libraries using the Bacula version.
1818 So in Bacula 5.0.1, the libraries will be named xxx-5.0.1.  With future
1819 versions, the last digit may or may not change when we distribute patch
1820 updates (i.e.  the last digit of the version changes).  This will depend on
1821 whether or not we have changed something in the library.  Hopefully this
1822 new procedure will resolve some of the incompatibility problems between
1823 different versions of the shared objects.
1824
1825 7.  The default build option for bconsole is conio (my own little console
1826 routines).  I did this because some years ago, readline was very difficult
1827 to maintain -- it and where it was found seemed to change on every release.
1828 This generated at the time a number of support problems.  It seems to me
1829 that since then there have been very few problems with readline.  As a
1830 consequence, I have no problem if you want to make bconsole with readline
1831 enabled.  It will actually give some very nice new bconsole command
1832 completion functionality that Eric has written.  Bottom line: feel free to
1833 use readline or not as you please.
1834
1835
1836 ;;;;
1837
1838 Eric;;;25 January 2010 at 10:00
1839 Bacula Version 5.0.0 has been released to Source Forge
1840
1841 Release Numbering:
1842 -----------------------------------------------------------
1843 You might be wondering why this release jumps from 3.0.x to 
1844 5.0.0 thus skipping version 4.0.0.  We have done this for 
1845 several reasons: first, we wanted a way of distinguishing
1846 the numbering system for the Bacula System Enterprise version
1847 and the Bacula Project version.  So, to do so, we have decided
1848 that the first number of the Bacula Project version will always
1849 be odd, and the first number of the Enterprise version will always
1850 be even. Thus the Bacula Project now moves from 3.0.x to 5.0.x.
1851 In addition, we want to keep the Bacula Project version larger
1852 than the Enterprise version to indicate that the Bacula Project
1853 version is more advanced or has more features than the 
1854 Enterprise version. For memory, the current Enterprise version
1855 is 2.6.1, and the next release (in a few months -- before June 2010)
1856 will be version 4.0.0.
1857
1858 Warning:
1859 --------------------------------------------------------------
1860 Please note the three Warnings below before doing any install or
1861 upgrade.
1862        
1863
1864 Changes since 3.0.3a (the last Bacula Project release):
1865 -------------------------------------------------------
1866
1867 Bug fixes:
1868 1337 1351 1352 1354 1357 1361 1367 1369 1370 1373 
1869 1376 1391 1403 1409 1420 1422 1427 1428 1431 1450 
1870 1454 1455 1458 1456
1871
1872 Fixed:
1873  - Problem that locks the Director when the SMTP server wasn't 
1874    responding to the bsmtp program 
1875  - Restore's dir command shows incorrect file sizes 
1876  - Fix various problems with the reload command   
1877  - Fix problems with conio
1878  - Eliminate several deadlocks or potential race conditions from SD
1879
1880 Enhancements:
1881  - Project 5: Truncate volume after purge
1882  - Project 6: File Deduplication using Base Jobs 
1883  - Project 10: Restore from Multiple Storage Daemons
1884  - Project 11: AllowCompression per Device
1885  - Project 23: Add Maximum Concurrent Jobs for Devices to balance load 
1886    between drives
1887  - Add Accurate Fileset Options to configure accurate detection. Can use 
1888    checksum verification for example.
1889  - Allow FD to keep root read but drop write permission (CAP)
1890  - Secure handling of passwords for catalog backup
1891  - Add Tab-completion for Bconsole when using Readline
1892  - Add Bvfs API to query the catalog without building a memory tree
1893  - Add new speed test to btape program
1894  - Add new Bat screens (Autochanger content, Job view, Media view, ...)
1895  - Windows version of Bat
1896  - Added Spanish Bacula translation   
1897  - New bconsole -u nnn option to have timeout on commands
1898  - Allow Migrate, Copy, and Virtual Full to read and write
1899    to the same Pool
1900  - show disabled   -- shows disabled Jobs
1901  - Add Pool File and Job retention periods (take precedence over Client)
1902  - Many ACL improvements
1903  - Level added to FD status Job entry
1904  - Allow turning on/off Block Checksum per device
1905  - Set Device Poll interval to 5 minutes -- previously did not poll
1906  - Implement lock manager with bad order protection
1907
1908 Compatibility:
1909 As always, both the Director and Storage daemon must be upgraded at
1910 the same time, and on any given machine, you must run only one version
1911 of Bacula. This means that on the Director and Storage daemon machines,
1912 you *must* upgrade your File daemon as well.
1913
1914 Older 3.0.x and possibly 2.4.x File Daemons are compatible with the 5.0.0
1915 Director and Storage daemons. There should be no need to upgrade older File
1916 Daemons immediately. However, we recommend that you do so as soon
1917 as is reasonable for your situation.
1918
1919 ================== Warning !!!!!! ==========================
1920
1921 New Catalog format in version 5.0.0 (3.1.9 or later)
1922 -----------------------------------------------------
1923
1924 This release of Bacula uses a new catalog format. We provide a set of
1925 scripts that permit to convert a 3.0.x (version 11) catalog to 5.0.0 (version
1926 12).  The Bacula project rpms distributed on Source Forge will automatically
1927 detect the database change and do the upgrade for you.  We strongly
1928 recommend that you save a copy of your existing database before upgrading
1929 using rpms.
1930
1931 The simplest way to upgrade the database assuming you are building from
1932 source:
1933 1. Stop any current version of Bacula from running.
1934 2. Save a copy of your existing database.
1935 3. Configure, build, and install the 5.0.0 version of Bacula
1936    Note the new ./configure options in the manuals see the link
1937    at the bottom of this file.
1938 4. cd <your-scripts-installation-directory>
1939 5. ./update_bacula_tables
1940 6. If you have multiple catalogs, edit the update_bacula_tables
1941    script and put the name of another database, and then
1942    execute the script again. Repeat this until all Bacula
1943    catalogs have been updated.
1944 7. Start the new Bacula.  If everything worked, it should
1945    not print any error messages.
1946
1947 If you start from scratch, you don't need to run the update_bacula_tables
1948 script because the create_bacula_tables script automatically creates the new
1949 table format.  However, if you are using a version of Bacula older than 3.1.9
1950 (e.g.  3.0.3) then you need to run the update_bacula_tables script that will
1951 be found in the <bacula>/src/cats directory after you run the ./configure
1952 command.  As mentioned above, before running this script, please backup your
1953 catalog database, and when you do running it, be sure shutdown Bacula and be
1954 aware that running the script can take some time depending on your database
1955 size.
1956 ================================================================
1957
1958
1959 ================== Warning !!!!!! ==========================
1960 If you upgrade a previous Win32 client installation, you must
1961 first stop the File daemon, then uninstall it before attempting
1962 the upgrade. If you do not do so, the upgrade will probably
1963 fail and you will need to manually find and run the 
1964 Uninstall.exe file, before you can upgrade to the new version.
1965 This is because the file locations are different.  If you want
1966 to save your previous bacula-fd.conf file, please do so before
1967 uninstalling it.
1968 ================================================================
1969
1970 ================== Warning !!!!!! ==========================
1971 Due to permissions problems on Windows Vista and later systems,
1972 we no longer require SYSTEM or Administrator permissions to 
1973 access the binaries and configuation files.  If you wish
1974 to restrict access to these files, please see the New Features
1975 section of the manual for how to set access control lists.
1976 ================================================================
1977
1978 Note, the Win32 Installer no longer installs the Bacula Servers
1979 (Director and Storage daemon). See the New Features section of
1980 the manual for more details.
1981
1982 ============ Documentation improvements needed ==================
1983
1984 Note!!!!! The 5.0.0+ documentation has a number of known problems:
1985
1986 1. We have reduced the number of manuals, which has fixed many
1987    of the broken links found in the old 3.0.x version, but there
1988    are still some that need fixing.
1989
1990 2. Integration of the 3.0.x features into the main manuals has
1991    not yet been done.
1992
1993 The documentation will not be completed in the near future due to lack
1994 manpower.  If you are unhappy with this situation as we are, we suggest
1995 you help by submitting patches to the documentation.  Thanks.
1996 =====
1997
1998
1999 This release includes large number of new features and changes.
2000 It should be more or less compatible with previous xx.conf files
2001 and File daemons providing that you are not using any of the new
2002 features.
2003
2004 Please see the New Features chapter of the new manual, which documents
2005 some but not all the new features (we are still working on it):
2006
2007 http://www.bacula.org/5.0.x-manuals/en/main/main/New_Features_in_5_0_0.html
2008   
2009 The ChangeLog has more details.
2010
2011 ;;;;
2012
2013
2014 Kern;;;18 October 2009 at 21:00
2015 Bacula Version 3.0.3 has been released to Source Forge
2016
2017 Note, if you are not already running 3.0.x, read the 3.0.x release notes 
2018   below.  Important!!!
2019
2020 Version 3.0.3 is primarily a important bug fix update to version 3.0.2.
2021
2022 Changes since 3.0.2:
2023 Bug fixes:
2024  1391, 1288, 1346, 1352, 1359, 1355, 1363, 1364, 1365, 1366, 1368, 
2025  1369, 1370, 1371, 1382
2026
2027 Fixes:
2028      Apply James' fix for some Exchange plugin crashes
2029      Integrate patch for building dmg on OSX from Lorenz Schori <lo@znerol.ch>
2030      Fix bug #1391 Job status improperly set due to subtle variable overload problem
2031      Fix #1352 about double free with regexp and big filenames on windows
2032      Apply Graham's idea for recovering from disk full by recursing
2033        when doing fixup_write_error ...
2034      Make fix for VirtualFull changing device based on suggestion by
2035        Nicolae Mihalache <mache@abcpages.com>
2036      Fix concurrent Job recycle bug #1288
2037      Backport part of one possible fix from bug #1346
2038      Fix bug #1382 newly created disk volumes -> file not found warning
2039      Fix Alpha ifdefing -- should fix bug #1359
2040      Use old code for selecting file during restore.
2041      Cherry-pick 3.1.x commits
2042      tweak space on projects file
2043      Fix seg fault in ignoredir code
2044      Apply Frank's slash patch
2045      Fix seg fault in SD bug #1371
2046        3.0.2-Fix-seg-fault-in-SD-bug-1371.patch 
2047      Add more info when SD connection refused
2048        3.0.2-Add-more-info-when-SD-connection-refused.patch
2049      Fix bug #1355 Director crashes with double free in Accurate SQL query
2050        3.0.2-accurate.patch
2051      Fixes bug #1368 ASSERT Failure on MacOS.
2052        3.0.2-mac-path-len.patch
2053      Fix #1364 and #1363 about compression buffer error.
2054        3.0.2-zlib-buffer.patch
2055      Fixes bug #1365 and #1366 about MacOSX resource forks. 
2056        3.0.2-bug-1365.patch and 3.0.2-bug-1366.patch
2057      Fix "Exclude Dir Containing" fileset option
2058        3.0.2-exclude-dir-containing-fd.patch
2059        3.0.2-exclude-dir-containing.patch
2060        3.0.2-exclude-dir-containing-top_level.patch
2061
2062 Compatibility:
2063  As always, both the Director and Storage daemon must be upgraded at
2064  the same time.
2065
2066  Older 3.0.x and possibly 2.4.x File Daemons are compatible with the 3.0.3
2067  Director and Storage daemons. There should be no need to upgrade older File
2068  Daemons.
2069
2070 ;;;;
2071
2072 Kern;;;20 July 2009 at 14:49
2073 Bacula Version 3.0.2 has been released to Source Forge
2074 Note, if you are not already running 3.0.x, read the 3.0.x release notes
2075 below.  Important!!!
2076
2077 Version 3.0.2 is primarily a important bug fix update to version 3.0.1 with
2078 some enhancements (see below).
2079
2080 Changes since 3.0.1:
2081
2082 Bug fixes:
2083   1029, 1285, 1298, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1311, 1315
2084   1317, 1318, 1323, 1325, 1331, 1333, 1335
2085
2086 Fixed:
2087  - Fix problem with the Postgresql driver that sometime displays <NULL> values
2088  - Cleanup old job records when starting the Director
2089  - Fix bugs in xattr code
2090  - Fix encoding problem with Postgresql
2091  - Fix that prevents restore by file selection from using Copy job
2092
2093 Enhancements:
2094  - Security enhancement for the File Daemon
2095  - New directive to specify source address for outgoing connexions
2096  - Show volume availability in autochanger when doing restore.
2097    This is project 31 in the projects file.
2098  - Add accurate=yes/no option to estimate command
2099  - Add --with-hostname, --with-bsrdir, --with-logdir to ./configure
2100  - Add a restore menu that contructs a full restore when entering a JobId.
2101    This is project 2 in the projects file.
2102  - Add new Nagios plugin
2103
2104 Compatibility:
2105 Like always, both the Director and Storage daemon must be upgraded at
2106 the same time.
2107
2108 Older 3.0.x and possibly 2.4.x File Daemons are compatible with the 3.0.2
2109 Director and Storage daemons. It should be no need to upgrade older File
2110 Daemon.
2111
2112 ;;;;
2113
2114 Kern;;;30 April 2009 at 17:49
2115 Bacula Version 3.0.1 has been released to Source Forge.
2116
2117 Note, if you are not already running 3.0.0, please read the 3.0.0 release notes.  Important!!!
2118
2119 Version 3.0.1 is primarily a minor bug fix update to version 3.0.0 with
2120 one enhancement (see below).
2121
2122 Changes since 3.0.0:
2123 Bug fixes:
2124   1276, 1274, 1275, 1272 1246, 1268, 1281, 1282.
2125
2126 Fixed:
2127 - Check for job_canceled() in fd_plugin code.
2128 - Update Win32 table creation to have new DB version 11 format
2129 - Remove illegal Options in Exclude of default Win32/64 bacula-dir.conf
2130 - Remove 'Reposition' messages when restoring
2131 - Updated projects file
2132 - Tweak version string to display versionid field at the end
2133   and keep fields order.
2134   - Add additional mysql connection debug code submitted by:
2135     Chandranshu <chandranshu@gmail.com>
2136
2137 Enhancement:
2138 - Modify insertion of read Volumes in SD to be done *before* the
2139   drive reservation. This ensures that a Volume to be read will not
2140     be reserved for writing. Significant improvement in eliminating
2141       tape deadlock situations.
2142
2143 Note, both the Director and Storage daemons must be upgraded at the
2144 same time. The 3.0.1 File daemons are compatible with 3.0.0 file
2145 daemons and as noted below in the 3.0.0 release notes the Director
2146 and Storage daemon should be compatible with 2.4.x File daemons.
2147 In general, we do not expect any of the 3.0.x File daemons to work with older
2148 Directors and Storage daemons (as has always been the case for Bacula
2149 releases).
2150
2151 ============ Documentation improvements needed ==================
2152
2153 Note!!!!! The 3.0.0+ documentation needs rather extensive modifications in the
2154 following areas:
2155
2156 1. Missing documentation.
2157 2. Correction of links within various manuals -- most fail.
2158 3. Integration of the new features into the main documents.
2159 4. Much more.
2160
2161 The documentation will not be completed in the near future due to lack
2162 manpower.  If you are unhappy with this situation as we are, we suggest
2163 you help by submitting patches to the documentation.  Thanks.
2164 =====
2165
2166 ;;;
2167
2168 Kern;;;09 April 2009 at 22:30
2169 Bacula Version 3.0.0 has been released to Source Forge.
2170
2171 This is to inform you that we have uploaded the Bacula version 3.0.0 source 
2172 tar files and the Win32/64 installer files to the Bacula Source Forge 
2173 download location.
2174
2175 There are quite a number of new features in this release, and upgrading to it 
2176 requires a database upgrade, so please read the release notes carefully 
2177 (included below) and the documentation for the new features at:
2178
2179 http://www.bacula.org/manuals/en/concepts/concepts/New_Features.html
2180
2181 There is still a good deal of work to do to finish the release process (mainly 
2182 reorganizing the web site manuals ...), but at least the source files are 
2183 released.  The rpms should follow shortly (probably this weekend).
2184
2185 If you are currently using 2.4.4, please note that within a few months that 
2186 version will no longer be supported, so please consider the possibility of 
2187 upgrading.
2188
2189 This release probably has the most new features that we have ever released, 
2190 and it has taken a long time to produce it.  The basic code is very well 
2191 tested, and if you stick to 2.4.4 features, you are unlikely to experience 
2192 problems.  However, many of the new features have not been well tested, so 
2193 your help will be appreciated.
2194
2195 The following issues with 3.0.0 are known and we are working on them:
2196
2197 1. The documentation is not 100% complete (there are so many new features that 
2198 we missed documenting some).  
2199
2200 2. All the new documentation is in the New Features chapter, but not all of it 
2201 has yet been integrated back into the appropriate chapters.
2202
2203 3. James has reported that the Exchange plugin may crash if you cancel a job 
2204 while it is running.  He is working on this.
2205
2206 4. The SD has many new features that will make it more stable. One in 
2207 particular is that it knows what Volumes will be read during a migration, 
2208 copy, or Virtual backup job, and will ensure that they are not selected for 
2209 writing (something easy to do if you are using disk files and the same pool 
2210 for reading an writing).  However, the day after the release was cut, I found 
2211 a problem with this code that prevents it from working properly during 
2212 certain pre-allocations of the write tape.
2213
2214 5. There is still an outstanding bug report on VSS failing (it seems to be a 
2215 bit of a rare case).
2216
2217 As I previously announced, we will now make 3.0.0 our main release source code 
2218 stream, and we hope to release new version every six months and bug fix 
2219 updates even sooner.  To be able to do this, we will support version 2.4.4 
2220 only for a few more months.  There after the project will only support the 
2221 most current release ...
2222
2223 This release comprises a lot of work by a lot of different people and many 
2224 contributions.  Normally I hesitate to mention particular people or 
2225 contributions because I always forget someone, but since this was such a big 
2226 release, I would like to mention at least the big contributions:
2227
2228 Sponsor Company(s)  -  Programmer - Project
2229 Bacula Systems - Eric Bollengier - Accurate Backup
2230 Bacula Systems - Eric Bollengier - Catalog format enhancements
2231 Bacula Systems - Eric Bollengier - bextract non-portable Win32 data
2232 Bacula Systems - Eric Bollengier - Win64 File daemon
2233 Bacula Systems - Eric Bollengier - SD deadlock detection + postmortum dump
2234 Bacula Systems - Eric Bollengier - Faster Attribute despooling if DIR & FD on 
2235                                                      same machine
2236 Bacula Systems - Eric Bollengier - Virtual tape emulation
2237 Bacula Systems - Kern Sibbald - USB rescue key
2238 Equiinet funded development - James Harper - MS Exchange plugin
2239
2240 Personal contributions:
2241 Kjetil Torgrim Homme - Regex expressions for restore in bootstrap file
2242 Marco van Wieringen - ACL code overhaul
2243 Marco van Wieringen - Solaris ZFS/NFSv4 ACL support
2244 Marco van Wieringen - Extended Attribute support
2245 Marco van Wieringen - Shared Objects
2246 Dirk Bartley - Bat speedup + stability improvement + many enhancements
2247 Joao Henrique Freitas - libdbi catalog driver
2248 Scott Barninger - rpm packaging
2249 Kern Sibbald - many big and little projects ...
2250 Many people -- see the AUTHORS file.
2251
2252 Many thanks to everyone for making Bacula what it is today.
2253
2254 === List of new features ===
2255 - Accurate Backup
2256 - Copy Jobs
2257 - ACL code overhaul
2258 - Solaris ZFS/NFSv4 ACL support
2259 - Extended Attribute support
2260   --disable-xattr (default=auto)
2261 - Shared Objects
2262   --enable-libtool (default)
2263   --disable-libtool
2264 - Virtual Backup
2265 - Catalog Format Enhancements
2266   - Support for more than 4 Billion file entries
2267   - New stats tables
2268 - Duplicate Job Control
2269 - TLS Authentication
2270 - bextract non-portable Win32 data
2271 - State File updated at Job Termination
2272 - Bacula Plugins
2273   - FD bpipe plugin
2274   - FD Exchange plugin
2275 - libdbi DB driver
2276 - Console Enhancements
2277   - status slots
2278   - list joblog
2279   - command separator
2280 - Bootstrap regex
2281 - Restore seek optimization
2282 - Virtual Tape Emulation
2283 - Bat Enhancements
2284 - RunScript Enhancements
2285 - Status enhancements
2286 - FD connect timeout default to 3 minutes
2287 - ftruncate implemented for NFS Volumes
2288 - FD Version compatibily flag
2289 - Statistics Enhancements
2290 - Faster Attribute despooling
2291 - Document split into 6 manuals
2292 - GPLv2 license now compatible with OpenSSL
2293 - Win64 File daemon
2294 - Postmortum dump improvements in SD
2295 - Deadlock mutex detection in SD
2296 - Improved Volume management in SD to avoid deadlocks.
2297 - New configure install options
2298   --docdir=  (default=/usr/share/doc/bacula-VERSION)
2299   --htmldir= (default=/usr/share/doc/bacula-VERSION/html -- bat help files)
2300   --plugindir= (default=sysconfdir, where plugins will be installed)
2301 - New Bare Metal Recovery with USB key. See rescue/linux/usb
2302  New Directives:
2303 - Max Full Interval
2304 - Max Diff Interval
2305 - Honor No Dump Flag
2306 - Exclude Dirs Containing
2307 - Recycle Pool
2308 - Max Run Sched Time
2309 - Max Wait Time    
2310 - Full/Diff/Incr Max Run Time
2311 - Scratch Pool
2312 - Max Console Connections
2313 - Spool Size (in Job resource)
2314 - Allow Mixed Priorities
2315 - Allow Duplicate Jobs
2316 - Allow Higher Duplicates
2317 - Cancel Queued Duplicates
2318 - Cancel Running Duplicates
2319 - TLS Authenticate
2320 - Console (in RunScript)
2321
2322 New features from Project Items Completed for version 3.0.0
2323     also listed above:
2324 Item  1:  Accurate restoration of renamed/deleted files
2325 Item  3:  Merge multiple backups (Synthetic Backup or Consolidation)
2326 Item  4:  Implement Catalog directive for Pool resource in Director
2327 Item  5:  Add an item to the restore option where you can select a Pool
2328 Item  8:  Implement Copy pools
2329 Item 12:  Add Plug-ins to the FileSet Include statements.
2330 Item 13:  Restore only file attributes (permissions, ACL, owner, group...)
2331 Item 18:  Better control over Job execution
2332 Item 26:  Store and restore extended attributes, especially selinux file 
2333 contexts
2334 Item 27:  make changing "spooldata=yes|no" possible for
2335 Item 28:  Implement an option to modify the last written date for volumes
2336 Item  n:  Split documentation into several books
2337 ================================
2338
2339
2340        Release Notes for Bacula 3.0.0
2341
2342   Bacula code: Total files = 520 Total lines = 205,459 (*.h *.c *.in)
2343
2344 The diff between 2.4.4 and 2.5.x is 208,340 lines, so this release
2345 represents an enormous effort.
2346
2347 This Director and Storage daemon must be upgraded at the same time,
2348 but they should be compatible with all 2.4.x File daemons, unless you
2349 use some of the new features that affect the FD.  In other words, you should
2350 not have to upgrade all your File daemons when you upgrade. However, any
2351 release of version 2.5.40 or greater requires a database upgrade.
2352
2353 ================== Warning !!!!!! ==========================
2354
2355 New Catalog format in version 3.0.0 (2.5.40 or later)
2356 -----------------------------------------------------
2357
2358 This release of Bacula uses a new catalog format. We provide a set of
2359 scripts that permit to convert a 2.4.x (version 10) catalog to 3.0.0 (version
2360 11).  The Bacula project rpms distributed on Source Forge will automatically
2361 detect the database change and do the upgrade for you.  We strongly
2362 recommend that you save a copy of your existing database before upgrading
2363 using rpms.
2364
2365 The simplest way to upgrad the database assuming you are building from
2366 source:
2367 1. Stop any current version of Bacula from running.
2368 2. Save a copy of your existing database.
2369 3. Configure, build, and install the 3.0.0 version of Bacula
2370    Note the new ./configure options in the manuals see the link
2371    at the bottom of this file.
2372 4. cd <your-scripts-installation-directory>
2373 5. ./update_bacula_tables
2374 6. If you have multiple catalogs, edit the update_bacula_tables
2375    script and put the name of another database, and then
2376    execute the script again. Repeat this until all Bacula
2377    catalogs have been updated.
2378 7. Start the new Bacula.  If everything worked, it should
2379    not print any error messages.
2380
2381 The upgrade operation will convert the FileId index field of the File table
2382 from 32 bits to 64 bits.  This operation will take TIME and will *temporarily* 
2383 DOUBLE THE SIZE of your catalog. Bacula must be shutdown during this update,
2384 so, won't be able to run jobs during this period.  For example, a 3 million 
2385 files
2386 catalog will take 2 mins to upgrade on a normal machine.  Don't forget to
2387 backup it before executing the script.
2388
2389 If you start from scratch, you don't need to run the update_bacula_tables
2390 script because the create_bacula_tables script automatically creates the new
2391 table format.  However, if you are using a version of Bacula older than 2.5.40
2392 (e.g.  2.4.4) then you need to run the update_bacula_tables script that will
2393 be found in the <bacula>/src/cats directory after you run the ./configure
2394 command.  As mentioned above, before running this script, please backup your
2395 catalog database, and when you do running it, be sure shutdown Bacula and be
2396 aware that running the script can take some time depending on your database
2397 size.
2398
2399
2400 Important New configure options :
2401 ----------------------
2402
2403 This release of Bacula 3.0.0 uses libtool by default
2404 to generate the Bacula libraries as shared objects rather than
2405 being directly linked in as in prior versions.  This means that
2406 the Bacula shared objects, must either be in a shared object 
2407 directory known to the loader or they must be in the directory
2408 where the Bacula binaries are installed.  It is also possible
2409 to explicitly specify the libraries directory on the ./configure
2410 line (--libdir=/full-path/dir), but this should not be necessary.
2411
2412   ./configure --libdir=<full-path>
2413
2414 If you have problems with libtool or you wish to use the old 
2415 way of building libraries and linking them into Bacula, you 
2416 can do so by disabling libtool on the configure command line with:
2417
2418   ./configure --disable-libtool
2419
2420 During the installation of Bacula 3.0.0, it will now install
2421 bat help files (if you have configured bat).  These files
2422 are placed in /usr/share/doc/bacula/html by default. If you
2423 want to put them elsewhere use:
2424
2425   ./configure --htmldir=<full-path>
2426
2427 During the installation of Bacula, it will now install the
2428 ReleaseNotes, License, technotes, ChangeLog, and similar
2429 files in /usr/share/doc/bacula by default.  If you
2430 want to put them elsewhere use:
2431
2432   ./configure --docdir=<full-path>
2433
2434 During the installation of Bacula, any plugins will be
2435 installed in the plugindir, which is by default the
2436 same as libdir (/usr/lib).  You can specify an alternate
2437 location with:
2438
2439   ./configure --with-plugindir=<full-path>
2440
2441 ==============================================================
2442
2443 This release includes large number of new features and changes.
2444 It should be more or less compatible with previous xx.conf files
2445 and File daemons providing that you are not using any of the new
2446 features.
2447
2448 Please see the New Features chapter of the new manual, which documents
2449 some but not all the new features (we are still working on it):
2450
2451 http://www.bacula.org/manuals/en/concepts/concepts/New_Features.html
2452   
2453 The ChangeLog has more details.
2454
2455 ;;;
2456
2457 Kern;;;03 Nobember 2008 at 17:35
2458 Critical 2.4.3-orphaned-jobs.patch released
2459 We recently found and corrected a serious bug in Bacula that causes jobs to be
2460 orphaned or "stuck" in the director during the pruning process.  Depending on
2461 what jobs get stuck and how many there are, it could prevent additional jobs
2462 from running.  As best we can tell, this problem occurs only during what could
2463 be called extreme pruning conditions -- i.e.  there are insufficient Volumes
2464 available for normal operations.
2465
2466 In any case, we recommend that everyone apply the 2.4.3-orphaned-jobs.patch,
2467 which you can find in the bacula-patches section of the Source Forge download
2468 area as well as in the directory patches of both the trunk and Branch-2.4 SVN.
2469
2470 ;;;
2471
2472 Kern;;;12 October 2008 at 10:30am
2473 Creation of Bacula Systems SA
2474 Dear Members of the Bacula Community,
2475
2476 I'm pleased to announce the creation of Bacula Systems S.A., a new company to 
2477 provide professional support and service for Bacula.  I believe you will be 
2478 pleased to see how we have married a strong commitment to the ethos of honest 
2479 open source software with the availability of services desired by a wide 
2480 range of Bacula users. 
2481
2482 As many of you know, I began work on Bacula in 2000 and released the first 
2483 public version in April 2002 to Source Forge.  Although I have personally 
2484 written a very substantial part of the code, I offer sincere thanks to the 
2485 many members of the community who have provided ideas, fixes, testing, and 
2486 contributions of code, without which Bacula would not be what it is today.  
2487 It has been a labor of love and I am pleased that so many people have found 
2488 Bacula useful. 
2489
2490 Before telling you more about Bacula Systems, let me reiterate my unfaltering, 
2491 ongoing commitment to open source software and the Bacula open source 
2492 project. The code for Bacula and all future releases will remain available as 
2493 free open source software under the GPL license that I transferred to the 
2494 protection of the Free Software Foundation of Europe. Unlike some other open 
2495 source projects, there will be no separate "enterprise" or proprietary 
2496 version of the Bacula source code. www.bacula.org will continue to be the 
2497 home for Bacula project development.
2498
2499 So, why create Bacula Systems? The company was created to respond to requests 
2500 from users who want professional support with guaranteed levels of service 
2501 and response times.  To ensure continuity and the highest level of knowledge 
2502 transfer, I will take the position of Chairman of the Board and Chief 
2503 Technical Officer of Bacula Systems S.A..  
2504
2505 Several members of the Bacula community have joined me to start the company. 
2506 The other team members are also strongly dedicated to the spirit of keeping 
2507 Bacula open and free while simultaneously offering commercial services to 
2508 those for whom it is essential in making the decision to deploy Bacula.  
2509 Bacula Systems is self-financed -- the initial capital comes from the 
2510 founders; no outside venture capital was sought or accepted.  This means we 
2511 have the power to establish the company's priorities and we can remain 
2512 dedicated to "honest open source". Bacula Systems S.A. is a Swiss company 
2513 with offices in Yverdon-les-Bains, and with branches in France and Germany 
2514 initially.  We will open additional branches as business requires.
2515
2516 I will continue to support development of Bacula via bacula.org and the Bacula 
2517 community. Future developments will be in the "community" code base which 
2518 will remain free.  Bacula Systems will offer "funded development" to 
2519 customers who wish to accelerate the addition of certain features to Bacula.  
2520 Code developed this way will be contributed to the free distribution and will 
2521 be available to the entire community at no charge. Bacula Systems will 
2522 provide additional fee-based services, including high quality consulting, 
2523 training, documentation and certified binaries.
2524
2525 Our goal in establishing Bacula Systems is to be inclusive of the community, 
2526 and expand it by creating opportunities for members of the Bacula community 
2527 through a well-defined Partner Program.  If you provide IT services or 
2528 consulting, the Bacula Systems Partner Program can provide you with the 
2529 additional back-up (pardon the pun) support you need to serve your customers 
2530 more effectively. 
2531
2532 Our plan is to develop an international network of partners who offer high 
2533 value added services to Bacula users -- installing, configuring and optimizing 
2534 Bacula for their customers, as well as Level 3 and 4 support, with guaranteed 
2535 service levels.  We will also provide training and tools to our partners.
2536
2537 The Bacula project website, www.bacula.org, and Source Forge will be unchanged 
2538 in the mission and ideals of being  free sources of information, mail lists 
2539 and forum-based support for and by the community. Both Bacula source code and 
2540 Bacula binaries will continue to be available for free, as in the past, and 
2541 new releases will also be available for free. The new commercial website, 
2542 www.baculasystems.com will provide information on commercial subscriptions 
2543 for those users who want guaranteed levels of service, support, documentation 
2544 and certified binaries.  
2545
2546 All members of the Bacula community are encouraged to register for free at 
2547 www.baculasystems.com, so that you will receive announcements and news about 
2548 our commercial activities, and so that you can send feedback to our new 
2549 company, Bacula Systems.
2550
2551 Thank you for your interest and participation in the Bacula community.  
2552
2553 Sincerely,
2554
2555 Kern Sibbald
2556
2557 ;;;
2558
2559 Kern;;;11 October 2008 at 11:30am
2560 Bacula version 2.4.3 Released
2561 This is to let you know that the source tar files and the Win32 binaries for 
2562 Bacula version 2.4.3 have been released to the Bacula Source Forge download 
2563 area.
2564
2565 Release 2.4.3
2566  This is a bug fix to version 2.4.2.  All daemons are compatible
2567  with other 2.4.x versions.
2568
2569 Bugs Fixed:
2570   1159, 1162. 1149, 1128, 1143, 1140, 1129
2571
2572 Change Summary:
2573 - Apply 2.4.2-cancel-non-running-jobs.patch to be able to cancel
2574   a non created job faster.
2575 - This should correct bug #1159 where Migration does not properly
2576   respect the Migration Low Bytes directive.
2577 - Fix typo in configure.in that breaks --with-db-password option
2578 - This code should fix the race condition that leads to a Director
2579   crash at job end time when the job list is updated. This was reported
2580   in bug #1162.
2581 - Remove all double quotes from SQLite creating script and
2582   replace by single quotes as suggested by John Huttley.
2583 - Fix SQL case problem that may cause the failure of DiskToCatalog
2584   in bug #1149.
2585 - Copy missing storage name into edit buffer. As far as I can tell
2586   this never caused a bug.
2587 - Remove catalog dependency for bcopy
2588 - Modify catalog scripts to have an easier packaging integration,
2589   using default variables.
2590   Make difference between SQLite3 and SQLite in db_get_type()
2591 - Attempt to fix bug #1128 InChanger flag cleared during Migration
2592   job when reading from one autochanger and writing to another.
2593 - Add more information to SD acquire.c INFO messages.
2594 - Fix NULL Volume name error when reading and the drive must
2595   be switched.
2596 - Fix a Verify InitCatalog problem where in certain cases
2597   a garbage filename may be entered in the verification database.  This
2598   fixes bug #1143.
2599 - Add space after version before date in bat about dialog.
2600 - Fix seg fault in Dir during estimate command with no level value
2601   given. This fixes bug #1140.
2602 - Add message to migration job when the target job is already migrated.
2603   This closes bug #1129.
2604
2605 Unless some really serious new bug shows up, this will be the last release 
2606 until the next major version (3.0.0), which we hope will be ready around the 
2607 end of the year.
2608
2609 ;;;
2610
2611 Kern;;;26 July 2008 at 10:30am
2612 Bacula version 2.4.2 Released
2613 This is to inform you that we have released the source and Win32 binaries of 
2614 Bacula version 2.4.2 to the Bacula Source Forge download area.
2615
2616  This is an important bug fix release since version 2.4.1.
2617
2618 Bugs Fixed:
2619  1034, 1125, 1118, 1124, 1107, 1129, 1126
2620
2621 Change Summary:
2622 26Jul08
2623 - When a migration job actually runs, re-check the Job record
2624   and skip if the job is already migrated. This should
2625   significantly reduce the problems with bug #1129.
2626 - Break the do_swapping into do_unload, do_swapping, and
2627   do_load.  It is much more logical that way.
2628 - Implement a set_dcr_from_vol subroutine in acquire.c for
2629   reading volumes. This allows the dcr to be refreshed after being
2630   zapped when the wrong volume is mounted. This should fix bug #1126 -
2631 - During multiple tape restore, bacula
2632   does not ask for physical tape change, but rereads same tape
2633 - Apply patch submitted for bug #1107 with a small modification.
2634   This fixes a bug where bcopy copied too many records.
2635 - Make some tweaks to bsmtp based on patch submitted in bug #1124.
2636   This fixes bug #1124.
2637 - Make the default bat restore Pool be Any. This fixes bug #1118.
2638 - Fix bug #1125 which reports a SD crash at the end of a tape
2639   during restore. It was a debug statement that should not be
2640   in a release.
2641 - Fix #1034 by setting big timeout on mysql connections
2642 - Do partial integration of the Win32 bat build created by Eric.
2643 - Ensure that SD tried to mount a volume not in an autochanger
2644   at least once before asking for operator intervention.
2645 - Fix a pthreads bug in the Win32 pthreads emulation code affects only
2646   version 2.5.x and above.
2647 ;;;
2648
2649 Kern;;;7 July 2008 at 10:30am
2650 Bacula version 2.4.1 Released
2651 This is to inform you that we have released the source and Win32 binaries of 
2652 Bacula version 2.4.1 to the Bacula Source Forge download area.
2653
2654 Bugs Fixed:
2655  1103, 1100, 1105, 1094, 1109, 1106, 1101, 1102, 1112
2656  1117, 1116, 1097.
2657
2658 Change summary:
2659 -  Clear in-use bit on vol when unused while swapping.
2660 -  Remove sleep at end of ./bacula
2661 -  Clear hash packet for hardlinked files correctly. This corrects
2662    a long standing bug where hardlinked files selected individually
2663    would occasionally not be restored.
2664 -  Apply Eric's patch to ensure that autoprune does not return
2665    a Volume not in the autochanger unless requested to do so.
2666 -  Correct bat restore display of multiple drives. This fixes
2667    bug #1117.
2668 -  Do find_a_volume() each time an unload is done. This
2669    fixes the failure of maxvol2-test.
2670 -  Use Qmsg() in job.c watchdog callback.
2671 -  Release main control rwlock if ABORTing.
2672 -  Make watchdog connect timeout queue messages rather than sending
2673    directly to avoid lock conflicts with the real thread.
2674 -  Remove const char that causes problems with Python, which has
2675    older 'incorrect' headers.
2676 -  Add const char in dbd.c to avoid compiler warnings.
2677 -  Fix mtx-changer to detect both versions of Ubuntu (Debian)
2678    mt. This fixes bug #1116.
2679 -  Fix failure of 2drive-concurrent-test. Always read label;
2680    clear_unload() only after drive is defined in acquire_for_read().
2681 -  Generally clean up the manual tape loading code. The main
2682    conceptial change is that when a volume is marked to be unloaded,
2683    its volume name is retained, and it is only marked as unloaded
2684    when either the autoloader says it is unloaded or another tape
2685    is read on that drive.
2686 -  Fix a recycling problem with two autochangers reported in bug
2687    #1106. This may also (unlikely) fix a second recycling bug as
2688    reported in #1103.
2689 -  Fix a SD lock volumes deadlock problem reported in bug #1100.
2690 -  Fix format problem in bscan output reported in bug #1105.
2691 -  Copy more data when restarting a job so that run
2692    overrides are kept. This should fix bug #1094.
2693 -  Backport updates to jobq.c where possible.
2694 -  Fix bug where SD did not ask operator if the device could not
2695    be opened. Reported by Eric.
2696 -  Add dbuser to DIR conf file (replaces user).
2697 -  Add --with-db-password to ./configure
2698 -  Fix regress to handle db_password.
2699 -  Fix a couple of pedantic compiler warnings.
2700 -  Fix bug when starting a restore on a storage that doesn't
2701    have the requested MediaType.
2702 -  More work on word alignments -- eliminate all ints from
2703    the configuration routines.
2704 -  Fix bug reported by Scott Barninger where the bacula script
2705    refers to scripts in the wrong directory. Needed to meet the
2706    requirements of recent FHS location changes.
2707 -  Fix word alignment problem on non-Intel 64 bit machines
2708    such as Solaris.  This should fix bug #1097 -- bus error in SD.
2709 -  Add missing win32/patches/wxWidgets.patch to 2.4 repository.
2710 ;;;
2711
2712
2713 Kern;;;4 Jun 2008 at 10:30am
2714 Bacula version 2.4.0 Released
2715 This is to inform you that we have released the source and Win32 binaries of 
2716 Bacula version 2.4.0 to the Bacula Source Forge download area.
2717
2718 This release consists mainly of a number of bug fixes since 2.2.x
2719 but most importantly, a rewrite of significant portions of the
2720 Storage daemon reservation and autochanger code. This rewritten
2721 code is simpler, more stable, and works much better, particularly
2722 with multiple drive autochangers than the prior code did.  That
2723 said, there are still a number of issues to be resolved. Note,
2724 the new code has not been tested in manual volume mount situations.
2725
2726 As usual, we strongly recommend when installing to keep the Director and the 
2727 Storage daemon on the same version.  However, since this release only 
2728 contains refactored code and bug fixes rather than new features, the clients 
2729 (File daemons) should function perfectly with any 2.2.x version, and there is 
2730 no database upgrade needed.
2731
2732 =====================================================
2733                                                                      
2734        Release Notes for Bacula 2.4.0
2735
2736   Bacula code: Total files = 500 Total lines = 188,654 (*.h *.c *.in)
2737
2738 This Director and Storage daemon must be upgraded at the same time,
2739 but they should be compatible with all 2.0.x File daemons, unless you
2740 use some of the new features that affect the FD.  In other words, you should
2741 not have to upgrade all your File daemons when you upgrade. There is
2742 no database upgrade needed from version 2.0.x to 2.2.0 nor from version
2743 2.2.x to version 2.4.0
2744
2745 ==================   Warning !!!!!! ==========================
2746 As of Version 2.4.0, the Win32 FD should not descend into
2747 any reparse point directory or reparse mount points unless the
2748 specified directory is explicitly mentioned at the top level of
2749 FileSet (as with Unix). A file that is linked to another file will
2750 be backed up, much like Unix hardlinked files.  If you want
2751 reparse directories backed up, you must explicitly include them
2752 in your FileSet.
2753 ======================================================
2754
2755 This release consists mainly of a number of bug fixes since 2.2.x
2756 but most importantly, a rewrite of significant portions of the
2757 Storage daemon reservation and autochanger code. This rewritten
2758 code is simpler, more stable, and works much better, particularly
2759 with multiple drive autochangers than the prior code did.  That
2760 said, there are still a number of issues to be resolved. Note,
2761 the new code has not been tested in manual volume mount situations.
2762
2763 Bugs fixed:
2764  1095, 1086, 1091, 1070, 1041, 1083, 1078, 1066, 1068, 1038
2765  1062, 1065, 1046, 1047, 1031
2766
2767 New features:
2768 - You can now build bat without the QWT libraries. Use
2769   --without-qwt as a ./configure option.
2770
2771 Release Version 2.4.0
2772 - Update version to 2.4.0 to reflect the magnitude of the SD changes.
2773 - Make sure to clear JS_WaitMedia when operator mounts a Volume.
2774   This fixes bug #1095.
2775 - Add create_postgresql_database.sql to Win32 installer. Should
2776   fix problem reported by Juilio Monteiro.
2777 - Get correct slot when auto unloading a device. This fixes bug
2778   #1086.
2779 - Fix possible seg fault if SQL error.
2780 - Fix renaming a Volume, which used the wrong Volume name.
2781 - If operator has rewind tape, print warning, release tape and
2782   try once more. If tape is positioned somewhere, something went
2783   wrong, so mark the tape in error and try once more. Previously
2784   this error was fatal, now it produces an error message.
2785 - Ensure correct volume name displayed during restore
2786 - Fix a few more Coverity reported problems.
2787 - Fix #1091 about bad output in estimate command.
2788 - Modify autochanger locking to attempt to avoid race
2789   conditions.
2790 - Make sure device not busy before doing label command.
2791 - Display open() errors except when polling. Previously too
2792   many were suppressed.  This should fix bug #1070.
2793 - Fix Win32 reparse points. Bacula will not recurse into any
2794   reparse point directory, including mount points, unless the
2795   directory is explicitly mentioned at the top level (same as   
2796  with Unix).  A file that is linked to another file will be
2797   backed up -- much as Unix does for hardlinked files.
2798   This fixes bug #1041.
2799 - Remove StorageId test when pruning and recycling (Eric's changes).
2800 - Fix buffer overruns detected by Coverity.
2801 - Implement --without-qwt
2802 - Fix layout of restore tree dialog
2803 - Add configure bat QWT libraries, so that bat can be built
2804   with or without the QWT libaries.
2805 - Implement regression that explicitly tests swapping a Volume
2806   from one drive to another.
2807 - Enhance disk-changer to detect most error conditions.
2808 - Fix SD code so that it properly swaps a Volume between drives.
2809   This fixes bug #1083.
2810 - Prevent a Volume that is being swapped from being freed from
2811   the volume list. This will most likely fix, at least partially,
2812   bug #1083.
2813 - Fix strippath so that it does not get a buffer overrun and crash FD.
2814   This fixes bug #1078.
2815 - Make inability to change owner/group when creating a dir only a
2816   warning rather than an error.
2817 - Fix SQL query in migration code
2818 - Fix bat seg fault at termination.
2819 - Add Bacula generated version to bat about box.
2820 - Backport development stream SD reservation system changes.
2821 - When wrong volume is mounted during read, unload_autochanger.
2822 - Stop searching for Volumes in SD askdir if DIR returns the
2823   same volume name twice in a row.
2824 - Rework class structures for VOLRES, DCR, and DEVICE to make
2825   the method names a bit more logical, and for more logically
2826   handling the responsibilities.
2827 - Remove redundant code in terminating the scheduler that just
2828   causes a seg fault in many cases.
2829 - Improve algorithm for detecting pre-reserved volume and
2830   swapping volumes.
2831 - Prevent volume from being released while being swapped.
2832 - Refactor parts of stored/mount.c
2833 - Add sanity checks for VolWriteTime and VolReadTime
2834 - Take care of bad clock changes while computing VolWriteTime
2835   and VolReadTime. This should fix or limit #1066
2836 - Correct error string numbers in dird/catreq.c
2837 - Restructure reserving, acquiring, and mounting volumes. Calls to
2838   autochanger are deferred for mount.c -- simplifes the code.
2839 - Do not prune any running job. It just fails the job.
2840 - Lock the volumes when changing dev->reserved_device and marking
2841   the volume unused otherwise the device can get reserved by
2842   another job before the volume is released, thus blocking it.
2843 - Correct some SD catalog request error messages.
2844 - Turn off code in read_record that causes a seg fault in the SD
2845   when reading past an EOS_LABEL.
2846 - Turn off unloading the autochanger in reserve.c as it just
2847    causes problems.
2848 - Lock volumes when unreserving a device.
2849 - Do not mark volume unused when recycling.
2850 - Fix bug #1068 fixes a SD crash when using Virtual autochanger.
2851 - Generate correct JobMedia records during spooling/despooling when
2852   running concurrent jobs.  Thanks to Tom Ivar Helbekkmo
2853   <tih@hamartun.priv.no> for excellent analysis and testing.
2854 - *Massive* commit of all fixes and back ports to create 2.2.9
2855   Mostly SD reservations enhancements.
2856 - Fix Win32 FD backup/restore memory leak due to improper termination
2857   of BackupRead/Write. This fixes bug# 1038.
2858 - Fixes a StorageId problem with volumes after migration.
2859 - Implements autostart scripts for Debian
2860 - Fix mtx-changer.in for broken Debian mt program.
2861 - Apply doc fix from bug #1062.
2862 - Resolve crash and improper restore wx-console Win32 restore
2863   GUI. Fixes bug #1065.
2864 - Update Win32 wxWidgets to latest version.
2865 - Attempt to do correct handling of Win32 mount points. Should
2866   fix bug #1046.
2867 - Add const to AIX prototype for initgroups()
2868 - Fix to the JobMedia patch, which introduced a new problem.
2869 - Fix creating first JobMedia record during Migration to include
2870   proper index. This caused slow restores of migrated jobs.
2871 - Fix bug #1047, do not strip paths on symbolic links.
2872 - Set catalog backup database and user name from values specified on
2873   the ./configure line.
2874 - Apply patch to correct bug #1031, about wrong pool source information
2875   in job report.
2876 ;;;;
2877
2878 Kern;;;27 Jan 2008 at 10:30am
2879 Bacula version 2.2.8 Released
2880 Bacula version 2.2.8 source tar files as well as the Win32
2881 binaries are available in the bacula and Win32 release areas 
2882 of Source Forge. I have hidden the previous BETA release
2883
2884 Version 2.2.8 is a bug fix to version 2.2.7 and has a few
2885   additional bugs fixed than the BETA 2.2.8 version previously
2886   released:
2887 - It fixes bugs: 1036, 1033(doc), 1028, 1040, 1045(doc), 1030,
2888   1042(partially), and possibly bugs 1018 and 1032.
2889   Bugs 1018 and 1032 involve problems with multiple-drive autochangers,
2890   and are difficult to reproduce.         
2891   See the ChangeLog for more details.
2892   Note, if you previously loaded version 2.2.8 BETA, you will probably
2893   want to upgrade, but it is not urgent ...
2894 ;;;
2895
2896
2897 Kern;;;9 Jan 2008 at 20:30
2898 Bacula version BETA 2.2.8 Released
2899 Bacula version 2.2.8 source tar files as well as the Win32
2900 binaries are available in the bacula-beta and
2901 Win32-beta release areas of Source Forge
2902
2903 Version BETA 2.2.8 is a bug fix to version 2.2.7:
2904 - It fixes bugs: 1036, 1033(doc), 1028, and possibly 1018 and 1032.
2905   Bugs 1018 and 1032 involve problems with multiple-drive autochangers.
2906 ;;;
2907
2908 Kern;;;24 Dec 2007;;20:30
2909 Bacula version 2.2.7 Released
2910 Bacula version 2.2.7 source tar files as well as the Win32
2911 binaries are available in the Bacula release area of Source Forge
2912
2913 Version 2.2.7 has several new features and several important bug fixes
2914   since version 2.2.6:
2915 - It fixes bugs: 1009, 1022, 1024, 1019, 1012, 1021, 1020
2916   1007, 1008.  For more details, please see the technotes-2.1 file.
2917 - Fixed a seg fault reported by Frank Sweetser that depended on
2918   exact path lengths, but the problem was in bsnprintf.c
2919 - Double quoting include filenames (@xxx) in Bacula conf files is now
2920   possible, thanks to a patch by Michael Stapelberg.
2921 - You can pipe input to include filenames (@|prog) by using a vertical
2922   bar, thanks to the above patch.
2923 - A daylight savings time bug in the Win32 bsmpt was fixed by a patch from
2924   Nerijus Baliunas.
2925 - Marc Cousins submitted a patch that permits building the PostgreSQL
2926   driver with version 8.3.
2927 - The configure option --archivedir has been changed to --with-archivedir
2928 ;;;
2929 Kern;;;9 Nov 2007;;15:25
2930 Bacula version 2.2.6 Released
2931 Bacula version 2.2.6 source tar files as well as the Win32
2932 binaries are available in the Bacula release area of Source Forge.
2933
2934 This release is a minor fix upgrade to version 2.2.5,
2935 and we recommend that all users upgrade when they can.
2936
2937 Version 2.2.6 is a minor bug fix realease to version 2.2.5
2938 - It fixes bugs: #1003, 942, 982, 990(response only), 991,
2939   993, 986, 976.
2940   - Fix bat crash wen it cannot connect to Director.
2941   - Fix joblist failure bug in bat.
2942 ;;;
2943 Kern;;;9 Oct 2007;;15:25
2944 Bacula version 2.2.5 Released
2945 Despite the fact that the Release Notes are rather short, the bug
2946 fixes represent quite a lot of work:
2947
2948 Version 2.2.5 is a major bug fix release to version 2.2.4
2949 - It fixes the following bugs: #961, 962, 963, 969, 968, 960,
2950   964, (possibly 935 and 903), 953, 953, 967, 966, 965, 954,
2951   957, 908, 958, and 955.
2952 - It also improves listing performance problems in bat pointed
2953   out by Chris Howells.
2954 ;;;
2955 Kern;;;29 Sept 2007;;20:30
2956 A serious data loss bug in Bacula version 2.2.4 found and fixed
2957
2958 This bug was very elusive and time consuming to track down.  It
2959 turned out to be a race condition that can lose the last one or
2960 two blocks of a Job, which can happen in rare cases only when
2961 running multiple simultaneous jobs when a volume fills and one
2962 Job finishes receiving the last data from the FD and at the same
2963 time a second job detects the end of the Volume.  The bug was
2964 introduced in version 2.0.0 and did not exist in version 1.38.x.
2965 If the bug is triggered, the data is lost (not written to the
2966 Volume), and it can occur for any backup job of any level under
2967 the conditions noted above.
2968
2969 The bug is reported in the bugs database as bug #964, and just
2970 this morning I found and tested a fix, which is attached as a patch
2971 to the bug report.  The patch (2.2.4-lost-block.patch) is also
2972 uploaded to the bacula-patches 2.2.x release area.  This bug may
2973 also be part of the problems reported in bug #935 and possibly
2974 #903.
2975
2976 Also in the bacula-patches 2.2.x area, you will find other
2977 patches that fixes bugs #953, 966, 967, 965, 958, 908, and
2978 955. Please refer to bugs.bacula.org for the details.
2979
2980 Though this bug quite serious (data loss), it should be rare.
2981 However, we recommend everyone to apply the patch.
2982 ;;;
2983 Kern;;;2007/9/14;;;14:30 
2984 Bacula version 2.2.4 Released 
2985
2986 This version of Bacula is a minor bug release to version 2.2.3.
2987 It contains the following fixes:
2988
2989 - Possible fix for authorization problems bug #953.
2990 - Possible fix for bug #908.
2991 - Add waits to multiple exit detection code to try to force pid
2992   file to always be deleted.
2993 - Restore good dev.tar.gz to rescue set appropriate binary property.
2994   This fixes bug #950.
2995 - Fix seg fault in error exit of acquire_for_read after unsuccessfully
2996   trying to switch drives by checking for blocking before unblocking.
2997   Fixes bug #906.
2998 - Cancel storage daemon in all cases where FD reports error. This
2999   should fix virtually all cases of bug #920 and will ensure that Devices
3000   are released as soon as possible.
3001 - Fix error message that was clobbered when Dir tells SD it does not
3002   have write permission on Volume.  This should fix a minor point
3003   in bug #942, but not the main problem.
3004 - Fix migration code to get correct Volume name with multiple volumes 
3005   by skipping |.  Fixes bug #936.
3006 - Implement patch supplied by Landon to fix bug #944 where using
3007   TLS with bconsole uses 99+% of the CPU.
3008 - Fix bug #946 about "bacula-dir -t" which doesn't works
3009   as expected.
3010 - Using "m" in bconsole will show messages as in prior versions
3011   and not memory usage.
3012
3013 - Note, you need GTK >= 2.10 to be able to link the Tray Monitor
3014   program.
3015 ;;;
3016 Kern;;;2007/9/9;;;14:30
3017 I regret to announce that there is a rather serious bug in Bacula.
3018
3019 Bacula bug #935 reports that during a restore, a large number of files are 
3020 missing and thus not restored.  This is really quite surprising because we 
3021 have a fairly extensive regression test suite that explicitly tests for this 
3022 kind of problem many times.
3023
3024 Despite our testing, there is indeed a bug in Bacula that has the following 
3025 characteristics:
3026
3027 1. It happens only when multiple simultaneous Jobs are run (regardless of
3028 whether or not data spooling is enabled), and happens only when the
3029 Storage daemon is changing from one Volume to another  -- i.e. the
3030 backups span multiple volumes, and it only happens for Jobs writing
3031 to the same volume.
3032
3033 2. It has only been observed on disk based backup, but not on tape.
3034
3035 3. Under the right circumstances (timing), it could and probably does happen
3036 on tape backups.
3037
3038 4. It seems to be timing dependent, and requires multiple clients to
3039 reproduce, although under the right circumstances, it should be reproducible
3040 with a single client doing multiple simultaneous backups.
3041
3042 5. Analysis indicates that it happens most often when the clients are slow
3043 (e.g. doing Incremental backups).
3044
3045 6. It has been verified to exist in versions 2.0.x and 2.2.x.
3046
3047 7. It should also be in version 1.38, but could not be reproduced in testing,
3048 perhaps due to timing considerations or the fact that the test FD daemons
3049 were version 2.2.2.
3050
3051 8. The data is correctly stored on the Volume, but incorrect index (JobMedia)
3052 records are stored in the database.  (the JobMedia record generated during
3053 the Volume change contains the index of the new Volume rather than the
3054 previous Volume).  This will be described in more detail below.
3055
3056 9. You can prevent the problem from occurring by either turning off multiple
3057 simultaneous Jobs or by ensuring that while running multiple simultaneous
3058 Jobs that those Jobs do not span Volumes.  E.g. you could manually mark
3059 Volumes as full when they are sufficiently large.
3060
3061 10. If you are not running multiple simultaneous Jobs, you will not be
3062 affected by this bug.
3063
3064 11. If you are running multiple simultaneous Jobs to tapes, I believe there is
3065 a reasonable probability that this problem could show up when Jobs are split
3066 across tapes.
3067
3068 12. If you are running multiple simultaneous Jobs to disks, I believe there is
3069 a high probability that this problem will show up when Jobs are split across
3070 disks Volumes.
3071
3072 13. The bug concerns only the Storage daemon so there is no need to update
3073 the clients, though I do recommend updating the Director when installing
3074 an updated Storage daemon.
3075
3076 I have uploaded patches to bug #935 (bugs.bacula.org) that will correct
3077 version 2.2.0, 2.2.1, and 2.2.2.  The patch has been tested only on version
3078 2.2.2 and passes all regression tests as well as the specific test that
3079 reproduced the problem. 
3080
3081 The patch has now been confirmed to fix the problem reported, and Bacula
3082 version 2.2.3 has been released to Source Forge.
3083
3084 For the technical details of the bug, please see: 
3085
3086   http://www.bacula.org/downloads/bug-935.txt
3087
3088 ;;;
3089
3090 Kern;;;2007/8/11;;;14:30
3091
3092 Bacula Version 2.2.0 has been released to Source Forge.         
3093
3094           Release Notes for Bacula 2.2.0 
3095
3096   Bacula code: Total files = 520 Total lines = 195,550 (*.h *.c *.in)
3097   82 new files, 41,221 new lines of code, 208,380 lines of change from 2.0.3
3098
3099 This Director and Storage daemon must be upgraded at the same time,
3100 but they should be compatible with all 2.0.x File daemons, unless you
3101 use some of the new features that affect the FD.  In other words, you should
3102 not have to upgrade all your File daemons when you upgrade. There is
3103 no database upgrade needed from version 2.0.x to 2.2.0.
3104
3105 Areas requiring caution or testing:
3106 - You must have the thread safe version of MySQL client libraries loaded
3107   to build with MySQL enabled.
3108 - Volumes are pruned only when absolutely necessary -- this may cause
3109   your database to grow compared to prior Bacula versions.
3110 - Solaris door and even port files are no longer restored (equivalent
3111     to what we do with sockets).
3112 - SQLite is no longer supported for Solaris -- it fails too often with
3113   bus errors.  SQLite3 should work on Solaris.
3114 - The default setting for SQLite3 is now 'PRAGMA synchronous=OFF'.
3115   This makes it run 30 times faster, but increases the possiblity
3116   of a corrupted database if your server shuts down unexpectedly.
3117   The default behavior can be changed in src/version.h
3118 - Restore on Win32, and in particular on Vista is untested. Please
3119   test before relying on it.  It should backup and restore reparse
3120   points.
3121 - Win32 servers are untested, and very likely not to work.
3122
3123 The major new features are:
3124 - Much faster insertion of attributes (somewhere around 10 times),
3125   many thanks to Eric Bollengier and Marc Cousin. 
3126 - First release of bat (Bacula Administration Tool).  Note to build
3127   bat you must explicitly enable it on the ./configure line, you
3128   must have the Qt4 version 4.2 or later libraries loaded, the qwt
3129   (Qt Graphics) package loaded, and qmake and the other Qt4 tools 
3130   must be available. Most of the implementation was done by Dirk Bartley.
3131 - Red/Black restore in memory tree (500 times faster loading).
3132 - The Regex Where code to allow easier relocation of restored files 
3133   thanks to Eric.
3134 - Socket level heartbeat for all connections (untested).
3135 - posix_fadvise() use in the FD to improve performance reduces
3136   swapping due to opening/reading lots of files. Win32 equivalent
3137   implemented.
3138 - Much improved Volume reservation code that should eliminate most
3139   conflicts experienced in multiple drive autochangers.
3140 - Simpler locking in the SD in the reservation system.
3141 - Detection of file size/date change during backup if enabled.
3142 - New Recycle Pool feature -- thanks to Eric.
3143 - Efficient implementation of very large include/exclude lists.
3144 - Volumes are no longer pruned during 'status dir'
3145 - Pruning is now more efficient, and if a Volume is purged,
3146   during pruning, it is immediately discovered.
3147 - License is now GPL v2 without modifications, fix a few copyright
3148   mistakes made when adding FSFE copyright notice.
3149
3150 New ./configure options:
3151 - --enable-bwx-console    
3152 - --enable-bat
3153 - --with-qwt=
3154 - --with-db-name=
3155 - --with-db-user=
3156 - --enable-batch-insert
3157
3158 New bconsole commands:
3159 - exec
3160 - memory
3161 - update recyclepool
3162 - .sql
3163 - .api
3164 - .pwd (in restore tree)
3165 - restoreclient (keyword)
3166 - backupclient  (keyword)
3167 - regexwhere    (keyword)
3168 - update jobid  (new command)
3169 - recyclepool   (keyword) 
3170
3171 New directives:
3172 - Heartbeat Interval (bconsole.conf)
3173 - Heartbeat Interval (bacula-dir.conf in Director, Client, Storage)
3174 - TLS Allowed CN     (bacula-dir.conf in Client)
3175 - Regex Where        (bacula-dir.conf in Job)
3176 - Strip Prefix       (bacula-dir.conf in Job)
3177 - Add Prefix         (bacula-dir.conf in Job)
3178 - Add Suffex         (bacula-dir.conf in Job)
3179 - Recycle Pool       (bacula-dir.conf in Pool)
3180 - FailJobOnError     (bacula-dir.conf in RunScript)
3181 - CheckFileChanges   (bacula-dir.conf in FileSet)
3182 - StripPath          (bacula-dir.conf in FileSet)
3183
3184 Other features or bug fixes:
3185 - Fixed bugs: 916, 910, 917, 914, 906, 907, 
3186   842, 830, 893, 861, 888, 886, 807, 877, 872
3187   885, 887, 864, 874, 882, 881, 863, 859, 
3188   856, 854, 845, 847, 846, 809, 772, 
3189   822, 825, 824, 808, 802, 797, 798, 795, 789, 791, 
3190   788, 780, 763, 782, 612, 767, 775, 621, 772, 764, 
3191   766, 621, 761, 755, 750, 741, 747, 742, 744, and 743.
3192 - Configure bat with --enable-bat. Define qwt libraries with
3193   --with-qwt=<dir>. See Installation chapter of manual for details.
3194 - Create a depkgs-qt package that has both Qt4 and qwt, which are
3195   needed to build bat. Most modern Linux systems will have both
3196   these packages in the distro.
3197 - Storage overrides delete all previous storage definitions instead
3198   of prepending.
3199 - One should be able to mount and unmount removable devices if the
3200   Device resource has Removeable Media set and the mount and unmount
3201   directives are defined.
3202 - ./configure will do a better job of searching for qwt libraries.
3203 - The Win32 version can no longer be shutdown from the tray monitor.
3204   Use the command line or the Services panne.
3205 - Keep prune_volumes() from pruning the whole Scratch pool.
3206 - More debug output in status storage.
3207 - Correct moving a Scratch volume from pool to pool (some
3208   critical columns were lost).
3209 - Different locking in reservations and despooling systems,
3210   which means more micro-locking and less macro-locking, which
3211   should give a lot more concurrency at the expense of slightly
3212   (<0.1%) more overhead due to more locking/unlocking, but     
3213   concurrent jobs should run much faster.
3214 - Additional drive reservation algorithm that should solve a lot of
3215   the problems experienced with multiple drive autochangers.
3216 - Storage daemon status command enhanced to more clearly show Volume,
3217   pool and media type when a job is waiting.
3218 - Made bsmtp work with more strict SMTP servers.
3219 - Detect doubly freed buffers in smartall.c
3220 - wx-console renamed to bwx-console (Fedora request)
3221 - gnome-console renamed to bgnome-console (Fedora request)
3222 - Migration preserves original job's FileSetId
3223 - Spooling implemented for migration jobs.
3224 - Config files can be read through a pipe, by specifying a leading |
3225   in front of the configuration path/filename.
3226 - New memory command (bconsole) that will print the current Director's
3227   memory usage, and an in use buffer dump.
3228 - Console name changed from *Console* to -Console- to accomodate Win32
3229   filename restrictions.  
3230 - Corrected the Win32 ftruncate bug.
3231 - Additional version information added to Job reports.
3232 - New -8 option for bsmtp to specify UTF-8 encoding type.
3233 - bsmtp will no longer add < > to target (from, to, cc) if there
3234   is already a < in the target.
3235 - Prefer Mounted Volumes extended to mean a volume that is being
3236   mounted by another job.
3237 - Runscript timing set to same as version 1.38.11
3238 - New TLS Allowed CN directive(s) permitted.
3239 - New bconsole 'exec' command to run external script/command.
3240 - Turn on FreeBSD/OpenBSD code to set EOT model on tape.
3241 - Drop from root done before database is opened.
3242 - Database user and name can be configured with:
3243   --with-db-name=name --with-db-user=user
3244 - Turn on wait_for_drive in mtx-changer script.
3245 - Rework how bar codes are handled in mtx-changer script.
3246   This appears to have been an unreported bug.
3247 - Updated nagios plugin supplied by Christian Masopust
3248 - Better restricted console ACL checking.
3249 - New Client Connect Wait directive in Storage daemon so that
3250   users can configure how long SD waits for FD connection.
3251 - Bacula will no longer permit pruning of the currently running
3252   job (note, if other jobs are running, they may be pruned).
3253 - Sockets are no longer restored.
3254 - dbcheck works in 300K chunks so will typically run faster.
3255 - Include/Exclude lists can now be efficiently handled for quite
3256   large sizes -- tens of thousands of entries.
3257 - Several memory leaks in migration and database usage were fixed.
3258 - New console keyword restoreclient, which specifies the client to
3259   which the restore will be sent. The client keyword specifies 
3260   the backup client. The restoreclient keyword is optional if it is
3261   not specified, the backup client will also be the restore client.
3262 - The disk file size is now checked to ensure that it agrees with the
3263   catalog value before Bacula will append to the disk (same as tape
3264   and DVD).
3265
3266 ;;;
3267
3268 Kern;;;2007/3/6;;;14:30
3269
3270 Bacula Version 2.0.3 has been released to Source Forge.
3271 This is a bug fix release to version 2.0.2.  If you are upgrading from
3272 a version older than 2.0.0, please be sure to read the important notes
3273 below.
3274
3275 Also, please check the patches directory in the current SVN or the
3276 patches release section on Source Forge for important bug fixes to   
3277 this version.
3278
3279 5Mar07
3280 kes  File migrate bug with Pool Occupancy using mediaid instead
3281      of jobids.  Fixes bug #795.
3282 kes  Fix orphaned buffers in filed backup and verify due to
3283      crypto buffers not freed during errors.  Fixes bug #789.
3284 04Mar07
3285 kes  Add smartctl call to bacula-sd.conf as an example of getting
3286      tape alert info.
3287 02Mar07
3288 kes  Add Client Connect Wait to Storage daemon to permit users to
3289      modify the time the SD waits for a FD connection.
3290 28Feb07 
3291 kes  Apply Command ACL filter to JobId list in restore command.
3292 kes  Correct typeo in var.c patch.
3293 27Feb07
3294 kes  Don't let Bacula prune File or Job records for the current Job.
3295 kes  Fix variable substitution pad + inc bug reported (with patch)
3296      in bug #791.
3297 26Feb07
3298 kes  Correct SQLite log table index as reported by Luca Berra.
3299 24Feb07
3300 ebl  Fix FIFO stuff, bacula tries to rewind the FIFO... Thanks to Andreas
3301 22Feb07
3302 kes  Fix a few places in lib/message.c where the open fd may
3303      not be zeroed.
3304 21Feb07
3305 kes  Add LANG=C to autoconf/randpass so it works with languages other
3306      than English.  Fixes bug #788.
3307 20Feb07
3308 ebl  Revert ClientRunBeforeJob as it was in 1.38.x
3309      This fixes bug #780
3310      You will not be able to generate Include/Exclude list any more.
3311      If you want to use this, you can apply 
3312      trunk/bacula/patches/testing/clientrunbeforejob_can_generate_include_exclude_list.patch
3313 19Feb07
3314 kes  Restore of sockets created false error messages because Bacula
3315      no longer restores sockets, but the code was still trying to
3316      set the attributes on a non-existent file. Reported by a user.
3317 16Feb07
3318 kes  Fix encryption deblocking bug, which caused some restored files
3319      to be truncated. This fixes bug #763. This is a CRITICAL bug fix.
3320 kes  Add FD event sequence order prepared by Eric -- for RunScripts.
3321 kes  Fix 12am/pm bug as reported in bug #782.
3322 15Feb07
3323 kes  Add quick disconnect FD code from 2.1.4 to 2.0.3.  This code
3324      causes the SD to release the FD as soon as the FD has sent
3325      all the data to the SD. After that the SD will do any final
3326      despooling (data and attributes) that are necessary. This
3327      allows laptops to disconnect much quicker from the network 
3328      after a backup.
3329 13Feb07
3330 kes  Apply Eric's ClientRunScriptAfter patch to 2.0 and 2.1.
3331 11Feb07
3332 kes  Optimize the use of the database a bit in the Status dir command.
3333      Only open it when needed, ensure that if any previous database
3334      was opened, it is closed.
3335 10Feb07
3336 kes  Modify dbcheck to handle orphaned JobMedia, Path, Filename,
3337      and File records in 300K chunks to be more efficient. This
3338      idea came from Juan Luis Frances (if I remember right).
3339 09Feb07
3340 kes  Update projects list.
3341 08Feb07
3342 kes  Fix dird/ua_cmds.c so that a cancel command checks if the
3343      console is authorized to cancel the job.  This fixes bug 
3344      #767.
3345 kes  Modify SD so that the VolCatJobs medium record is updated
3346      at the beginning of a Job rather than the end.  This
3347      fixes bug #775 where exceeding MaxVolJobs caused jobs
3348      to fail.
3349 kes  Added a mutex around getting and setting Volume information
3350      so that multiple simultaneous jobs will single thread.
3351 07Feb07
3352      Switch to using Subversion
3353 kes  Remove src/pygtk-console/ from configure
3354 06Feb07
3355 kes  Delete src/lib/btree.c from win32 build, then add rblist.c
3356      plus the entrypoints.
3357 kes  Apply patch supplied that corrects debug print
3358      in canceling jobs for max run time.  Supplied as
3359      part of bug #621, which was previously fixed.
3360 05Feb07
3361 kes  Test on job_canceled() and sd_msg_thread_done inside
3362      loop starting the message thread to avoid a race condition.
3363      Fixes bug #771.
3364 kes  Remove rl_catch_signal from console.c as it conflicted
3365      with the header definition. Fixes bug #765.
3366 ebl  Fixes bug #766 about RunsOnClient = Yes (case sensitive)
3367 04Feb07
3368 kes  Clarify some stored/acquire messages to indicate if the
3369      problem is with read or append.
3370 02Feb07
3371 kes  Fix memory leak with storage ids in cats/sql_get.c
3372 kes  Terminate watchdog earlier to avoid reference to released
3373      memory -- reported by Jason Austin.
3374 kes  Move closing the database from jobq.c to the director daemon
3375      termination routine. This fixes memory leaks for shadow jobs
3376      (i.e. migration jobs).
3377 kes  Free up the unique jobid chain items in migrate.c.  This fixes
3378      a memory leak problem.
3379 kes  Convert some ugly looking for statements to use foreach_alist
3380      in findlib/find.c.  This will facilitate converting the structures
3381      to use dlist (for large include/exclude lists).
3382 kes  Fix a bug in the btree.c and btree.h routines, then rename them
3383      rblist and add them to be built in src/lib.  Include some new
3384      methods written by Rudolf Cejka that make the code more readable
3385      (hides some of the ugly casting).
3386 26Jan07 (back port)
3387 kes  Implement item #12 on project list -- quick release of FD by
3388      the SD. This is noted in more detail above.
3389
3390 ;;;
3391
3392 Kern;;;2007/1/28;;;14:30
3393
3394 Bacula Version 2.0.2 released:
3395 28Jan08
3396 kes  Fix maxruntime bug #621.
3397 27Jan07
3398 kes  Get current main CVS .specs for RedHat, SuSE, Mandrake.
3399 26Jan07
3400 ebl  Implement the include JobID in spool file name project.
3401 kes  Reorder projects file in order determined by Jan 2007 vote.
3402 kes  Fix open of SQLite3 db where user does not have write permission
3403      so that DIR does not crash. Fixes bug #761.
3404 25Jan07
3405 kes  Change 'Device not configured to autolabel' from INFO
3406      to WARNING.
3407 kes  Fix jobq.c to restart failed jobs when Reschedule Times = 0
3408      which should restart an indefinite # of times.
3409 kes  Fix configure --help to print --with-mysql[=DIR]. Same for
3410      other DIR specifications.
3411 23Jan07
3412 rn   Fix msvc build problems. Fix bacula.dll exports for msvc build.
3413      Fix path quoting in SQLite scripts.
3414      Fix problems with SHGetFolderPath.
3415 19Jan07
3416 kes  Create patches/2.0.1-restart.patch. Fixes bug #755.
3417 18Jan07
3418 kes  Fix Job restart on error bug that promotes an Inc to a Full
3419      backup.  This should fix bug #755.
3420 kes  Add qt-console and first cut of code.
3421
3422 ;;;
3423
3424 Kern;;;2007/1/13;;;14:30
3425
3426 Bacula Version 2.0.1 has been released to Source Forge.
3427 This is bug fix update to version 2.0.0 and contains
3428 the following fixes:
3429
3430 -    Fix Bacula->Documentation link on Win32 to point to index.html
3431      instead of bacula.html. Fixed bug #750.
3432 -    Return JobId in db_get_job_record() when JobId==0. This should
3433      fix bug #741.
3434 -    Do not release source pointers when restarting a failed job.
3435 -    Add dynamic dll entry point for SHGetFolderPath to Win32 code.
3436      This *should* fix bug #747.
3437 -    Modify winbacula.nsi to substitute with g bin_dir_cmd. Should fix
3438      bug #742.
3439 -    Modify USTORE constructor to set an empty store_source string, 
3440      and don't copy the store_source string in a cancel.  Hopefully
3441      this will fix Arno's seg fault, bug #744.
3442 -    Add back code to disable conio in configure. Fixes bug #743.
3443 -    Correct the Options scanner in the FD to correctly handle  
3444      SHA1 option, which was eating the next option.  Reported by    
3445      Sebastien Guilbaud.
3446 -    Add code to indicate when the SD is spooling, spool wait, and 
3447      despooling as requested by Alan Brown.
3448
3449 ;;;
3450
3451 Kern;;;2007/1/4;;;14:30
3452
3453 Bacula Version 2.0.0 has been released to Source Forge.
3454
3455 There is an English Press Kit, written by Dan Langille at:
3456    
3457    http://www.bacula.org/about/press/presskit200.html.en
3458
3459 and a German version, translated by Arno Lehmann at:
3460
3461    http://www.bacula.org/about/press/presskit200.html.de
3462
3463 ;;;
3464    
3465 Kern;;;2007/1/4;;;14:31
3466
3467           Release Notes for Bacula 2.0.0
3468
3469   Bacula code: Total files = 438 Total lines = 154,329 (*.h *.c *.in)
3470
3471 ==== IMPORTANT Catalog update required =====
3472 - The database format has been updated from what was used in    
3473   Bacula 1.38.x.  You must manually update your database before 
3474   running Bacula 1.39.x or higher.  If you are using Bacula supplied
3475   RPMs this is not necessary as the RPM does it automatically.
3476   Please backup your previous version of the database before
3477   running the update.  The update script will be automatically
3478   installed in your scripts directory, or can also be found in
3479   <bacula-source>/src/cats.  It is called:
3480
3481      ./update_bacula_tables
3482
3483   It is necessary to run it only once the first time you move to
3484   a 2.0.0.  Upgrading the Bacula version thereafter does not
3485   require updating the database again.  Depending on the size of
3486   your database the script make take a bit of time, to run, but
3487   in general, it should be very fast.
3488
3489 ==== IMPORTANT new Win32 install procedure =====
3490   For Win32 migrations from versions prior to 1.39.0 nothing special
3491   needs to be done to upgrade.  Everything should be taken care of
3492   automatically.  The only thing not done is to delete the old C:\bacula
3493   directory mostly out of paranoia.
3494
3495 ==== IMPORTANT miscellaneous ====
3496 - The Gnome console program (gconsole) no longer functions as it
3497   should.More importantly, in restore mode, the restore tree is
3498   no longer shown in the left pane.  I suspect this is due to
3499   incompatible changes in the GTK+ API, and hence have given up
3500   on gnome and gtk+, as this has already happened several times
3501   previously.  At some point there will be a new GUI console.
3502 - The bacula-dir.conf directive Accept Any Volume has been
3503   removed because it was never implemented. You must delete all
3504   occurrence of this directive for the Director to run. The Storage
3505   daemon will automatically accept any valid Volume that you mount.
3506 - The --mandir ./configure option now points to the top level man
3507   directory.  The man files will be installed under mandir/man8 and
3508   mandir/man1 as appropriate.
3509 - You *should* be able to use 1.38.x FDs with version 2.0.0 Director
3510   and SD providing you do not use any of the new features (runscript,   
3511   data encryption). It seems to work here, but we do not guarantee it.
3512 - Your Director and SD must be simultaneously upgraded.
3513 - The restore command no longer uses the MediaType as the primary method
3514   of finding a suitable Storage device. Normally it will select the last
3515   device used to write a Volume. If no storage device is defined, it
3516   will use the old algorithm which selects the first Storage resource  
3517   with the correct MediaType.
3518 - The MD5/SHA1 hash codes kept in the database are now kept in a binary
3519   format compatible with the rest of the world. If you are running verify 
3520   jobs, you *must* do an InitCatalog or all files will show an MD5   
3521   difference.  Also, authentication uses the new algorithm by
3522   default, but *should* accept connections from older components (FD) using
3523   the old non-compatible algorithm. This has been tested, but more
3524   more testing is still needed.  
3525 - A stock SuSE 10.1 kernel may crash when Bacula runs and accesses
3526   the tape drive. Workaround, load the SuSE 10.1 version 2.6.16.21-0.25
3527   kernel or later. The SuSE 10.2 Alpha 5 or later kernel also works.
3528   This problem may also be present in certain Fedora FC5 kernels.
3529 - If you have been using the data encryption feature of 1.39.x, please
3530   be aware that certain combinations of encryption and other options
3531   with version 1.39.0 through 1.39.26 created Volume data that cannot
3532   be restored. We strongly recommend that anyone using encryption 
3533   carefully review his/her backups and at a minium do a Full backup
3534   with 1.39.28 of all encrypted data.  Robert Nelson has identified 
3535   and fixed it as follows:
3536      As of 1.39.27:
3537         No filters = Works fine
3538         Sparse = Works fine
3539         Compression = Works fine
3540         Encryption = Works fine
3541         Sparse + Compression = Works fine
3542
3543         Sparse + Encryption = Restore broken
3544         Sparse + Compression + Encryption = Restore broken
3545         Compression + Encryption = Restore broken
3546
3547      As of 1.39.28:
3548         Most combinations work, but some encrypted files are
3549         not properly restored.
3550
3551      As of 1.39.30:
3552         All combinations work fine except Sparse+Encryption.
3553
3554   Bottom line, if you are using data encryption, please test restoring
3555   data to be sure it all works correctly.
3556 - The current Volume format written by 1.39.22 is different from
3557   the format written by previous versions. The two formats
3558   are not compatible. Thus any DVDs written prior to 1.39.22 will
3559   be unreadable by version 1.39.22.
3560 - If you previously run a Bacula version prior to 1.39.30, the JobMedia
3561   data may not be correct for disk Volumes. This can cause incorrect
3562   seeking in versions after 1.39.30. If you experience what appears to
3563   be data I/O or integrity errors during restores, please add the
3564   following directive to your disk DEVICE resource in the Storage
3565   daemon conf file:
3566
3567     Block Positioning = no
3568
3569   This will turn off all seek requests during restores and avoid
3570   this problem.
3571 - VSS for Windows clients is now enabled by default.
3572 - Do not unload autochanger when doing "update slots"
3573 - Implement mount command for autochanger, see manual.
3574
3575 New Features in 2.0.0:
3576 - Turn on disk seek code for restores.
3577 - There is a partial but reasonable translation of the Bacula
3578   messages for French.  To install it, first configure and build
3579   Bacula, then as root run:
3580
3581     cd <bacula-source>/po
3582     make install
3583
3584   If you have your locale set properly you will get the translated
3585   messages.
3586 - Bacula now support Migration jobs that are documented in a new
3587   Migration chapter in the manual
3588   http://www.bacula.org/dev-manual/Migration.html
3589 - Data encryption is now implemented and is documented in
3590   a new chapter of the manual at:
3591   http://www.bacula.org/dev-manual/Bacula_Data_Encryption.html
3592 - Additional support for removable devices.  See the 
3593   Requires Mount, Mount Point, Mount Command, and Unmount
3594   Commands in the Storage daemon configuration chapter:
3595   http://www.bacula.org/dev-manual/Storage_Daemon_Configuratio.html
3596   Also see the Edit Codes for Mount and Unmount Directives in the
3597   same chapter.
3598 - Switch the Win32 build from using Microsoft C++ to using mingw32
3599   cross-compiling.  The initial work was done by Howard Thomson,
3600   then tweaked by me.  Robert Nelson then totally reworked the
3601   cross-compiling code so that it not only cross-compiles, but
3602   also compiles on Visual Studio, and at the same time, he added
3603   all the current Unix features to the FD, such as selection on
3604   drives, encryption support, building *all* the tools, ...
3605 - The Director and Storage daemon have now been ported to Win32.
3606   This code is working but should still be tested carefully
3607   before putting into production.
3608 - Bacula restore and bextract can now extract non-portable Win32 data to
3609   any client (including Unix/Linux clients). Of course, in doing so,
3610   the Microsoft specific permissions and ACLs will be lost.  Thanks
3611   to Thorsten Engel for this code.
3612 - The 260 character limitation for Win32 paths name lengths is now 
3613   eliminated thanks to Thorsten Engel. However, if you are using
3614   Volume Shadow Copy, please be careful to specify all the paths
3615   in the bacula-fd.conf file using a full path notation including
3616   the drive letter.
3617 - Eric Bollengier wrote new RunScript directives that includes
3618   the old RunBefore/AfterJob and ClientRunBefore/AfterJob features
3619   plus a *lot* more, allowing you to control just about every aspect
3620   of running scripts.  See the manual for detailed documentation.
3621   http://www.bacula.org/dev-manual/Configuring_Director.html#5227
3622 - SunOS ACLs should now work thanks to a patch from David Duchscher.
3623 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
3624   If this patch is applied, the number of days can be specified with
3625   "list nextvol days=xx"
3626   or
3627   "status dir days=xx"
3628   This can be used to preview the next scheduled job (and the
3629   next tape to be used) on Fridays if there are no scheduled jobs during
3630   the weekend.
3631 - From Eric Bollengier. One can now using the bconsole wait command do:
3632    wait  (wait for all jobs to stop)
3633    wait jobid=nn
3634    wait jobuid=unique id
3635    wait job=job-name
3636 - Volumes can now be set to Enable, Disable, or Archive. If they
3637   are not enabled, Volumes will not be mounted.             
3638   Implement update volume enable=(on|off|true|false|archived|0|1|2)
3639 - Add Catalog message destination in Messages resource that puts the
3640   job report in the Log database table.
3641 - Writing/reading DVD Volumes is much more stable -- to the point
3642   of being useful. Thanks to Richard Mortimer.
3643 - Add enable/disable job=<job-name>.  This command prevents
3644   the specified job from being scheduled. Even when disabled,
3645   the job can be manually started from the console.
3646 - The database Id records should be 32/64 bit independent now. 64 bits
3647   can be enabled by changing one define and changing the appropriate
3648   table variable. Normally, you need 64 bits only for FileId.
3649 - Relative path specifications (i.e. ../xxx) are now permitted in
3650   the restore cd command.
3651 - When running multiple simultaneous jobs, most jobs that use spooling
3652   will now finish faster due to a mutex optimization made by Eric
3653   Bollengier.
3654 - Conf files containing UTF-8 marker at the head of the file as well as
3655   conf files containing Window cr/lf and Mac cr line termination characters 
3656   are now accepted thanks to Robert Nelson.
3657 - Windows tray status windows are scrollable and resizable.
3658 - Win32 external script execution is much more flexible -- handles
3659   spaces in names better, ...
3660 - Lots of DVD fixes -- writing DVDs is now reported to work.
3661 - Fix opening of database in a restricted console to respect     
3662   any Catalog ACL.
3663 - Much better automatic handling of multiple database catalogs in
3664   the restore command.
3665 - Permit multiple console/director resources in bconsole.conf.
3666   patch from Carsten Paeth calle@calle.in-berlin.de
3667 - Character substitution in Job/JobDefs WriteBootStrap.
3668   from Eric Bollengier.
3669 - Apply patch supplied in bug #656 to pass priority field
3670   in the run dialog to the Director in gnome console.
3671 - Add support of encrypted data stream to bscan from Eric.
3672   display data_len instead of data content (may be binary).
3673 - Add Enabled=xxx on update slots command.
3674 - Add host:port to connect failure messages to FD and SD from Dir/
3675 - Add WhereACL to console ACL list.  If nothing is specified, only
3676   the default is permitted for restore. Otherwise, *all* allows any
3677   path, or you can specify permitted paths. This should allow control
3678   over where users can restore files. This is untested.
3679 - Install man pages with 'make install'.
3680 - Add Media.Enabled flag to client backups for dotcmds.c
3681 - Enforce Media.Enabled=1 for a current restore to work
3682 - Require restore case 3 to have sqlquery permission to work.
3683 - Add -n option to bconsole to turn off conio -- used in bweb.
3684 - The bytes field in the terminated jobs part of the status
3685   command now reports in KB, MB, ... units.
3686 - When not descending into a directory, print the File= name that
3687   triggered it -- makes why not descending a bit clearer
3688 - Do not unload autochanger when doing "update slots"
3689 - Implement mount command for autochanger
3690 - Fix bug #462 incorrect error message printed when client script called
3691   from File= was not found.
3692 - Fix bug #558 (waiting for feedback) where Bacula needs too much time to
3693   do a rewind on Solaris when no tape is in the drive (Solaris does not
3694   have the detailed errno found on Linux).  Added Solaris specific code.
3695   Note, this may apply to other OSes as well.
3696 - The examples directory has a new bacula_mail_summary.sh file that
3697   creates a single email summary of any number of jobs. Submitted by
3698   Andrew J. Millar.
3699 - Add nagios plugin to the examples directory. Submitted by
3700   Christian Masopust.
3701 - Modify most restore error messages to be queued so that they
3702   appear at the end of the job rather than mixed with the restore
3703   listing where they could be "lost".
3704 - Apply patch supplied by user (slightly modified) to fix
3705   correct detection of holes in block devices and FIFOs.
3706   Bug # 506.
3707 - Added a report.pl program to the examples directory from Jonas Bjorklund.
3708 - Add two new queries to query.sql provided by Arno. One
3709   list volumes known to the Storage device, and the other
3710   lists volumes possibly needing replacement (error, ...).
3711 - Implement new code for changing userid and group at startup. This
3712   should get Bacula into the correct groups.
3713 - Implement support for removable filesystems -- device type directive
3714   and mount, unmount directives.
3715 - Transfer rates are now presented in a more readable format thanks
3716   to a user submission.
3717 - SD is now aware of what volumes are mounted. More information is printed
3718   in the Status report. You must take much more care now to unmount
3719   devices prior to removing tapes that Bacula has open or prior to
3720   changing a magazine. Don't forget to do a mount afterwards or the
3721   device will be blocked.
3722 - The Pool Maximum Volumes directive is now respected in all places.
3723 - A Storage device can now be specified in a Pool resource. It will override
3724   all other Storage specifications.
3725 - Most but not all directives accept true/false in place of yes/no.
3726 - A patch from Karl Hakimian that reads JobIds, FileIndexes
3727   from a database table for restore.
3728 - There are a number of new tables. Some such as the Location table are
3729   designed for user use in doing Volume Management software.
3730 - Maximum Changer Wait, Maximum Open Wait, Maximum Rewind Wait to
3731   accept time qualifiers.
3732 - Implement jobuid to replace old usage of job in keywords as
3733   suggested by Eric Bollengier.
3734 - Implement write variables for Python to set Priority (anytime), and
3735   Job Level, only during JobInit event.
3736 - Use the keyword ujobid to mean the unique job id; job or jobname
3737   to mean the Job name given on the Name directive, and jobid to
3738   be the numeric (non-unique) job id.
3739 - Allow the SD to use multiple drives during a backup/restore (only
3740   one at a time).
3741 - Integrate addition of line count limitation to bsmtp -l from
3742   Sebastian Stark <stark at tuebingen.mpg.de>
3743 - Split the bacula start/start script into four files:
3744    bacula         -- starts and stops calling other scripts
3745    bacula-ctl-dir -- starts/stops the director
3746    bacula-ctl-fd  -- starts/stops the File daemon
3747    bacula-ctl-sd  -- starts/stops the Storage daemon
3748 - Remove automatic case folding on Windows FDs. You must
3749   explicitly use the 'Ignore Case = yes' option.
3750 - Implement wild program in tools directory for testing
3751   wild-cards. Almost identical to the regex program.
3752 - Use the new bregex.c to implement Regex expressions on Win32.
3753 - Apply patch from Christopher Hull
3754   - Allow multiple connections to database with different
3755     parameters.
3756   - Invalidate the scheduler when doing a reload. Fixes seg
3757     fault, but still 60 second window.
3758   - Additional info in Reschedule message.
3759   - Use set_jcr_job_status() everywhere to prevent loss of
3760     cancel, error.
3761   - Display peer IP in FD if error from connecting DIR.
3762   - Don't increment file count for DIRBEGIN.
3763   - Replace illegal characters in Win32 filename by _.
3764   - Add SE_CREATE_PERMANENT_NAME privilege in Win32.
3765   - Hash hard link filenames rather than linked list (performance).
3766   - Fix for security failure in chdir on Win32.
3767   - Add CreateDirectoryA/W win32 API entry points.
3768 - programs to duplicate Bacula's base64 algorithm using standard
3769   routines. This fixes bugs #296, and 565. Patch submitted by
3770   author of bug #565.
3771 - Fixes to reloading the Dir conf file from Eric Bollengier and Christopher
3772   Hull.
3773 - Modify LICENSE to correct some problems pointed out by Debian.
3774 - Apply a patch submitted by cesarb in bug #606 to implement O_NOATIME support.
3775     O_NOATIME is a open() flag which makes it possible to read a file without
3776     updating the inode atime (and also without the inode ctime update which
3777     happens if you try to set the atime back to its previous value). It also
3778     prevents a race condition when two programs are reading the same file, but
3779     only one does not want to change the atime. It's most useful for backup
3780     programs and file integrity checkers (and bacula can fit on both
3781     categories).                                                    
3782   You enable it in the Bacula FileSet Options resource by setting:
3783      noatime = yes
3784   The effect of this option is similar to the keepatime option except
3785   it is more efficient and avoids modifying ctime.
3786 - Implement a pile of new man pages contributed by Jose Tallon.
3787 - Modify the database format for handling Migration jobs:
3788    Add PriorJobId, RealEndTime to Job table
3789    Delete MAC table
3790    Remove Stripe from JobMedia record (not used, wasting space)
3791    Add ScratchPoolId, RecyclePoolId, Enabled to Media record
3792    Add Cost to Location table.
3793    Enabled to Media table and Location table.
3794 - Security: harden authentication failure in FD by single threading errors
3795   and forcing a 6 second wait.
3796 - If using GCC (actually g++) add the following compiler flags
3797   -fno-strict-aliasing -fno-exceptions -fno-rtti
3798 - Turn on new bsnprintf() code.  The reason for this code is to
3799   eliminate the security problems associated with using the
3800   system libraries print routines.
3801 - Implement job report that indicates where Storage and Pool
3802   came from -- with overrides and Pool storage and NextPool,
3803   it is all very complicated.
3804 - Add more detail (Storage, Device) to list of volumes printed
3805   for restore.
3806 - Add new VOLMGMT message class. No messages are yet sent with this 
3807   class.
3808 - Improved Bacula rescue procedures -- see the Disaster Recovery
3809   chapter of the manual
3810 - Add spooling/despooling info in status output of SD.
3811 - Add Comment field to llist of a volume.
3812 - Allow true/false in many but not all yes/no directives.
3813 - The Bacula source code is now copyrighted by the Free Software 
3814   Foundation Europe. The Developer's Guide documents the new procedures,
3815   and the LICENSE file has been updated.
3816 - Apply Jaime Ventura's patch that implements the Messages resource
3817   Mail On Success directive.
3818 - The Client returns its Version string, which is printed in the Job
3819   report.
3820 - The Client returns whether or not VSS and Encryption are used, which
3821   are printed in the Job report.
3822
3823 Additional Features Added for Win32:
3824 - Added DriveType directive to the Director's Include Option FileSet
3825   resource.  Allowed values are: fixed, removable, cdrom, and remote.  There
3826   is only an implementation for Windows because it is the only platform that
3827   has the concept of drives.
3828  
3829 - Adds EnhancedWild directive to the Director's Include Option FileSet
3830   resource.  Allowed values are: yes and no.
3831  
3832   When EnhancedWild is enabled then the processing of the
3833   Wild, WildDir and WildFile is changed in the following ways.
3834  
3835   Patterns conform to Posix
3836       \ is not a special character in character classification []
3837       To match a - it must be the first or last character
3838       To match a ] it must be the first character
3839  
3840       fnmatch option FNM_FILE_NAME is specified * doesn't match a / 
3841       so it won't match multiple directory levels in a path
3842  
3843 - Relative WildFile patterns (ones without a leading /) match
3844   against the filename portion.  This in combination with the
3845   FNM_FILE_NAME fnmatch() flag makes directives such as WildFile =
3846   abc*.def work as expected.
3847  
3848 - Adds support for the shell's feature of brace expansion.
3849
3850   Here is an example where braces allow 24 lines to be expressed in 5.
3851
3852   # Exclude directories full of lots and lots of useless little files
3853   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Cookies"
3854   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Recent"
3855   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/History"
3856   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temp"
3857   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temporary Internet Files"
3858
3859 ;;;