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