]> git.sur5r.net Git - bacula/docs/blob - docs/home-page/en/news.txt
Revert to dev-manual
[bacula/docs] / docs / home-page / en / news.txt
1 Kern;;;28 April 2010 at 19:15 CET
2 Eric has released Bacula Version 5.0.2 to Source Forge
3
4 This 5.0.2 version is primarily a important bug fix update to version 5.0.1.
5
6 Note, if you are running 5.0.0, read the 5.0.1 release notes below.
7   Important!!!
8
9 Compatibility:
10 --------------
11  As always, both the Director and Storage daemon must be upgraded at
12  the same time.
13
14  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.0.2
15  Director and Storage daemons. There should be no need to upgrade older File
16  Daemons.
17
18 Changes since 5.0.1
19 -------------------
20
21 Bug fixes
22 1502 1511 1517 1524 1527 1532 1536 1541 1549 1551 1553 1559 1560
23
24 - Probable fix for SD crash bug #1553
25 - Fix #1559 problem when restoring pruned jobs with a regexp
26 - Fix for bug #1560 bcopy cannot find Volume
27 - Fix cancel crash bug #1551
28 - Check if sql backend is thread-safe
29 - Correct Pool display in SD status. Fixes bug #1541
30 - Fix cancel crash reported by Stephen Thompson
31 - Rewind on close to fix #1549
32 - Remove closelog() in bpipe fixes bug #1536
33 - Fix #1517 about missing Base level in .level command
34 - Replace ASSERT in block.c with fail Job
35 - Fix database locking calling db_lock and returning from function without
36   calling db_unlock.
37 - Add missing db_unlock to bvfs_update_cache.
38 - Fix #1532 about permission on binaries
39 - Fix #1527 about deadlock during migration
40 - Another fix for OpenSSLv1
41 - Add -lrt to Solaris links
42 - Fix tls.c for OpenSSLv1
43 - Fix #1511 when trying to insert more than 50.000 directories in bvfs
44 - Fix plugin load not to stop if one plugin bad -- pointed out by James
45 - Remove --without-qwt from configure statement.
46 - Second correct fix to bug #1524 verify fails after adding or removing files
47 - Fix bug #1524 verify fails after adding or removing files
48 - Apply fix suggested by Andreas in bug #1502 for mediaview column sort problem
49 - Fix OpenSSL 1.x problem in crypto.c on Fedora 12
50 - Display AllowCompress warning message only if compression used in FileSet
51
52 ;;;;
53
54 Kern;;;25 February 2010 at 15:35
55 Bacula Version 5.0.1 has been released to Source Forge
56
57 Bacula version 5.0.1 source code and Windows (32/64 bit) binaries have been 
58 released to Source Forge (thanks Eric).  
59
60 This is a major bug fix release including a few directives that have been 
61 rewritten, one new directive, and some different directive behavior (see the 
62 release notes below).  As is usual for a patch release (last digit changes by 
63 one), this version is compatible with the 5.0.0 database and with prior 
64 clients.  However, you *must* upgrade all components that are on any one 
65 machine (that is you must upgrade your Director, Storage daemon, and File 
66 daemon at the same time, if they reside on the same machine).
67
68 Note, Bacula does not normally uninstall previous versions, and we have 
69 changed the shared object naming convention, so you might want to first save 
70 your configuration files then uninstall the old Bacula using the old Bacula 
71 uninstall prior to installing the new one.  If you do not, it should not be 
72 serious, but you may be left with some older Bacula shared objects that are 
73 not used and hence wasting a small amount of disk space.
74
75 If you are upgrading from version 3.0.x or prior, please see the full release 
76 notes as you must do a database upgrade.  When updating from 5.0.0 to this 
77 release there is no database upgrade needed.
78
79 Scott has made a number of changes and improvements in the rpm packaging over 
80 the past few weeks since version 5.0.0 was released, so he will probably be 
81 releasing the 5.0.1 rpms quite soon.
82
83 Thanks for using Bacula :-)
84
85 Best regards,
86
87 Kern
88
89 =============  Performance Note ==================
90
91 Some of you have encountered performance problems with your
92 database (mainly with MySQL) with Bacula version 5.0.0.  This is
93 mainly because we've changed the SQL query used for restore,
94 accurate jobs and base jobs.  We have extensively tested this
95 change, and though it should be a little bit slower than the previous
96 versions, on a well configured database it should run
97 extremely well.  
98
99 We strongly recommend to avoid the temptation to add new indexes.
100 In general, these will cause very significant performance
101 problems in other areas.  A better approch is to carefully check
102 that all your MySQL memory configuation parameters are are
103 suitable for the size of your installation.  If you backup
104 millions of files, you need to adapt the database memory
105 configuration parameters concerning sorting, joining and global
106 memory.  By default, sort and join parameters are very small
107 (sometimes 8Kb), and having sufficient memory specified by those
108 parameters is extremely important to run fast.  
109
110 If adjusting your MySQL memory configuration values does not
111 solve your problem, you can also consider switching to
112 PostgreSQL, which performs much better with Bacula on big
113 installations (many millions of files per Job).  However for
114 large installations, you will also need to adjust the default
115 PostgreSQL memory configuration parameters.
116
117 ==========================================
118
119
120                Release Notes for Bacula 5.0.1
121
122   Bacula code: Total files = 1,081 Total lines = 217,272 (Using SLOCCount)
123
124 !!!!!!!!!!!!!!!!!!!!! NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
125 The Allow Duplicate Jobs directive has been significantly 
126 reworked, and the default value has changed. See below.
127
128 Truncate On Purge has been totally rewritten. See the new
129 features section of the manual.
130
131 When Volume Poll Interval is set in the SD DEVICE configuration,
132 (default 5 mins), after a certain number of polling tries (approx
133 10) polling will stop and the operator will be asked to
134 resolve the problem.  Previously there was no limit, and an
135 error message could be produced at each poll attempt.
136 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
137
138 Changes since 5.0.0
139 -------------------
140 - We believe that we have resolved most of the problems
141   concerning canceled or failed jobs being "stuck" in the
142   Director.  There is one outstanding problem in the SD when
143   canceling jobs that we will fix in the next major release.
144   If you see jobs that seem to be stuck, in general issuing
145   a cancel command in bconsole should now make them go away.
146
147 Directives:
148 - The default for "Allow Duplicate Jobs" has been changed from 
149   no to yes.  If you use this directive, please check your
150   conf file, and note the next two items !!!!!!!!!!!!!!!!!!!
151 - AllowHigherDuplicates disabled. It did not work as documented   
152     and was confusing.
153 - New directive "CancelLowerLevelDuplicates" See New Features
154   section in the manual.
155 - Truncate on Purge rewritten.  See New Features section in the manual.
156
157 Bug fixes:
158 1448 1466 1467 1468 1476 1481 1486 1488 1494 1497 
159 1499 1501 1505 1509 1513
160
161 - Ensure SD asks for help when looping even if poll set. Fixes bug #1513.
162 - Fix three-pool regress bug
163 - Modify bacula.spec fixes bug #1505
164 - This version fixes an issue where the console window would start out
165   docked. It is fixed by initiating the variables in the Pages class wi
166   constructor.
167 - Fix make_catalog_backup.pl fails when catalog db is on other host
168 - Apply MacOSX installer patch from bug #1509
169 - Apply fix to previous fix of Copy problem. Fix proposed by reporter o
170   #1476
171 - Fix bug #1501 -t does not print errors
172 - Apply SQLite3 update fix from bug #1497
173 - Apply bashism fix for diskchanger.in script from bug #1499
174 - Apply rpm fix for Sci Linux from bug #1494
175 - Take most recent Ukranian po from bug #1448
176 - Probable fix for Copy/Migration bug #1476
177 - Fix bug #1488 -- avoid recursion and race conditions in messages.c
178 - Upgrade cats library also to 5.0.0
179 - Fix missing console page in bat
180 - Add bat help files to Window install
181 - Improve Windows upgrade to ensure old FD is shutdown
182 - Fix bug #1481 -- bat consumes all console file descriptors
183 - Backport truncate on purge from 5.1.x
184 - Fix bug #1486 -- bat doesn't show any errors on command-line
185 - Update the bsock error URL
186 - Correct .my.cnf umask in make_catalog_backup.pl
187 - Apply fix for dbcheck use by make_catalog_backup.pl
188 - Fix seg fault in bscan from new comment field
189 - Allow multiple CNs when using TLS
190 - Fix seg fault in SQlite driver
191 - Make shared libs version the same as the Bacula release version
192 - Remove file_index sequential check
193 - Fix #1466 about Bogus pruning message
194
195 For Packagers:
196 1.  The default query.sql file is now, except for some comments, empty.
197 The old file, which we no longer support (it is impossible or difficult to
198 make it work on every backend, and the queries are mostly contributed) can
199 be found in <bacula-source>/examples/sample-query.sql.  The sample file is
200 not installed by the Makefiles
201
202 2.  When you install the mtx-changer script, you must also install
203 mtx-changer.conf if it does not exist.  This new file (mtx-changer.conf) is
204 required for mtx-changer to work, but it is a user configurable file, so on
205 any update, any existing file should not be overwritten.
206
207 3.  Bat should be built on every platform that is capabable of running Qt.
208 However, the Qt code is changing rather quickly and is not always
209 compatible from version to version.  We have built and verified bat on Qt
210 4.3.4.  We strongly recommend that you do not build and distribute bat with
211 any other version of Qt unless you personally test it.  To build against Qt
212 4.3.4, download the depkgs-qt package from the Bacula Source Forge download
213 location, read the README file and follow the instructions.
214
215 If you are building for Bacula version 5.0.0, please ensure that you do not
216 have qmake-qt4 loaded on your system.  If you do, either remove it or
217 rename it before trying to build bat.  If you do not, bat will probably be
218 built using the shared objects on your system.  For Bacula 5.0.1 and later,
219 this problem (bug) does not exist.
220
221 depkgs-qt does not install Qt on your system, nor does it interfere with
222 you having any other version of Qt installed on your system.  Once you
223 build bat with depkgs-qt, it should *not* use the Qt shared objects, but
224 rather they will be linked into the program.  After fully installing bat
225 (make install), you can run "ldd bat" to see what shared objects it will
226 use.  If any Qt shared objects are referenced, something has gone wrong.
227
228 4.  Unless absolutely necessary, we recommend that you do not define any
229 special library environment variables that apply to the ./configure -- for
230 example: LIBDIR=/...  ./configure <your-options> is strongly discouraged.
231 Doing so, could potentially cause Bacula to be linked against the wrong
232 shared objects.
233
234 5.  The Bacula project strongly recommends that you install Bacula into a
235 single directory, with a few minor exceptions such as the MySQL or
236 PostgreSQL databases.  Preferrably this should be /opt/bacula.  The full
237 recommendation is:
238
239 #!/bin/sh
240 # Recommended configure script for Bacula
241 prefix=/opt/bacula
242 email=xxx@yyy.zz
243 CFLAGS="-g -O2 -Wall" \
244   ./configure \
245     --sbindir=${prefix}/bin \
246     --sysconfdir=${prefix}/etc \
247     --docdir=${prefix}/html \
248     --htmldir=${prefix}/html \
249     --with-working-dir=${prefix}/working \
250     --with-pid-dir=${prefix}/working \
251     --with-subsys-dir=${prefix}/working \
252     --with-scriptdir=${prefix}/scripts \
253     --with-plugindir=${prefix}/plugins \
254     --libdir=${prefix}/lib \
255     --enable-smartalloc \
256     --enable-tray-monitor \
257     --enable-bat \
258     --with-mysql \
259     --with-dump-email=${email} \
260     --with-job-email=${email} \
261     --with-smtp-host=localhost \
262     --with-baseport=9101
263
264 Obviously, the email, and some of the minor options (mysql, postgresql,
265 ...) can be changed to suit your distribution, but the directory names
266 defined above are strongly recommended, and over time the default values in
267 the bacula-dir.conf and bacula-sd.conf will reflect these choices.
268
269 If you have any questions about this or would like a detailed document
270 describing our recommendations including packaging requirements, please
271 send an email to the bacula-devel list.
272
273 6.  Starting with Bacula version 3.0.0 up to Bacula 5.0.0, the shared
274 libraries that Bacula uses by default are named xxx-1.0.0.  Starting with
275 Bacula 5.0.1, we are going to name the libraries using the Bacula version.
276 So in Bacula 5.0.1, the libraries will be named xxx-5.0.1.  With future
277 versions, the last digit may or may not change when we distribute patch
278 updates (i.e.  the last digit of the version changes).  This will depend on
279 whether or not we have changed something in the library.  Hopefully this
280 new procedure will resolve some of the incompatibility problems between
281 different versions of the shared objects.
282
283 7.  The default build option for bconsole is conio (my own little console
284 routines).  I did this because some years ago, readline was very difficult
285 to maintain -- it and where it was found seemed to change on every release.
286 This generated at the time a number of support problems.  It seems to me
287 that since then there have been very few problems with readline.  As a
288 consequence, I have no problem if you want to make bconsole with readline
289 enabled.  It will actually give some very nice new bconsole command
290 completion functionality that Eric has written.  Bottom line: feel free to
291 use readline or not as you please.
292
293
294 ;;;;
295 Eric;;;25 January 2010 at 10:00
296 Bacula Version 5.0.0 has been released to Source Forge
297
298 Release Numbering:
299 -----------------------------------------------------------
300 You might be wondering why this release jumps from 3.0.x to 
301 5.0.0 thus skipping version 4.0.0.  We have done this for 
302 several reasons: first, we wanted a way of distinguishing
303 the numbering system for the Bacula System Enterprise version
304 and the Bacula Project version.  So, to do so, we have decided
305 that the first number of the Bacula Project version will always
306 be odd, and the first number of the Enterprise version will always
307 be even. Thus the Bacula Project now moves from 3.0.x to 5.0.x.
308 In addition, we want to keep the Bacula Project version larger
309 than the Enterprise version to indicate that the Bacula Project
310 version is more advanced or has more features than the 
311 Enterprise version. For memory, the current Enterprise version
312 is 2.6.1, and the next release (in a few months -- before June 2010)
313 will be version 4.0.0.
314
315 Warning:
316 --------------------------------------------------------------
317 Please note the three Warnings below before doing any install or
318 upgrade.
319        
320
321 Changes since 3.0.3a (the last Bacula Project release):
322 -------------------------------------------------------
323
324 Bug fixes:
325 1337 1351 1352 1354 1357 1361 1367 1369 1370 1373 
326 1376 1391 1403 1409 1420 1422 1427 1428 1431 1450 
327 1454 1455 1458 1456
328
329 Fixed:
330  - Problem that locks the Director when the SMTP server wasn't 
331    responding to the bsmtp program 
332  - Restore's dir command shows incorrect file sizes 
333  - Fix various problems with the reload command   
334  - Fix problems with conio
335  - Eliminate several deadlocks or potential race conditions from SD
336
337 Enhancements:
338  - Project 5: Truncate volume after purge
339  - Project 6: File Deduplication using Base Jobs 
340  - Project 10: Restore from Multiple Storage Daemons
341  - Project 11: AllowCompression per Device
342  - Project 23: Add Maximum Concurent Jobs for Devices to balance load 
343    between drives
344  - Add Accurate Fileset Options to configure accurate detection. Can use 
345    checksum verification for example.
346  - Allow FD to keep root read but drop write permission (CAP)
347  - Secure handling of passwords for catalog backup
348  - Add Tab-completion for Bconsole when using Readline
349  - Add Bvfs API to query the catalog without building a memory tree
350  - Add new speed test to btape program
351  - Add new Bat screens (Autochanger content, Job view, Media view, ...)
352  - Windows version of Bat
353  - Added Spanish Bacula translation   
354  - New bconsole -u nnn option to have timeout on commands
355  - Allow Migrate, Copy, and Virtual Full to read and write
356    to the same Pool
357  - show disabled   -- shows disabled Jobs
358  - Add Pool File and Job retention periods (take precedence over Client)
359  - Many ACL improvements
360  - Level added to FD status Job entry
361  - Allow turning on/off Block Checksum per device
362  - Set Device Poll interval to 5 minutes -- previously did not poll
363  - Implement lock manager with bad order protection
364
365 Compatibility:
366 As always, both the Director and Storage daemon must be upgraded at
367 the same time, and on any given machine, you must run only one version
368 of Bacula. This means that on the Director and Storage daemon machines,
369 you *must* upgrade your File daemon as well.
370
371 Older 3.0.x and possibly 2.4.x File Daemons are compatible with the 5.0.0
372 Director and Storage daemons. There should be no need to upgrade older File
373 Daemons immediately. However, we recommend that you do so as soon
374 as is reasonable for your situation.
375
376 ================== Warning !!!!!! ==========================
377
378 New Catalog format in version 5.0.0 (3.1.9 or later)
379 -----------------------------------------------------
380
381 This release of Bacula uses a new catalog format. We provide a set of
382 scripts that permit to convert a 3.0.x (version 11) catalog to 5.0.0 (version
383 12).  The Bacula project rpms distributed on Source Forge will automatically
384 detect the database change and do the upgrade for you.  We strongly
385 recommend that you save a copy of your existing database before upgrading
386 using rpms.
387
388 The simplest way to upgrade the database assuming you are building from
389 source:
390 1. Stop any current version of Bacula from running.
391 2. Save a copy of your existing database.
392 3. Configure, build, and install the 5.0.0 version of Bacula
393    Note the new ./configure options in the manuals see the link
394    at the bottom of this file.
395 4. cd <your-scripts-installation-directory>
396 5. ./update_bacula_tables
397 6. If you have multiple catalogs, edit the update_bacula_tables
398    script and put the name of another database, and then
399    execute the script again. Repeat this until all Bacula
400    catalogs have been updated.
401 7. Start the new Bacula.  If everything worked, it should
402    not print any error messages.
403
404 If you start from scratch, you don't need to run the update_bacula_tables
405 script because the create_bacula_tables script automatically creates the new
406 table format.  However, if you are using a version of Bacula older than 3.1.9
407 (e.g.  3.0.3) then you need to run the update_bacula_tables script that will
408 be found in the <bacula>/src/cats directory after you run the ./configure
409 command.  As mentioned above, before running this script, please backup your
410 catalog database, and when you do running it, be sure shutdown Bacula and be
411 aware that running the script can take some time depending on your database
412 size.
413 ================================================================
414
415
416 ================== Warning !!!!!! ==========================
417 If you upgrade a previous Win32 client installation, you must
418 first stop the File daemon, then uninstall it before attempting
419 the upgrade. If you do not do so, the upgrade will probably
420 fail and you will need to manually find and run the 
421 Uninstall.exe file, before you can upgrade to the new version.
422 This is because the file locations are different.  If you want
423 to save your previous bacula-fd.conf file, please do so before
424 uninstalling it.
425 ================================================================
426
427 ================== Warning !!!!!! ==========================
428 Due to permissions problems on Windows Vista and later systems,
429 we no longer require SYSTEM or Administrator permissions to 
430 access the binaries and configuation files.  If you wish
431 to restrict access to these files, please see the New Features
432 section of the manual for how to set access control lists.
433 ================================================================
434
435 Note, the Win32 Installer no longer installs the Bacula Servers
436 (Director and Storage daemon). See the New Features section of
437 the manual for more details.
438
439 ============ Documentation improvements needed ==================
440
441 Note!!!!! The 5.0.0+ documentation has a number of known problems:
442
443 1. We have reduced the number of manuals, which has fixed many
444    of the broken links found in the old 3.0.x version, but there
445    are still some that need fixing.
446
447 2. Integration of the 3.0.x features into the main manuals has
448    not yet been done.
449
450 The documentation will not be completed in the near future due to lack
451 manpower.  If you are unhappy with this situation as we are, we suggest
452 you help by submitting patches to the documentation.  Thanks.
453 =====
454
455
456 This release includes large number of new features and changes.
457 It should be more or less compatible with previous xx.conf files
458 and File daemons providing that you are not using any of the new
459 features.
460
461 Please see the New Features chapter of the new manual, which documents
462 some but not all the new features (we are still working on it):
463
464 http://www.bacula.org/5.0.x-manuals/en/main/main/New_Features_in_5_0_0.html
465   
466 The ChangeLog has more details.
467
468 ;;;;
469
470
471 Kern;;;18 October 2009 at 21:00
472 Bacula Version 3.0.3 has been released to Source Forge
473
474 Note, if you are not already running 3.0.x, read the 3.0.x release notes 
475   below.  Important!!!
476
477 Version 3.0.3 is primarily a important bug fix update to version 3.0.2.
478
479 Changes since 3.0.2:
480 Bug fixes:
481  1391, 1288, 1346, 1352, 1359, 1355, 1363, 1364, 1365, 1366, 1368, 
482  1369, 1370, 1371, 1382
483
484 Fixes:
485      Apply James' fix for some Exchange plugin crashes
486      Integrate patch for building dmg on OSX from Lorenz Schori <lo@znerol.ch>
487      Fix bug #1391 Job status improperly set due to subtle variable overload problem
488      Fix #1352 about double free with regexp and big filenames on windows
489      Apply Graham's idea for recovering from disk full by recursing
490        when doing fixup_write_error ...
491      Make fix for VirtualFull changing device based on suggestion by
492        Nicolae Mihalache <mache@abcpages.com>
493      Fix concurrent Job recycle bug #1288
494      Backport part of one possible fix from bug #1346
495      Fix bug #1382 newly created disk volumes -> file not found warning
496      Fix Alpha ifdefing -- should fix bug #1359
497      Use old code for selecting file during restore.
498      Cherry-pick 3.1.x commits
499      tweak space on projects file
500      Fix seg fault in ignoredir code
501      Apply Frank's slash patch
502      Fix seg fault in SD bug #1371
503        3.0.2-Fix-seg-fault-in-SD-bug-1371.patch 
504      Add more info when SD connection refused
505        3.0.2-Add-more-info-when-SD-connection-refused.patch
506      Fix bug #1355 Director crashes with double free in Accurate SQL query
507        3.0.2-accurate.patch
508      Fixes bug #1368 ASSERT Failure on MacOS.
509        3.0.2-mac-path-len.patch
510      Fix #1364 and #1363 about compression buffer error.
511        3.0.2-zlib-buffer.patch
512      Fixes bug #1365 and #1366 about MacOSX resource forks. 
513        3.0.2-bug-1365.patch and 3.0.2-bug-1366.patch
514      Fix "Exclude Dir Containing" fileset option
515        3.0.2-exclude-dir-containing-fd.patch
516        3.0.2-exclude-dir-containing.patch
517        3.0.2-exclude-dir-containing-top_level.patch
518
519 Compatibility:
520  As always, both the Director and Storage daemon must be upgraded at
521  the same time.
522
523  Older 3.0.x and possibly 2.4.x File Daemons are compatible with the 3.0.3
524  Director and Storage daemons. There should be no need to upgrade older File
525  Daemons.
526
527 ;;;;
528
529 Kern;;;20 July 2009 at 14:49
530 Bacula Version 3.0.2 has been released to Source Forge
531 Note, if you are not already running 3.0.x, read the 3.0.x release notes
532 below.  Important!!!
533
534 Version 3.0.2 is primarily a important bug fix update to version 3.0.1 with
535 some enhancements (see below).
536
537 Changes since 3.0.1:
538
539 Bug fixes:
540   1029, 1285, 1298, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1311, 1315
541   1317, 1318, 1323, 1325, 1331, 1333, 1335
542
543 Fixed:
544  - Fix problem with the Postgresql driver that sometime displays <NULL> values
545  - Cleanup old job records when starting the Director
546  - Fix bugs in xattr code
547  - Fix encoding problem with Postgresql
548  - Fix that prevents restore by file selection from using Copy job
549
550 Enhancements:
551  - Security enhancement for the File Daemon
552  - New directive to specify source address for outgoing connexions
553  - Show volume availability in autochanger when doing restore.
554    This is project 31 in the projects file.
555  - Add accurate=yes/no option to estimate command
556  - Add --with-hostname, --with-bsrdir, --with-logdir to ./configure
557  - Add a restore menu that contructs a full restore when entering a JobId.
558    This is project 2 in the projects file.
559  - Add new Nagios plugin
560
561 Compatibility:
562 Like always, both the Director and Storage daemon must be upgraded at
563 the same time.
564
565 Older 3.0.x and possibly 2.4.x File Daemons are compatible with the 3.0.2
566 Director and Storage daemons. It should be no need to upgrade older File
567 Daemon.
568 ;;;;
569
570 Kern;;;30 April 2009 at 17:49
571 Bacula Version 3.0.1 has been released to Source Forge.
572
573 Note, if you are not already running 3.0.0, please read the 3.0.0 release notes.  Important!!!
574
575 Version 3.0.1 is primarily a minor bug fix update to version 3.0.0 with
576 one enhancement (see below).
577
578 Changes since 3.0.0:
579 Bug fixes:
580   1276, 1274, 1275, 1272 1246, 1268, 1281, 1282.
581
582 Fixed:
583 - Check for job_canceled() in fd_plugin code.
584 - Update Win32 table creation to have new DB version 11 format
585 - Remove illegal Options in Exclude of default Win32/64 bacula-dir.conf
586 - Remove 'Reposition' messages when restoring
587 - Updated projects file
588 - Tweak version string to display versionid field at the end
589   and keep fields order.
590   - Add additional mysql connection debug code submitted by:
591     Chandranshu <chandranshu@gmail.com>
592
593 Enhancement:
594 - Modify insertion of read Volumes in SD to be done *before* the
595   drive reservation. This ensures that a Volume to be read will not
596     be reserved for writing. Significant improvement in eliminating
597       tape deadlock situations.
598
599 Note, both the Director and Storage daemons must be upgraded at the
600 same time. The 3.0.1 File daemons are compatible with 3.0.0 file
601 daemons and as noted below in the 3.0.0 release notes the Director
602 and Storage daemon should be compatible with 2.4.x File daemons.
603 In general, we do not expect any of the 3.0.x File daemons to work with older
604 Directors and Storage daemons (as has always been the case for Bacula
605 releases).
606
607 ============ Documentation improvements needed ==================
608
609 Note!!!!! The 3.0.0+ documentation needs rather extensive modifications in the
610 following areas:
611
612 1. Missing documentation.
613 2. Correction of links within various manuals -- most fail.
614 3. Integration of the new features into the main documents.
615 4. Much more.
616
617 The documentation will not be completed in the near future due to lack
618 manpower.  If you are unhappy with this situation as we are, we suggest
619 you help by submitting patches to the documentation.  Thanks.
620 =====
621 ;;;
622
623 Kern;;;09 April 2009 at 22:30
624 Bacula Version 3.0.0 has been released to Source Forge.
625
626 This is to inform you that we have uploaded the Bacula version 3.0.0 source 
627 tar files and the Win32/64 installer files to the Bacula Source Forge 
628 download location.
629
630 There are quite a number of new features in this release, and upgrading to it 
631 requires a database upgrade, so please read the release notes carefully 
632 (included below) and the documentation for the new features at:
633
634 http://www.bacula.org/manuals/en/concepts/concepts/New_Features.html
635
636 There is still a good deal of work to do to finish the release process (mainly 
637 reorganizing the web site manuals ...), but at least the source files are 
638 released.  The rpms should follow shortly (probably this weekend).
639
640 If you are currently using 2.4.4, please note that within a few months that 
641 version will no longer be supported, so please consider the possibility of 
642 upgrading.
643
644 This release probably has the most new features that we have ever released, 
645 and it has taken a long time to produce it.  The basic code is very well 
646 tested, and if you stick to 2.4.4 features, you are unlikely to experience 
647 problems.  However, many of the new features have not been well tested, so 
648 your help will be appreciated.
649
650 The following issues with 3.0.0 are known and we are working on them:
651
652 1. The documentation is not 100% complete (there are so many new features that 
653 we missed documenting some).  
654
655 2. All the new documentation is in the New Features chapter, but not all of it 
656 has yet been integrated back into the appropriate chapters.
657
658 3. James has reported that the Exchange plugin may crash if you cancel a job 
659 while it is running.  He is working on this.
660
661 4. The SD has many new features that will make it more stable. One in 
662 particular is that it knows what Volumes will be read during a migration, 
663 copy, or Virtual backup job, and will ensure that they are not selected for 
664 writing (something easy to do if you are using disk files and the same pool 
665 for reading an writing).  However, the day after the release was cut, I found 
666 a problem with this code that prevents it from working properly during 
667 certain pre-allocations of the write tape.
668
669 5. There is still an outstanding bug report on VSS failing (it seems to be a 
670 bit of a rare case).
671
672 As I previously announced, we will now make 3.0.0 our main release source code 
673 stream, and we hope to release new version every six months and bug fix 
674 updates even sooner.  To be able to do this, we will support version 2.4.4 
675 only for a few more months.  There after the project will only support the 
676 most current release ...
677
678 This release comprises a lot of work by a lot of different people and many 
679 contributions.  Normally I hesitate to mention particular people or 
680 contributions because I always forget someone, but since this was such a big 
681 release, I would like to mention at least the big contributions:
682
683 Sponsor Company(s)  -  Programmer - Project
684 Bacula Systems - Eric Bollengier - Accurate Backup
685 Bacula Systems - Eric Bollengier - Catalog format enhancements
686 Bacula Systems - Eric Bollengier - bextract non-portable Win32 data
687 Bacula Systems - Eric Bollengier - Win64 File daemon
688 Bacula Systems - Eric Bollengier - SD deadlock detection + postmortum dump
689 Bacula Systems - Eric Bollengier - Faster Attribute despooling if DIR & FD on 
690                                                      same machine
691 Bacula Systems - Eric Bollengier - Virtual tape emulation
692 Bacula Systems - Kern Sibbald - USB rescue key
693 Equiinet funded development - James Harper - MS Exchange plugin
694
695 Personal contributions:
696 Kjetil Torgrim Homme - Regex expressions for restore in bootstrap file
697 Marco van Wieringen - ACL code overhaul
698 Marco van Wieringen - Solaris ZFS/NFSv4 ACL support
699 Marco van Wieringen - Extended Attribute support
700 Marco van Wieringen - Shared Objects
701 Dirk Bartley - Bat speedup + stability improvement + many enhancements
702 Joao Henrique Freitas - libdbi catalog driver
703 Scott Barninger - rpm packaging
704 Kern Sibbald - many big and little projects ...
705 Many people -- see the AUTHORS file.
706
707 Many thanks to everyone for making Bacula what it is today.
708
709 === List of new features ===
710 - Accurate Backup
711 - Copy Jobs
712 - ACL code overhaul
713 - Solaris ZFS/NFSv4 ACL support
714 - Extended Attribute support
715   --disable-xattr (default=auto)
716 - Shared Objects
717   --enable-libtool (default)
718   --disable-libtool
719 - Virtual Backup
720 - Catalog Format Enhancements
721   - Support for more than 4 Billion file entries
722   - New stats tables
723 - Duplicate Job Control
724 - TLS Authentication
725 - bextract non-portable Win32 data
726 - State File updated at Job Termination
727 - Bacula Plugins
728   - FD bpipe plugin
729   - FD Exchange plugin
730 - libdbi DB driver
731 - Console Enhancements
732   - status slots
733   - list joblog
734   - command separator
735 - Bootstrap regex
736 - Restore seek optimization
737 - Virtual Tape Emulation
738 - Bat Enhancements
739 - RunScript Enhancements
740 - Status enhancements
741 - FD connect timeout default to 3 minutes
742 - ftruncate implemented for NFS Volumes
743 - FD Version compatibily flag
744 - Statistics Enhancements
745 - Faster Attribute despooling
746 - Document split into 6 manuals
747 - GPLv2 license now compatible with OpenSSL
748 - Win64 File daemon
749 - Postmortum dump improvements in SD
750 - Deadlock mutex detection in SD
751 - Improved Volume management in SD to avoid deadlocks.
752 - New configure install options
753   --docdir=  (default=/usr/share/doc/bacula-VERSION)
754   --htmldir= (default=/usr/share/doc/bacula-VERSION/html -- bat help files)
755   --plugindir= (default=sysconfdir, where plugins will be installed)
756 - New Bare Metal Recovery with USB key. See rescue/linux/usb
757  New Directives:
758 - Max Full Interval
759 - Max Diff Interval
760 - Honor No Dump Flag
761 - Exclude Dirs Containing
762 - Recycle Pool
763 - Max Run Sched Time
764 - Max Wait Time    
765 - Full/Diff/Incr Max Run Time
766 - Scratch Pool
767 - Max Console Connections
768 - Spool Size (in Job resource)
769 - Allow Mixed Priorities
770 - Allow Duplicate Jobs
771 - Allow Higher Duplicates
772 - Cancel Queued Duplicates
773 - Cancel Running Duplicates
774 - TLS Authenticate
775 - Console (in RunScript)
776
777 New features from Project Items Completed for version 3.0.0
778     also listed above:
779 Item  1:  Accurate restoration of renamed/deleted files
780 Item  3:  Merge multiple backups (Synthetic Backup or Consolidation)
781 Item  4:  Implement Catalog directive for Pool resource in Director
782 Item  5:  Add an item to the restore option where you can select a Pool
783 Item  8:  Implement Copy pools
784 Item 12:  Add Plug-ins to the FileSet Include statements.
785 Item 13:  Restore only file attributes (permissions, ACL, owner, group...)
786 Item 18:  Better control over Job execution
787 Item 26:  Store and restore extended attributes, especially selinux file 
788 contexts
789 Item 27:  make changing "spooldata=yes|no" possible for
790 Item 28:  Implement an option to modify the last written date for volumes
791 Item  n:  Split documentation into several books
792 ================================
793
794
795        Release Notes for Bacula 3.0.0
796
797   Bacula code: Total files = 520 Total lines = 205,459 (*.h *.c *.in)
798
799 The diff between 2.4.4 and 2.5.x is 208,340 lines, so this release
800 represents an enormous effort.
801
802 This Director and Storage daemon must be upgraded at the same time,
803 but they should be compatible with all 2.4.x File daemons, unless you
804 use some of the new features that affect the FD.  In other words, you should
805 not have to upgrade all your File daemons when you upgrade. However, any
806 release of version 2.5.40 or greater requires a database upgrade.
807
808 ================== Warning !!!!!! ==========================
809
810 New Catalog format in version 3.0.0 (2.5.40 or later)
811 -----------------------------------------------------
812
813 This release of Bacula uses a new catalog format. We provide a set of
814 scripts that permit to convert a 2.4.x (version 10) catalog to 3.0.0 (version
815 11).  The Bacula project rpms distributed on Source Forge will automatically
816 detect the database change and do the upgrade for you.  We strongly
817 recommend that you save a copy of your existing database before upgrading
818 using rpms.
819
820 The simplest way to upgrad the database assuming you are building from
821 source:
822 1. Stop any current version of Bacula from running.
823 2. Save a copy of your existing database.
824 3. Configure, build, and install the 3.0.0 version of Bacula
825    Note the new ./configure options in the manuals see the link
826    at the bottom of this file.
827 4. cd <your-scripts-installation-directory>
828 5. ./update_bacula_tables
829 6. If you have multiple catalogs, edit the update_bacula_tables
830    script and put the name of another database, and then
831    execute the script again. Repeat this until all Bacula
832    catalogs have been updated.
833 7. Start the new Bacula.  If everything worked, it should
834    not print any error messages.
835
836 The upgrade operation will convert the FileId index field of the File table
837 from 32 bits to 64 bits.  This operation will take TIME and will *temporarily* 
838 DOUBLE THE SIZE of your catalog. Bacula must be shutdown during this update,
839 so, won't be able to run jobs during this period.  For example, a 3 million 
840 files
841 catalog will take 2 mins to upgrade on a normal machine.  Don't forget to
842 backup it before executing the script.
843
844 If you start from scratch, you don't need to run the update_bacula_tables
845 script because the create_bacula_tables script automatically creates the new
846 table format.  However, if you are using a version of Bacula older than 2.5.40
847 (e.g.  2.4.4) then you need to run the update_bacula_tables script that will
848 be found in the <bacula>/src/cats directory after you run the ./configure
849 command.  As mentioned above, before running this script, please backup your
850 catalog database, and when you do running it, be sure shutdown Bacula and be
851 aware that running the script can take some time depending on your database
852 size.
853
854
855 Important New configure options :
856 ----------------------
857
858 This release of Bacula 3.0.0 uses libtool by default
859 to generate the Bacula libraries as shared objects rather than
860 being directly linked in as in prior versions.  This means that
861 the Bacula shared objects, must either be in a shared object 
862 directory known to the loader or they must be in the directory
863 where the Bacula binaries are installed.  It is also possible
864 to explicitly specify the libraries directory on the ./configure
865 line (--libdir=/full-path/dir), but this should not be necessary.
866
867   ./configure --libdir=<full-path>
868
869 If you have problems with libtool or you wish to use the old 
870 way of building libraries and linking them into Bacula, you 
871 can do so by disabling libtool on the configure command line with:
872
873   ./configure --disable-libtool
874
875 During the installation of Bacula 3.0.0, it will now install
876 bat help files (if you have configured bat).  These files
877 are placed in /usr/share/doc/bacula/html by default. If you
878 want to put them elsewhere use:
879
880   ./configure --htmldir=<full-path>
881
882 During the installation of Bacula, it will now install the
883 ReleaseNotes, License, technotes, ChangeLog, and similar
884 files in /usr/share/doc/bacula by default.  If you
885 want to put them elsewhere use:
886
887   ./configure --docdir=<full-path>
888
889 During the installation of Bacula, any plugins will be
890 installed in the plugindir, which is by default the
891 same as libdir (/usr/lib).  You can specify an alternate
892 location with:
893
894   ./configure --with-plugindir=<full-path>
895
896 ==============================================================
897
898 This release includes large number of new features and changes.
899 It should be more or less compatible with previous xx.conf files
900 and File daemons providing that you are not using any of the new
901 features.
902
903 Please see the New Features chapter of the new manual, which documents
904 some but not all the new features (we are still working on it):
905
906 http://www.bacula.org/manuals/en/concepts/concepts/New_Features.html
907   
908 The ChangeLog has more details.
909
910 ;;;
911 Kern;;;03 Nobember 2008 at 17:35
912 Critical 2.4.3-orphaned-jobs.patch released
913 We recently found and corrected a serious bug in Bacula that causes jobs to be
914 orphaned or "stuck" in the director during the pruning process.  Depending on
915 what jobs get stuck and how many there are, it could prevent additional jobs
916 from running.  As best we can tell, this problem occurs only during what could
917 be called extreme pruning conditions -- i.e.  there are insufficient Volumes
918 available for normal operations.
919
920 In any case, we recommend that everyone apply the 2.4.3-orphaned-jobs.patch,
921 which you can find in the bacula-patches section of the Source Forge download
922 area as well as in the directory patches of both the trunk and Branch-2.4 SVN.
923 ;;;
924
925 Kern;;;12 October 2008 at 10:30am
926 Creation of Bacula Systems SA
927 Dear Members of the Bacula Community,
928
929 I'm pleased to announce the creation of Bacula Systems S.A., a new company to 
930 provide professional support and service for Bacula.  I believe you will be 
931 pleased to see how we have married a strong commitment to the ethos of honest 
932 open source software with the availability of services desired by a wide 
933 range of Bacula users. 
934
935 As many of you know, I began work on Bacula in 2000 and released the first 
936 public version in April 2002 to Source Forge.  Although I have personally 
937 written a very substantial part of the code, I offer sincere thanks to the 
938 many members of the community who have provided ideas, fixes, testing, and 
939 contributions of code, without which Bacula would not be what it is today.  
940 It has been a labor of love and I am pleased that so many people have found 
941 Bacula useful. 
942
943 Before telling you more about Bacula Systems, let me reiterate my unfaltering, 
944 ongoing commitment to open source software and the Bacula open source 
945 project. The code for Bacula and all future releases will remain available as 
946 free open source software under the GPL license that I transferred to the 
947 protection of the Free Software Foundation of Europe. Unlike some other open 
948 source projects, there will be no separate "enterprise" or proprietary 
949 version of the Bacula source code. www.bacula.org will continue to be the 
950 home for Bacula project development.
951
952 So, why create Bacula Systems? The company was created to respond to requests 
953 from users who want professional support with guaranteed levels of service 
954 and response times.  To ensure continuity and the highest level of knowledge 
955 transfer, I will take the position of Chairman of the Board and Chief 
956 Technical Officer of Bacula Systems S.A..  
957
958 Several members of the Bacula community have joined me to start the company. 
959 The other team members are also strongly dedicated to the spirit of keeping 
960 Bacula open and free while simultaneously offering commercial services to 
961 those for whom it is essential in making the decision to deploy Bacula.  
962 Bacula Systems is self-financed -- the initial capital comes from the 
963 founders; no outside venture capital was sought or accepted.  This means we 
964 have the power to establish the company's priorities and we can remain 
965 dedicated to "honest open source". Bacula Systems S.A. is a Swiss company 
966 with offices in Yverdon-les-Bains, and with branches in France and Germany 
967 initially.  We will open additional branches as business requires.
968
969 I will continue to support development of Bacula via bacula.org and the Bacula 
970 community. Future developments will be in the "community" code base which 
971 will remain free.  Bacula Systems will offer "funded development" to 
972 customers who wish to accelerate the addition of certain features to Bacula.  
973 Code developed this way will be contributed to the free distribution and will 
974 be available to the entire community at no charge. Bacula Systems will 
975 provide additional fee-based services, including high quality consulting, 
976 training, documentation and certified binaries.
977
978 Our goal in establishing Bacula Systems is to be inclusive of the community, 
979 and expand it by creating opportunities for members of the Bacula community 
980 through a well-defined Partner Program.  If you provide IT services or 
981 consulting, the Bacula Systems Partner Program can provide you with the 
982 additional back-up (pardon the pun) support you need to serve your customers 
983 more effectively. 
984
985 Our plan is to develop an international network of partners who offer high 
986 value added services to Bacula users -- installing, configuring and optimizing 
987 Bacula for their customers, as well as Level 3 and 4 support, with guaranteed 
988 service levels.  We will also provide training and tools to our partners.
989
990 The Bacula project website, www.bacula.org, and Source Forge will be unchanged 
991 in the mission and ideals of being  free sources of information, mail lists 
992 and forum-based support for and by the community. Both Bacula source code and 
993 Bacula binaries will continue to be available for free, as in the past, and 
994 new releases will also be available for free. The new commercial website, 
995 www.baculasystems.com will provide information on commercial subscriptions 
996 for those users who want guaranteed levels of service, support, documentation 
997 and certified binaries.  
998
999 All members of the Bacula community are encouraged to register for free at 
1000 www.baculasystems.com, so that you will receive announcements and news about 
1001 our commercial activities, and so that you can send feedback to our new 
1002 company, Bacula Systems.
1003
1004 Thank you for your interest and participation in the Bacula community.  
1005
1006 Sincerely,
1007
1008 Kern Sibbald
1009 ;;;
1010
1011 Kern;;;11 October 2008 at 11:30am
1012 Bacula version 2.4.3 Released
1013 This is to let you know that the source tar files and the Win32 binaries for 
1014 Bacula version 2.4.3 have been released to the Bacula Source Forge download 
1015 area.
1016
1017 Release 2.4.3
1018  This is a bug fix to version 2.4.2.  All daemons are compatible
1019  with other 2.4.x versions.
1020
1021 Bugs Fixed:
1022   1159, 1162. 1149, 1128, 1143, 1140, 1129
1023
1024 Change Summary:
1025 - Apply 2.4.2-cancel-non-running-jobs.patch to be able to cancel
1026   a non created job faster.
1027 - This should correct bug #1159 where Migration does not properly
1028   respect the Migration Low Bytes directive.
1029 - Fix typo in configure.in that breaks --with-db-password option
1030 - This code should fix the race condition that leads to a Director
1031   crash at job end time when the job list is updated. This was reported
1032   in bug #1162.
1033 - Remove all double quotes from SQLite creating script and
1034   replace by single quotes as suggested by John Huttley.
1035 - Fix SQL case problem that may cause the failure of DiskToCatalog
1036   in bug #1149.
1037 - Copy missing storage name into edit buffer. As far as I can tell
1038   this never caused a bug.
1039 - Remove catalog dependency for bcopy
1040 - Modify catalog scripts to have an easier packaging integration,
1041   using default variables.
1042   Make difference between SQLite3 and SQLite in db_get_type()
1043 - Attempt to fix bug #1128 InChanger flag cleared during Migration
1044   job when reading from one autochanger and writing to another.
1045 - Add more information to SD acquire.c INFO messages.
1046 - Fix NULL Volume name error when reading and the drive must
1047   be switched.
1048 - Fix a Verify InitCatalog problem where in certain cases
1049   a garbage filename may be entered in the verification database.  This
1050   fixes bug #1143.
1051 - Add space after version before date in bat about dialog.
1052 - Fix seg fault in Dir during estimate command with no level value
1053   given. This fixes bug #1140.
1054 - Add message to migration job when the target job is already migrated.
1055   This closes bug #1129.
1056
1057 Unless some really serious new bug shows up, this will be the last release 
1058 until the next major version (3.0.0), which we hope will be ready around the 
1059 end of the year.
1060 ;;;
1061
1062 Kern;;;26 July 2008 at 10:30am
1063 Bacula version 2.4.2 Released
1064 This is to inform you that we have released the source and Win32 binaries of 
1065 Bacula version 2.4.2 to the Bacula Source Forge download area.
1066
1067  This is an important bug fix release since version 2.4.1.
1068
1069 Bugs Fixed:
1070  1034, 1125, 1118, 1124, 1107, 1129, 1126
1071
1072 Change Summary:
1073 26Jul08
1074 - When a migration job actually runs, re-check the Job record
1075   and skip if the job is already migrated. This should
1076   significantly reduce the problems with bug #1129.
1077 - Break the do_swapping into do_unload, do_swapping, and
1078   do_load.  It is much more logical that way.
1079 - Implement a set_dcr_from_vol subroutine in acquire.c for
1080   reading volumes. This allows the dcr to be refreshed after being
1081   zapped when the wrong volume is mounted. This should fix bug #1126 -
1082 - During multiple tape restore, bacula
1083   does not ask for physical tape change, but rereads same tape
1084 - Apply patch submitted for bug #1107 with a small modification.
1085   This fixes a bug where bcopy copied too many records.
1086 - Make some tweaks to bsmtp based on patch submitted in bug #1124.
1087   This fixes bug #1124.
1088 - Make the default bat restore Pool be Any. This fixes bug #1118.
1089 - Fix bug #1125 which reports a SD crash at the end of a tape
1090   during restore. It was a debug statement that should not be
1091   in a release.
1092 - Fix #1034 by setting big timeout on mysql connections
1093 - Do partial integration of the Win32 bat build created by Eric.
1094 - Ensure that SD tried to mount a volume not in an autochanger
1095   at least once before asking for operator intervention.
1096 - Fix a pthreads bug in the Win32 pthreads emulation code affects only
1097   version 2.5.x and above.
1098 ;;;
1099
1100 Kern;;;7 July 2008 at 10:30am
1101 Bacula version 2.4.1 Released
1102 This is to inform you that we have released the source and Win32 binaries of 
1103 Bacula version 2.4.1 to the Bacula Source Forge download area.
1104
1105 Bugs Fixed:
1106  1103, 1100, 1105, 1094, 1109, 1106, 1101, 1102, 1112
1107  1117, 1116, 1097.
1108
1109 Change summary:
1110 -  Clear in-use bit on vol when unused while swapping.
1111 -  Remove sleep at end of ./bacula
1112 -  Clear hash packet for hardlinked files correctly. This corrects
1113    a long standing bug where hardlinked files selected individually
1114    would occasionally not be restored.
1115 -  Apply Eric's patch to ensure that autoprune does not return
1116    a Volume not in the autochanger unless requested to do so.
1117 -  Correct bat restore display of multiple drives. This fixes
1118    bug #1117.
1119 -  Do find_a_volume() each time an unload is done. This
1120    fixes the failure of maxvol2-test.
1121 -  Use Qmsg() in job.c watchdog callback.
1122 -  Release main control rwlock if ABORTing.
1123 -  Make watchdog connect timeout queue messages rather than sending
1124    directly to avoid lock conflicts with the real thread.
1125 -  Remove const char that causes problems with Python, which has
1126    older 'incorrect' headers.
1127 -  Add const char in dbd.c to avoid compiler warnings.
1128 -  Fix mtx-changer to detect both versions of Ubuntu (Debian)
1129    mt. This fixes bug #1116.
1130 -  Fix failure of 2drive-concurrent-test. Always read label;
1131    clear_unload() only after drive is defined in acquire_for_read().
1132 -  Generally clean up the manual tape loading code. The main
1133    conceptial change is that when a volume is marked to be unloaded,
1134    its volume name is retained, and it is only marked as unloaded
1135    when either the autoloader says it is unloaded or another tape
1136    is read on that drive.
1137 -  Fix a recycling problem with two autochangers reported in bug
1138    #1106. This may also (unlikely) fix a second recycling bug as
1139    reported in #1103.
1140 -  Fix a SD lock volumes deadlock problem reported in bug #1100.
1141 -  Fix format problem in bscan output reported in bug #1105.
1142 -  Copy more data when restarting a job so that run
1143    overrides are kept. This should fix bug #1094.
1144 -  Backport updates to jobq.c where possible.
1145 -  Fix bug where SD did not ask operator if the device could not
1146    be opened. Reported by Eric.
1147 -  Add dbuser to DIR conf file (replaces user).
1148 -  Add --with-db-password to ./configure
1149 -  Fix regress to handle db_password.
1150 -  Fix a couple of pedantic compiler warnings.
1151 -  Fix bug when starting a restore on a storage that doesn't
1152    have the requested MediaType.
1153 -  More work on word alignments -- eliminate all ints from
1154    the configuration routines.
1155 -  Fix bug reported by Scott Barninger where the bacula script
1156    refers to scripts in the wrong directory. Needed to meet the
1157    requirements of recent FHS location changes.
1158 -  Fix word alignment problem on non-Intel 64 bit machines
1159    such as Solaris.  This should fix bug #1097 -- bus error in SD.
1160 -  Add missing win32/patches/wxWidgets.patch to 2.4 repository.
1161 ;;;
1162
1163
1164 Kern;;;4 Jun 2008 at 10:30am
1165 Bacula version 2.4.0 Released
1166 This is to inform you that we have released the source and Win32 binaries of 
1167 Bacula version 2.4.0 to the Bacula Source Forge download area.
1168
1169 This release consists mainly of a number of bug fixes since 2.2.x
1170 but most importantly, a rewrite of significant portions of the
1171 Storage daemon reservation and autochanger code. This rewritten
1172 code is simpler, more stable, and works much better, particularly
1173 with multiple drive autochangers than the prior code did.  That
1174 said, there are still a number of issues to be resolved. Note,
1175 the new code has not been tested in manual volume mount situations.
1176
1177 As usual, we strongly recommend when installing to keep the Director and the 
1178 Storage daemon on the same version.  However, since this release only 
1179 contains refactored code and bug fixes rather than new features, the clients 
1180 (File daemons) should function perfectly with any 2.2.x version, and there is 
1181 no database upgrade needed.
1182
1183 =====================================================
1184                                                                      
1185        Release Notes for Bacula 2.4.0
1186
1187   Bacula code: Total files = 500 Total lines = 188,654 (*.h *.c *.in)
1188
1189 This Director and Storage daemon must be upgraded at the same time,
1190 but they should be compatible with all 2.0.x File daemons, unless you
1191 use some of the new features that affect the FD.  In other words, you should
1192 not have to upgrade all your File daemons when you upgrade. There is
1193 no database upgrade needed from version 2.0.x to 2.2.0 nor from version
1194 2.2.x to version 2.4.0
1195
1196 ==================   Warning !!!!!! ==========================
1197 As of Version 2.4.0, the Win32 FD should not descend into
1198 any reparse point directory or reparse mount points unless the
1199 specified directory is explicitly mentioned at the top level of
1200 FileSet (as with Unix). A file that is linked to another file will
1201 be backed up, much like Unix hardlinked files.  If you want
1202 reparse directories backed up, you must explicitly include them
1203 in your FileSet.
1204 ======================================================
1205
1206 This release consists mainly of a number of bug fixes since 2.2.x
1207 but most importantly, a rewrite of significant portions of the
1208 Storage daemon reservation and autochanger code. This rewritten
1209 code is simpler, more stable, and works much better, particularly
1210 with multiple drive autochangers than the prior code did.  That
1211 said, there are still a number of issues to be resolved. Note,
1212 the new code has not been tested in manual volume mount situations.
1213
1214 Bugs fixed:
1215  1095, 1086, 1091, 1070, 1041, 1083, 1078, 1066, 1068, 1038
1216  1062, 1065, 1046, 1047, 1031
1217
1218 New features:
1219 - You can now build bat without the QWT libraries. Use
1220   --without-qwt as a ./configure option.
1221
1222 Release Version 2.4.0
1223 - Update version to 2.4.0 to reflect the magnitude of the SD changes.
1224 - Make sure to clear JS_WaitMedia when operator mounts a Volume.
1225   This fixes bug #1095.
1226 - Add create_postgresql_database.sql to Win32 installer. Should
1227   fix problem reported by Juilio Monteiro.
1228 - Get correct slot when auto unloading a device. This fixes bug
1229   #1086.
1230 - Fix possible seg fault if SQL error.
1231 - Fix renaming a Volume, which used the wrong Volume name.
1232 - If operator has rewind tape, print warning, release tape and
1233   try once more. If tape is positioned somewhere, something went
1234   wrong, so mark the tape in error and try once more. Previously
1235   this error was fatal, now it produces an error message.
1236 - Ensure correct volume name displayed during restore
1237 - Fix a few more Coverity reported problems.
1238 - Fix #1091 about bad output in estimate command.
1239 - Modify autochanger locking to attempt to avoid race
1240   conditions.
1241 - Make sure device not busy before doing label command.
1242 - Display open() errors except when polling. Previously too
1243   many were suppressed.  This should fix bug #1070.
1244 - Fix Win32 reparse points. Bacula will not recurse into any
1245   reparse point directory, including mount points, unless the
1246   directory is explicitly mentioned at the top level (same as   
1247  with Unix).  A file that is linked to another file will be
1248   backed up -- much as Unix does for hardlinked files.
1249   This fixes bug #1041.
1250 - Remove StorageId test when pruning and recycling (Eric's changes).
1251 - Fix buffer overruns detected by Coverity.
1252 - Implement --without-qwt
1253 - Fix layout of restore tree dialog
1254 - Add configure bat QWT libraries, so that bat can be built
1255   with or without the QWT libaries.
1256 - Implement regression that explicitly tests swapping a Volume
1257   from one drive to another.
1258 - Enhance disk-changer to detect most error conditions.
1259 - Fix SD code so that it properly swaps a Volume between drives.
1260   This fixes bug #1083.
1261 - Prevent a Volume that is being swapped from being freed from
1262   the volume list. This will most likely fix, at least partially,
1263   bug #1083.
1264 - Fix strippath so that it does not get a buffer overrun and crash FD.
1265   This fixes bug #1078.
1266 - Make inability to change owner/group when creating a dir only a
1267   warning rather than an error.
1268 - Fix SQL query in migration code
1269 - Fix bat seg fault at termination.
1270 - Add Bacula generated version to bat about box.
1271 - Backport development stream SD reservation system changes.
1272 - When wrong volume is mounted during read, unload_autochanger.
1273 - Stop searching for Volumes in SD askdir if DIR returns the
1274   same volume name twice in a row.
1275 - Rework class structures for VOLRES, DCR, and DEVICE to make
1276   the method names a bit more logical, and for more logically
1277   handling the responsibilities.
1278 - Remove redundant code in terminating the scheduler that just
1279   causes a seg fault in many cases.
1280 - Improve algorithm for detecting pre-reserved volume and
1281   swapping volumes.
1282 - Prevent volume from being released while being swapped.
1283 - Refactor parts of stored/mount.c
1284 - Add sanity checks for VolWriteTime and VolReadTime
1285 - Take care of bad clock changes while computing VolWriteTime
1286   and VolReadTime. This should fix or limit #1066
1287 - Correct error string numbers in dird/catreq.c
1288 - Restructure reserving, acquiring, and mounting volumes. Calls to
1289   autochanger are deferred for mount.c -- simplifes the code.
1290 - Do not prune any running job. It just fails the job.
1291 - Lock the volumes when changing dev->reserved_device and marking
1292   the volume unused otherwise the device can get reserved by
1293   another job before the volume is released, thus blocking it.
1294 - Correct some SD catalog request error messages.
1295 - Turn off code in read_record that causes a seg fault in the SD
1296   when reading past an EOS_LABEL.
1297 - Turn off unloading the autochanger in reserve.c as it just
1298    causes problems.
1299 - Lock volumes when unreserving a device.
1300 - Do not mark volume unused when recycling.
1301 - Fix bug #1068 fixes a SD crash when using Virtual autochanger.
1302 - Generate correct JobMedia records during spooling/despooling when
1303   running concurrent jobs.  Thanks to Tom Ivar Helbekkmo
1304   <tih@hamartun.priv.no> for excellent analysis and testing.
1305 - *Massive* commit of all fixes and back ports to create 2.2.9
1306   Mostly SD reservations enhancements.
1307 - Fix Win32 FD backup/restore memory leak due to improper termination
1308   of BackupRead/Write. This fixes bug# 1038.
1309 - Fixes a StorageId problem with volumes after migration.
1310 - Implements autostart scripts for Debian
1311 - Fix mtx-changer.in for broken Debian mt program.
1312 - Apply doc fix from bug #1062.
1313 - Resolve crash and improper restore wx-console Win32 restore
1314   GUI. Fixes bug #1065.
1315 - Update Win32 wxWidgets to latest version.
1316 - Attempt to do correct handling of Win32 mount points. Should
1317   fix bug #1046.
1318 - Add const to AIX prototype for initgroups()
1319 - Fix to the JobMedia patch, which introduced a new problem.
1320 - Fix creating first JobMedia record during Migration to include
1321   proper index. This caused slow restores of migrated jobs.
1322 - Fix bug #1047, do not strip paths on symbolic links.
1323 - Set catalog backup database and user name from values specified on
1324   the ./configure line.
1325 - Apply patch to correct bug #1031, about wrong pool source information
1326   in job report.
1327 ;;;;
1328
1329 Kern;;;27 Jan 2008 at 10:30am
1330 Bacula version 2.2.8 Released
1331 Bacula version 2.2.8 source tar files as well as the Win32
1332 binaries are available in the bacula and Win32 release areas 
1333 of Source Forge. I have hidden the previous BETA release
1334
1335 Version 2.2.8 is a bug fix to version 2.2.7 and has a few
1336   additional bugs fixed than the BETA 2.2.8 version previously
1337   released:
1338 - It fixes bugs: 1036, 1033(doc), 1028, 1040, 1045(doc), 1030,
1339   1042(partially), and possibly bugs 1018 and 1032.
1340   Bugs 1018 and 1032 involve problems with multiple-drive autochangers,
1341   and are difficult to reproduce.         
1342   See the ChangeLog for more details.
1343   Note, if you previously loaded version 2.2.8 BETA, you will probably
1344   want to upgrade, but it is not urgent ...
1345 ;;;
1346
1347
1348 Kern;;;9 Jan 2008 at 20:30
1349 Bacula version BETA 2.2.8 Released
1350 Bacula version 2.2.8 source tar files as well as the Win32
1351 binaries are available in the bacula-beta and
1352 Win32-beta release areas of Source Forge
1353
1354 Version BETA 2.2.8 is a bug fix to version 2.2.7:
1355 - It fixes bugs: 1036, 1033(doc), 1028, and possibly 1018 and 1032.
1356   Bugs 1018 and 1032 involve problems with multiple-drive autochangers.
1357 ;;;
1358
1359 Kern;;;24 Dec 2007;;20:30
1360 Bacula version 2.2.7 Released
1361 Bacula version 2.2.7 source tar files as well as the Win32
1362 binaries are available in the Bacula release area of Source Forge
1363
1364 Version 2.2.7 has several new features and several important bug fixes
1365   since version 2.2.6:
1366 - It fixes bugs: 1009, 1022, 1024, 1019, 1012, 1021, 1020
1367   1007, 1008.  For more details, please see the technotes-2.1 file.
1368 - Fixed a seg fault reported by Frank Sweetser that depended on
1369   exact path lengths, but the problem was in bsnprintf.c
1370 - Double quoting include filenames (@xxx) in Bacula conf files is now
1371   possible, thanks to a patch by Michael Stapelberg.
1372 - You can pipe input to include filenames (@|prog) by using a vertical
1373   bar, thanks to the above patch.
1374 - A daylight savings time bug in the Win32 bsmpt was fixed by a patch from
1375   Nerijus Baliunas.
1376 - Marc Cousins submitted a patch that permits building the PostgreSQL
1377   driver with version 8.3.
1378 - The configure option --archivedir has been changed to --with-archivedir
1379 ;;;
1380 Kern;;;9 Nov 2007;;15:25
1381 Bacula version 2.2.6 Released
1382 Bacula version 2.2.6 source tar files as well as the Win32
1383 binaries are available in the Bacula release area of Source Forge.
1384
1385 This release is a minor fix upgrade to version 2.2.5,
1386 and we recommend that all users upgrade when they can.
1387
1388 Version 2.2.6 is a minor bug fix realease to version 2.2.5
1389 - It fixes bugs: #1003, 942, 982, 990(response only), 991,
1390   993, 986, 976.
1391   - Fix bat crash wen it cannot connect to Director.
1392   - Fix joblist failure bug in bat.
1393 ;;;
1394 Kern;;;9 Oct 2007;;15:25
1395 Bacula version 2.2.5 Released
1396 Despite the fact that the Release Notes are rather short, the bug
1397 fixes represent quite a lot of work:
1398
1399 Version 2.2.5 is a major bug fix release to version 2.2.4
1400 - It fixes the following bugs: #961, 962, 963, 969, 968, 960,
1401   964, (possibly 935 and 903), 953, 953, 967, 966, 965, 954,
1402   957, 908, 958, and 955.
1403 - It also improves listing performance problems in bat pointed
1404   out by Chris Howells.
1405 ;;;
1406 Kern;;;29 Sept 2007;;20:30
1407 A serious data loss bug in Bacula version 2.2.4 found and fixed
1408
1409 This bug was very elusive and time consuming to track down.  It
1410 turned out to be a race condition that can lose the last one or
1411 two blocks of a Job, which can happen in rare cases only when
1412 running multiple simultaneous jobs when a volume fills and one
1413 Job finishes receiving the last data from the FD and at the same
1414 time a second job detects the end of the Volume.  The bug was
1415 introduced in version 2.0.0 and did not exist in version 1.38.x.
1416 If the bug is triggered, the data is lost (not written to the
1417 Volume), and it can occur for any backup job of any level under
1418 the conditions noted above.
1419
1420 The bug is reported in the bugs database as bug #964, and just
1421 this morning I found and tested a fix, which is attached as a patch
1422 to the bug report.  The patch (2.2.4-lost-block.patch) is also
1423 uploaded to the bacula-patches 2.2.x release area.  This bug may
1424 also be part of the problems reported in bug #935 and possibly
1425 #903.
1426
1427 Also in the bacula-patches 2.2.x area, you will find other
1428 patches that fixes bugs #953, 966, 967, 965, 958, 908, and
1429 955. Please refer to bugs.bacula.org for the details.
1430
1431 Though this bug quite serious (data loss), it should be rare.
1432 However, we recommend everyone to apply the patch.
1433 ;;;
1434 Kern;;;2007/9/14;;;14:30 
1435 Bacula version 2.2.4 Released 
1436
1437 This version of Bacula is a minor bug release to version 2.2.3.
1438 It contains the following fixes:
1439
1440 - Possible fix for authorization problems bug #953.
1441 - Possible fix for bug #908.
1442 - Add waits to multiple exit detection code to try to force pid
1443   file to always be deleted.
1444 - Restore good dev.tar.gz to rescue set appropriate binary property.
1445   This fixes bug #950.
1446 - Fix seg fault in error exit of acquire_for_read after unsuccessfully
1447   trying to switch drives by checking for blocking before unblocking.
1448   Fixes bug #906.
1449 - Cancel storage daemon in all cases where FD reports error. This
1450   should fix virtually all cases of bug #920 and will ensure that Devices
1451   are released as soon as possible.
1452 - Fix error message that was clobbered when Dir tells SD it does not
1453   have write permission on Volume.  This should fix a minor point
1454   in bug #942, but not the main problem.
1455 - Fix migration code to get correct Volume name with multiple volumes 
1456   by skipping |.  Fixes bug #936.
1457 - Implement patch supplied by Landon to fix bug #944 where using
1458   TLS with bconsole uses 99+% of the CPU.
1459 - Fix bug #946 about "bacula-dir -t" which doesn't works
1460   as expected.
1461 - Using "m" in bconsole will show messages as in prior versions
1462   and not memory usage.
1463
1464 - Note, you need GTK >= 2.10 to be able to link the Tray Monitor
1465   program.
1466 ;;;
1467 Kern;;;2007/9/9;;;14:30
1468 I regret to announce that there is a rather serious bug in Bacula.
1469
1470 Bacula bug #935 reports that during a restore, a large number of files are 
1471 missing and thus not restored.  This is really quite surprising because we 
1472 have a fairly extensive regression test suite that explicitly tests for this 
1473 kind of problem many times.
1474
1475 Despite our testing, there is indeed a bug in Bacula that has the following 
1476 characteristics:
1477
1478 1. It happens only when multiple simultaneous Jobs are run (regardless of
1479 whether or not data spooling is enabled), and happens only when the
1480 Storage daemon is changing from one Volume to another  -- i.e. the
1481 backups span multiple volumes, and it only happens for Jobs writing
1482 to the same volume.
1483
1484 2. It has only been observed on disk based backup, but not on tape.
1485
1486 3. Under the right circumstances (timing), it could and probably does happen
1487 on tape backups.
1488
1489 4. It seems to be timing dependent, and requires multiple clients to
1490 reproduce, although under the right circumstances, it should be reproducible
1491 with a single client doing multiple simultaneous backups.
1492
1493 5. Analysis indicates that it happens most often when the clients are slow
1494 (e.g. doing Incremental backups).
1495
1496 6. It has been verified to exist in versions 2.0.x and 2.2.x.
1497
1498 7. It should also be in version 1.38, but could not be reproduced in testing,
1499 perhaps due to timing considerations or the fact that the test FD daemons
1500 were version 2.2.2.
1501
1502 8. The data is correctly stored on the Volume, but incorrect index (JobMedia)
1503 records are stored in the database.  (the JobMedia record generated during
1504 the Volume change contains the index of the new Volume rather than the
1505 previous Volume).  This will be described in more detail below.
1506
1507 9. You can prevent the problem from occurring by either turning off multiple
1508 simultaneous Jobs or by ensuring that while running multiple simultaneous
1509 Jobs that those Jobs do not span Volumes.  E.g. you could manually mark
1510 Volumes as full when they are sufficiently large.
1511
1512 10. If you are not running multiple simultaneous Jobs, you will not be
1513 affected by this bug.
1514
1515 11. If you are running multiple simultaneous Jobs to tapes, I believe there is
1516 a reasonable probability that this problem could show up when Jobs are split
1517 across tapes.
1518
1519 12. If you are running multiple simultaneous Jobs to disks, I believe there is
1520 a high probability that this problem will show up when Jobs are split across
1521 disks Volumes.
1522
1523 13. The bug concerns only the Storage daemon so there is no need to update
1524 the clients, though I do recommend updating the Director when installing
1525 an updated Storage daemon.
1526
1527 I have uploaded patches to bug #935 (bugs.bacula.org) that will correct
1528 version 2.2.0, 2.2.1, and 2.2.2.  The patch has been tested only on version
1529 2.2.2 and passes all regression tests as well as the specific test that
1530 reproduced the problem. 
1531
1532 The patch has now been confirmed to fix the problem reported, and Bacula
1533 version 2.2.3 has been released to Source Forge.
1534
1535 For the technical details of the bug, please see: 
1536
1537   http://www.bacula.org/downloads/bug-935.txt
1538
1539 ;;;
1540
1541 Kern;;;2007/8/11;;;14:30
1542
1543 Bacula Version 2.2.0 has been released to Source Forge.         
1544
1545           Release Notes for Bacula 2.2.0 
1546
1547   Bacula code: Total files = 520 Total lines = 195,550 (*.h *.c *.in)
1548   82 new files, 41,221 new lines of code, 208,380 lines of change from 2.0.3
1549
1550 This Director and Storage daemon must be upgraded at the same time,
1551 but they should be compatible with all 2.0.x File daemons, unless you
1552 use some of the new features that affect the FD.  In other words, you should
1553 not have to upgrade all your File daemons when you upgrade. There is
1554 no database upgrade needed from version 2.0.x to 2.2.0.
1555
1556 Areas requiring caution or testing:
1557 - You must have the thread safe version of MySQL client libraries loaded
1558   to build with MySQL enabled.
1559 - Volumes are pruned only when absolutely necessary -- this may cause
1560   your database to grow compared to prior Bacula versions.
1561 - Solaris door and even port files are no longer restored (equivalent
1562     to what we do with sockets).
1563 - SQLite is no longer supported for Solaris -- it fails too often with
1564   bus errors.  SQLite3 should work on Solaris.
1565 - The default setting for SQLite3 is now 'PRAGMA synchronous=OFF'.
1566   This makes it run 30 times faster, but increases the possiblity
1567   of a corrupted database if your server shuts down unexpectedly.
1568   The default behavior can be changed in src/version.h
1569 - Restore on Win32, and in particular on Vista is untested. Please
1570   test before relying on it.  It should backup and restore reparse
1571   points.
1572 - Win32 servers are untested, and very likely not to work.
1573
1574 The major new features are:
1575 - Much faster insertion of attributes (somewhere around 10 times),
1576   many thanks to Eric Bollengier and Marc Cousin. 
1577 - First release of bat (Bacula Administration Tool).  Note to build
1578   bat you must explicitly enable it on the ./configure line, you
1579   must have the Qt4 version 4.2 or later libraries loaded, the qwt
1580   (Qt Graphics) package loaded, and qmake and the other Qt4 tools 
1581   must be available. Most of the implementation was done by Dirk Bartley.
1582 - Red/Black restore in memory tree (500 times faster loading).
1583 - The Regex Where code to allow easier relocation of restored files 
1584   thanks to Eric.
1585 - Socket level heartbeat for all connections (untested).
1586 - posix_fadvise() use in the FD to improve performance reduces
1587   swapping due to opening/reading lots of files. Win32 equivalent
1588   implemented.
1589 - Much improved Volume reservation code that should eliminate most
1590   conflicts experienced in multiple drive autochangers.
1591 - Simpler locking in the SD in the reservation system.
1592 - Detection of file size/date change during backup if enabled.
1593 - New Recycle Pool feature -- thanks to Eric.
1594 - Efficient implementation of very large include/exclude lists.
1595 - Volumes are no longer pruned during 'status dir'
1596 - Pruning is now more efficient, and if a Volume is purged,
1597   during pruning, it is immediately discovered.
1598 - License is now GPL v2 without modifications, fix a few copyright
1599   mistakes made when adding FSFE copyright notice.
1600
1601 New ./configure options:
1602 - --enable-bwx-console    
1603 - --enable-bat
1604 - --with-qwt=
1605 - --with-db-name=
1606 - --with-db-user=
1607 - --enable-batch-insert
1608
1609 New bconsole commands:
1610 - exec
1611 - memory
1612 - update recyclepool
1613 - .sql
1614 - .api
1615 - .pwd (in restore tree)
1616 - restoreclient (keyword)
1617 - backupclient  (keyword)
1618 - regexwhere    (keyword)
1619 - update jobid  (new command)
1620 - recyclepool   (keyword) 
1621
1622 New directives:
1623 - Heartbeat Interval (bconsole.conf)
1624 - Heartbeat Interval (bacula-dir.conf in Director, Client, Storage)
1625 - TLS Allowed CN     (bacula-dir.conf in Client)
1626 - Regex Where        (bacula-dir.conf in Job)
1627 - Strip Prefix       (bacula-dir.conf in Job)
1628 - Add Prefix         (bacula-dir.conf in Job)
1629 - Add Suffex         (bacula-dir.conf in Job)
1630 - Recycle Pool       (bacula-dir.conf in Pool)
1631 - FailJobOnError     (bacula-dir.conf in RunScript)
1632 - CheckFileChanges   (bacula-dir.conf in FileSet)
1633 - StripPath          (bacula-dir.conf in FileSet)
1634
1635 Other features or bug fixes:
1636 - Fixed bugs: 916, 910, 917, 914, 906, 907, 
1637   842, 830, 893, 861, 888, 886, 807, 877, 872
1638   885, 887, 864, 874, 882, 881, 863, 859, 
1639   856, 854, 845, 847, 846, 809, 772, 
1640   822, 825, 824, 808, 802, 797, 798, 795, 789, 791, 
1641   788, 780, 763, 782, 612, 767, 775, 621, 772, 764, 
1642   766, 621, 761, 755, 750, 741, 747, 742, 744, and 743.
1643 - Configure bat with --enable-bat. Define qwt libraries with
1644   --with-qwt=<dir>. See Installation chapter of manual for details.
1645 - Create a depkgs-qt package that has both Qt4 and qwt, which are
1646   needed to build bat. Most modern Linux systems will have both
1647   these packages in the distro.
1648 - Storage overrides delete all previous storage definitions instead
1649   of prepending.
1650 - One should be able to mount and unmount removable devices if the
1651   Device resource has Removeable Media set and the mount and unmount
1652   directives are defined.
1653 - ./configure will do a better job of searching for qwt libraries.
1654 - The Win32 version can no longer be shutdown from the tray monitor.
1655   Use the command line or the Services panne.
1656 - Keep prune_volumes() from pruning the whole Scratch pool.
1657 - More debug output in status storage.
1658 - Correct moving a Scratch volume from pool to pool (some
1659   critical columns were lost).
1660 - Different locking in reservations and despooling systems,
1661   which means more micro-locking and less macro-locking, which
1662   should give a lot more concurrency at the expense of slightly
1663   (<0.1%) more overhead due to more locking/unlocking, but     
1664   concurrent jobs should run much faster.
1665 - Additional drive reservation algorithm that should solve a lot of
1666   the problems experienced with multiple drive autochangers.
1667 - Storage daemon status command enhanced to more clearly show Volume,
1668   pool and media type when a job is waiting.
1669 - Made bsmtp work with more strict SMTP servers.
1670 - Detect doubly freed buffers in smartall.c
1671 - wx-console renamed to bwx-console (Fedora request)
1672 - gnome-console renamed to bgnome-console (Fedora request)
1673 - Migration preserves original job's FileSetId
1674 - Spooling implemented for migration jobs.
1675 - Config files can be read through a pipe, by specifying a leading |
1676   in front of the configuration path/filename.
1677 - New memory command (bconsole) that will print the current Director's
1678   memory usage, and an in use buffer dump.
1679 - Console name changed from *Console* to -Console- to accomodate Win32
1680   filename restrictions.  
1681 - Corrected the Win32 ftruncate bug.
1682 - Additional version information added to Job reports.
1683 - New -8 option for bsmtp to specify UTF-8 encoding type.
1684 - bsmtp will no longer add < > to target (from, to, cc) if there
1685   is already a < in the target.
1686 - Prefer Mounted Volumes extended to mean a volume that is being
1687   mounted by another job.
1688 - Runscript timing set to same as version 1.38.11
1689 - New TLS Allowed CN directive(s) permitted.
1690 - New bconsole 'exec' command to run external script/command.
1691 - Turn on FreeBSD/OpenBSD code to set EOT model on tape.
1692 - Drop from root done before database is opened.
1693 - Database user and name can be configured with:
1694   --with-db-name=name --with-db-user=user
1695 - Turn on wait_for_drive in mtx-changer script.
1696 - Rework how bar codes are handled in mtx-changer script.
1697   This appears to have been an unreported bug.
1698 - Updated nagios plugin supplied by Christian Masopust
1699 - Better restricted console ACL checking.
1700 - New Client Connect Wait directive in Storage daemon so that
1701   users can configure how long SD waits for FD connection.
1702 - Bacula will no longer permit pruning of the currently running
1703   job (note, if other jobs are running, they may be pruned).
1704 - Sockets are no longer restored.
1705 - dbcheck works in 300K chunks so will typically run faster.
1706 - Include/Exclude lists can now be efficiently handled for quite
1707   large sizes -- tens of thousands of entries.
1708 - Several memory leaks in migration and database usage were fixed.
1709 - New console keyword restoreclient, which specifies the client to
1710   which the restore will be sent. The client keyword specifies 
1711   the backup client. The restoreclient keyword is optional if it is
1712   not specified, the backup client will also be the restore client.
1713 - The disk file size is now checked to ensure that it agrees with the
1714   catalog value before Bacula will append to the disk (same as tape
1715   and DVD).
1716
1717 ;;;
1718
1719 Kern;;;2007/3/6;;;14:30
1720
1721 Bacula Version 2.0.3 has been released to Source Forge.
1722 This is a bug fix release to version 2.0.2.  If you are upgrading from
1723 a version older than 2.0.0, please be sure to read the important notes
1724 below.
1725
1726 Also, please check the patches directory in the current SVN or the
1727 patches release section on Source Forge for important bug fixes to   
1728 this version.
1729
1730 5Mar07
1731 kes  File migrate bug with Pool Occupancy using mediaid instead
1732      of jobids.  Fixes bug #795.
1733 kes  Fix orphaned buffers in filed backup and verify due to
1734      crypto buffers not freed during errors.  Fixes bug #789.
1735 04Mar07
1736 kes  Add smartctl call to bacula-sd.conf as an example of getting
1737      tape alert info.
1738 02Mar07
1739 kes  Add Client Connect Wait to Storage daemon to permit users to
1740      modify the time the SD waits for a FD connection.
1741 28Feb07 
1742 kes  Apply Command ACL filter to JobId list in restore command.
1743 kes  Correct typeo in var.c patch.
1744 27Feb07
1745 kes  Don't let Bacula prune File or Job records for the current Job.
1746 kes  Fix variable substitution pad + inc bug reported (with patch)
1747      in bug #791.
1748 26Feb07
1749 kes  Correct SQLite log table index as reported by Luca Berra.
1750 24Feb07
1751 ebl  Fix FIFO stuff, bacula tries to rewind the FIFO... Thanks to Andreas
1752 22Feb07
1753 kes  Fix a few places in lib/message.c where the open fd may
1754      not be zeroed.
1755 21Feb07
1756 kes  Add LANG=C to autoconf/randpass so it works with languages other
1757      than English.  Fixes bug #788.
1758 20Feb07
1759 ebl  Revert ClientRunBeforeJob as it was in 1.38.x
1760      This fixes bug #780
1761      You will not be able to generate Include/Exclude list any more.
1762      If you want to use this, you can apply 
1763      trunk/bacula/patches/testing/clientrunbeforejob_can_generate_include_exclude_list.patch
1764 19Feb07
1765 kes  Restore of sockets created false error messages because Bacula
1766      no longer restores sockets, but the code was still trying to
1767      set the attributes on a non-existent file. Reported by a user.
1768 16Feb07
1769 kes  Fix encryption deblocking bug, which caused some restored files
1770      to be truncated. This fixes bug #763. This is a CRITICAL bug fix.
1771 kes  Add FD event sequence order prepared by Eric -- for RunScripts.
1772 kes  Fix 12am/pm bug as reported in bug #782.
1773 15Feb07
1774 kes  Add quick disconnect FD code from 2.1.4 to 2.0.3.  This code
1775      causes the SD to release the FD as soon as the FD has sent
1776      all the data to the SD. After that the SD will do any final
1777      despooling (data and attributes) that are necessary. This
1778      allows laptops to disconnect much quicker from the network 
1779      after a backup.
1780 13Feb07
1781 kes  Apply Eric's ClientRunScriptAfter patch to 2.0 and 2.1.
1782 11Feb07
1783 kes  Optimize the use of the database a bit in the Status dir command.
1784      Only open it when needed, ensure that if any previous database
1785      was opened, it is closed.
1786 10Feb07
1787 kes  Modify dbcheck to handle orphaned JobMedia, Path, Filename,
1788      and File records in 300K chunks to be more efficient. This
1789      idea came from Juan Luis Frances (if I remember right).
1790 09Feb07
1791 kes  Update projects list.
1792 08Feb07
1793 kes  Fix dird/ua_cmds.c so that a cancel command checks if the
1794      console is authorized to cancel the job.  This fixes bug 
1795      #767.
1796 kes  Modify SD so that the VolCatJobs medium record is updated
1797      at the beginning of a Job rather than the end.  This
1798      fixes bug #775 where exceeding MaxVolJobs caused jobs
1799      to fail.
1800 kes  Added a mutex around getting and setting Volume information
1801      so that multiple simultaneous jobs will single thread.
1802 07Feb07
1803      Switch to using Subversion
1804 kes  Remove src/pygtk-console/ from configure
1805 06Feb07
1806 kes  Delete src/lib/btree.c from win32 build, then add rblist.c
1807      plus the entrypoints.
1808 kes  Apply patch supplied that corrects debug print
1809      in canceling jobs for max run time.  Supplied as
1810      part of bug #621, which was previously fixed.
1811 05Feb07
1812 kes  Test on job_canceled() and sd_msg_thread_done inside
1813      loop starting the message thread to avoid a race condition.
1814      Fixes bug #771.
1815 kes  Remove rl_catch_signal from console.c as it conflicted
1816      with the header definition. Fixes bug #765.
1817 ebl  Fixes bug #766 about RunsOnClient = Yes (case sensitive)
1818 04Feb07
1819 kes  Clarify some stored/acquire messages to indicate if the
1820      problem is with read or append.
1821 02Feb07
1822 kes  Fix memory leak with storage ids in cats/sql_get.c
1823 kes  Terminate watchdog earlier to avoid reference to released
1824      memory -- reported by Jason Austin.
1825 kes  Move closing the database from jobq.c to the director daemon
1826      termination routine. This fixes memory leaks for shadow jobs
1827      (i.e. migration jobs).
1828 kes  Free up the unique jobid chain items in migrate.c.  This fixes
1829      a memory leak problem.
1830 kes  Convert some ugly looking for statements to use foreach_alist
1831      in findlib/find.c.  This will facilitate converting the structures
1832      to use dlist (for large include/exclude lists).
1833 kes  Fix a bug in the btree.c and btree.h routines, then rename them
1834      rblist and add them to be built in src/lib.  Include some new
1835      methods written by Rudolf Cejka that make the code more readable
1836      (hides some of the ugly casting).
1837 26Jan07 (back port)
1838 kes  Implement item #12 on project list -- quick release of FD by
1839      the SD. This is noted in more detail above.
1840
1841 ;;;
1842
1843 Kern;;;2007/1/28;;;14:30
1844
1845 Bacula Version 2.0.2 released:
1846 28Jan08
1847 kes  Fix maxruntime bug #621.
1848 27Jan07
1849 kes  Get current main CVS .specs for RedHat, SuSE, Mandrake.
1850 26Jan07
1851 ebl  Implement the include JobID in spool file name project.
1852 kes  Reorder projects file in order determined by Jan 2007 vote.
1853 kes  Fix open of SQLite3 db where user does not have write permission
1854      so that DIR does not crash. Fixes bug #761.
1855 25Jan07
1856 kes  Change 'Device not configured to autolabel' from INFO
1857      to WARNING.
1858 kes  Fix jobq.c to restart failed jobs when Reschedule Times = 0
1859      which should restart an indefinite # of times.
1860 kes  Fix configure --help to print --with-mysql[=DIR]. Same for
1861      other DIR specifications.
1862 23Jan07
1863 rn   Fix msvc build problems. Fix bacula.dll exports for msvc build.
1864      Fix path quoting in SQLite scripts.
1865      Fix problems with SHGetFolderPath.
1866 19Jan07
1867 kes  Create patches/2.0.1-restart.patch. Fixes bug #755.
1868 18Jan07
1869 kes  Fix Job restart on error bug that promotes an Inc to a Full
1870      backup.  This should fix bug #755.
1871 kes  Add qt-console and first cut of code.
1872
1873 ;;;
1874
1875 Kern;;;2007/1/13;;;14:30
1876
1877 Bacula Version 2.0.1 has been released to Source Forge.
1878 This is bug fix update to version 2.0.0 and contains
1879 the following fixes:
1880
1881 -    Fix Bacula->Documentation link on Win32 to point to index.html
1882      instead of bacula.html. Fixed bug #750.
1883 -    Return JobId in db_get_job_record() when JobId==0. This should
1884      fix bug #741.
1885 -    Do not release source pointers when restarting a failed job.
1886 -    Add dynamic dll entry point for SHGetFolderPath to Win32 code.
1887      This *should* fix bug #747.
1888 -    Modify winbacula.nsi to substitute with g bin_dir_cmd. Should fix
1889      bug #742.
1890 -    Modify USTORE constructor to set an empty store_source string, 
1891      and don't copy the store_source string in a cancel.  Hopefully
1892      this will fix Arno's seg fault, bug #744.
1893 -    Add back code to disable conio in configure. Fixes bug #743.
1894 -    Correct the Options scanner in the FD to correctly handle  
1895      SHA1 option, which was eating the next option.  Reported by    
1896      Sebastien Guilbaud.
1897 -    Add code to indicate when the SD is spooling, spool wait, and 
1898      despooling as requested by Alan Brown.
1899
1900 ;;;
1901
1902 Kern;;;2007/1/4;;;14:30
1903
1904 Bacula Version 2.0.0 has been released to Source Forge.
1905
1906 There is an English Press Kit, written by Dan Langille at:
1907    
1908    http://www.bacula.org/about/press/presskit200.html.en
1909
1910 and a German version, translated by Arno Lehmann at:
1911
1912    http://www.bacula.org/about/press/presskit200.html.de
1913
1914 ;;;
1915    
1916 Kern;;;2007/1/4;;;14:31
1917
1918           Release Notes for Bacula 2.0.0
1919
1920   Bacula code: Total files = 438 Total lines = 154,329 (*.h *.c *.in)
1921
1922 ==== IMPORTANT Catalog update required =====
1923 - The database format has been updated from what was used in    
1924   Bacula 1.38.x.  You must manually update your database before 
1925   running Bacula 1.39.x or higher.  If you are using Bacula supplied
1926   RPMs this is not necessary as the RPM does it automatically.
1927   Please backup your previous version of the database before
1928   running the update.  The update script will be automatically
1929   installed in your scripts directory, or can also be found in
1930   <bacula-source>/src/cats.  It is called:
1931
1932      ./update_bacula_tables
1933
1934   It is necessary to run it only once the first time you move to
1935   a 2.0.0.  Upgrading the Bacula version thereafter does not
1936   require updating the database again.  Depending on the size of
1937   your database the script make take a bit of time, to run, but
1938   in general, it should be very fast.
1939
1940 ==== IMPORTANT new Win32 install procedure =====
1941   For Win32 migrations from versions prior to 1.39.0 nothing special
1942   needs to be done to upgrade.  Everything should be taken care of
1943   automatically.  The only thing not done is to delete the old C:\bacula
1944   directory mostly out of paranoia.
1945
1946 ==== IMPORTANT miscellaneous ====
1947 - The Gnome console program (gconsole) no longer functions as it
1948   should.More importantly, in restore mode, the restore tree is
1949   no longer shown in the left pane.  I suspect this is due to
1950   incompatible changes in the GTK+ API, and hence have given up
1951   on gnome and gtk+, as this has already happened several times
1952   previously.  At some point there will be a new GUI console.
1953 - The bacula-dir.conf directive Accept Any Volume has been
1954   removed because it was never implemented. You must delete all
1955   occurrence of this directive for the Director to run. The Storage
1956   daemon will automatically accept any valid Volume that you mount.
1957 - The --mandir ./configure option now points to the top level man
1958   directory.  The man files will be installed under mandir/man8 and
1959   mandir/man1 as appropriate.
1960 - You *should* be able to use 1.38.x FDs with version 2.0.0 Director
1961   and SD providing you do not use any of the new features (runscript,   
1962   data encryption). It seems to work here, but we do not guarantee it.
1963 - Your Director and SD must be simultaneously upgraded.
1964 - The restore command no longer uses the MediaType as the primary method
1965   of finding a suitable Storage device. Normally it will select the last
1966   device used to write a Volume. If no storage device is defined, it
1967   will use the old algorithm which selects the first Storage resource  
1968   with the correct MediaType.
1969 - The MD5/SHA1 hash codes kept in the database are now kept in a binary
1970   format compatible with the rest of the world. If you are running verify 
1971   jobs, you *must* do an InitCatalog or all files will show an MD5   
1972   difference.  Also, authentication uses the new algorithm by
1973   default, but *should* accept connections from older components (FD) using
1974   the old non-compatible algorithm. This has been tested, but more
1975   more testing is still needed.  
1976 - A stock SuSE 10.1 kernel may crash when Bacula runs and accesses
1977   the tape drive. Workaround, load the SuSE 10.1 version 2.6.16.21-0.25
1978   kernel or later. The SuSE 10.2 Alpha 5 or later kernel also works.
1979   This problem may also be present in certain Fedora FC5 kernels.
1980 - If you have been using the data encryption feature of 1.39.x, please
1981   be aware that certain combinations of encryption and other options
1982   with version 1.39.0 through 1.39.26 created Volume data that cannot
1983   be restored. We strongly recommend that anyone using encryption 
1984   carefully review his/her backups and at a minium do a Full backup
1985   with 1.39.28 of all encrypted data.  Robert Nelson has identified 
1986   and fixed it as follows:
1987      As of 1.39.27:
1988         No filters = Works fine
1989         Sparse = Works fine
1990         Compression = Works fine
1991         Encryption = Works fine
1992         Sparse + Compression = Works fine
1993
1994         Sparse + Encryption = Restore broken
1995         Sparse + Compression + Encryption = Restore broken
1996         Compression + Encryption = Restore broken
1997
1998      As of 1.39.28:
1999         Most combinations work, but some encrypted files are
2000         not properly restored.
2001
2002      As of 1.39.30:
2003         All combinations work fine except Sparse+Encryption.
2004
2005   Bottom line, if you are using data encryption, please test restoring
2006   data to be sure it all works correctly.
2007 - The current Volume format written by 1.39.22 is different from
2008   the format written by previous versions. The two formats
2009   are not compatible. Thus any DVDs written prior to 1.39.22 will
2010   be unreadable by version 1.39.22.
2011 - If you previously run a Bacula version prior to 1.39.30, the JobMedia
2012   data may not be correct for disk Volumes. This can cause incorrect
2013   seeking in versions after 1.39.30. If you experience what appears to
2014   be data I/O or integrity errors during restores, please add the
2015   following directive to your disk DEVICE resource in the Storage
2016   daemon conf file:
2017
2018     Block Positioning = no
2019
2020   This will turn off all seek requests during restores and avoid
2021   this problem.
2022 - VSS for Windows clients is now enabled by default.
2023 - Do not unload autochanger when doing "update slots"
2024 - Implement mount command for autochanger, see manual.
2025
2026 New Features in 2.0.0:
2027 - Turn on disk seek code for restores.
2028 - There is a partial but reasonable translation of the Bacula
2029   messages for French.  To install it, first configure and build
2030   Bacula, then as root run:
2031
2032     cd <bacula-source>/po
2033     make install
2034
2035   If you have your locale set properly you will get the translated
2036   messages.
2037 - Bacula now support Migration jobs that are documented in a new
2038   Migration chapter in the manual
2039   http://www.bacula.org/dev-manual/Migration.html
2040 - Data encryption is now implemented and is documented in
2041   a new chapter of the manual at:
2042   http://www.bacula.org/dev-manual/Bacula_Data_Encryption.html
2043 - Additional support for removable devices.  See the 
2044   Requires Mount, Mount Point, Mount Command, and Unmount
2045   Commands in the Storage daemon configuration chapter:
2046   http://www.bacula.org/dev-manual/Storage_Daemon_Configuratio.html
2047   Also see the Edit Codes for Mount and Unmount Directives in the
2048   same chapter.
2049 - Switch the Win32 build from using Microsoft C++ to using mingw32
2050   cross-compiling.  The initial work was done by Howard Thomson,
2051   then tweaked by me.  Robert Nelson then totally reworked the
2052   cross-compiling code so that it not only cross-compiles, but
2053   also compiles on Visual Studio, and at the same time, he added
2054   all the current Unix features to the FD, such as selection on
2055   drives, encryption support, building *all* the tools, ...
2056 - The Director and Storage daemon have now been ported to Win32.
2057   This code is working but should still be tested carefully
2058   before putting into production.
2059 - Bacula restore and bextract can now extract non-portable Win32 data to
2060   any client (including Unix/Linux clients). Of course, in doing so,
2061   the Microsoft specific permissions and ACLs will be lost.  Thanks
2062   to Thorsten Engel for this code.
2063 - The 260 character limitation for Win32 paths name lengths is now 
2064   eliminated thanks to Thorsten Engel. However, if you are using
2065   Volume Shadow Copy, please be careful to specify all the paths
2066   in the bacula-fd.conf file using a full path notation including
2067   the drive letter.
2068 - Eric Bollengier wrote new RunScript directives that includes
2069   the old RunBefore/AfterJob and ClientRunBefore/AfterJob features
2070   plus a *lot* more, allowing you to control just about every aspect
2071   of running scripts.  See the manual for detailed documentation.
2072   http://www.bacula.org/dev-manual/Configuring_Director.html#5227
2073 - SunOS ACLs should now work thanks to a patch from David Duchscher.
2074 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
2075   If this patch is applied, the number of days can be specified with
2076   "list nextvol days=xx"
2077   or
2078   "status dir days=xx"
2079   This can be used to preview the next scheduled job (and the
2080   next tape to be used) on Fridays if there are no scheduled jobs during
2081   the weekend.
2082 - From Eric Bollengier. One can now using the bconsole wait command do:
2083    wait  (wait for all jobs to stop)
2084    wait jobid=nn
2085    wait jobuid=unique id
2086    wait job=job-name
2087 - Volumes can now be set to Enable, Disable, or Archive. If they
2088   are not enabled, Volumes will not be mounted.             
2089   Implement update volume enable=(on|off|true|false|archived|0|1|2)
2090 - Add Catalog message destination in Messages resource that puts the
2091   job report in the Log database table.
2092 - Writing/reading DVD Volumes is much more stable -- to the point
2093   of being useful. Thanks to Richard Mortimer.
2094 - Add enable/disable job=<job-name>.  This command prevents
2095   the specified job from being scheduled. Even when disabled,
2096   the job can be manually started from the console.
2097 - The database Id records should be 32/64 bit independent now. 64 bits
2098   can be enabled by changing one define and changing the appropriate
2099   table variable. Normally, you need 64 bits only for FileId.
2100 - Relative path specifications (i.e. ../xxx) are now permitted in
2101   the restore cd command.
2102 - When running multiple simultaneous jobs, most jobs that use spooling
2103   will now finish faster due to a mutex optimization made by Eric
2104   Bollengier.
2105 - Conf files containing UTF-8 marker at the head of the file as well as
2106   conf files containing Window cr/lf and Mac cr line termination characters 
2107   are now accepted thanks to Robert Nelson.
2108 - Windows tray status windows are scrollable and resizable.
2109 - Win32 external script execution is much more flexible -- handles
2110   spaces in names better, ...
2111 - Lots of DVD fixes -- writing DVDs is now reported to work.
2112 - Fix opening of database in a restricted console to respect     
2113   any Catalog ACL.
2114 - Much better automatic handling of multiple database catalogs in
2115   the restore command.
2116 - Permit multiple console/director resources in bconsole.conf.
2117   patch from Carsten Paeth calle@calle.in-berlin.de
2118 - Character substitution in Job/JobDefs WriteBootStrap.
2119   from Eric Bollengier.
2120 - Apply patch supplied in bug #656 to pass priority field
2121   in the run dialog to the Director in gnome console.
2122 - Add support of encrypted data stream to bscan from Eric.
2123   display data_len instead of data content (may be binary).
2124 - Add Enabled=xxx on update slots command.
2125 - Add host:port to connect failure messages to FD and SD from Dir/
2126 - Add WhereACL to console ACL list.  If nothing is specified, only
2127   the default is permitted for restore. Otherwise, *all* allows any
2128   path, or you can specify permitted paths. This should allow control
2129   over where users can restore files. This is untested.
2130 - Install man pages with 'make install'.
2131 - Add Media.Enabled flag to client backups for dotcmds.c
2132 - Enforce Media.Enabled=1 for a current restore to work
2133 - Require restore case 3 to have sqlquery permission to work.
2134 - Add -n option to bconsole to turn off conio -- used in bweb.
2135 - The bytes field in the terminated jobs part of the status
2136   command now reports in KB, MB, ... units.
2137 - When not descending into a directory, print the File= name that
2138   triggered it -- makes why not descending a bit clearer
2139 - Do not unload autochanger when doing "update slots"
2140 - Implement mount command for autochanger
2141 - Fix bug #462 incorrect error message printed when client script called
2142   from File= was not found.
2143 - Fix bug #558 (waiting for feedback) where Bacula needs too much time to
2144   do a rewind on Solaris when no tape is in the drive (Solaris does not
2145   have the detailed errno found on Linux).  Added Solaris specific code.
2146   Note, this may apply to other OSes as well.
2147 - The examples directory has a new bacula_mail_summary.sh file that
2148   creates a single email summary of any number of jobs. Submitted by
2149   Andrew J. Millar.
2150 - Add nagios plugin to the examples directory. Submitted by
2151   Christian Masopust.
2152 - Modify most restore error messages to be queued so that they
2153   appear at the end of the job rather than mixed with the restore
2154   listing where they could be "lost".
2155 - Apply patch supplied by user (slightly modified) to fix
2156   correct detection of holes in block devices and FIFOs.
2157   Bug # 506.
2158 - Added a report.pl program to the examples directory from Jonas Bjorklund.
2159 - Add two new queries to query.sql provided by Arno. One
2160   list volumes known to the Storage device, and the other
2161   lists volumes possibly needing replacement (error, ...).
2162 - Implement new code for changing userid and group at startup. This
2163   should get Bacula into the correct groups.
2164 - Implement support for removable filesystems -- device type directive
2165   and mount, unmount directives.
2166 - Transfer rates are now presented in a more readable format thanks
2167   to a user submission.
2168 - SD is now aware of what volumes are mounted. More information is printed
2169   in the Status report. You must take much more care now to unmount
2170   devices prior to removing tapes that Bacula has open or prior to
2171   changing a magazine. Don't forget to do a mount afterwards or the
2172   device will be blocked.
2173 - The Pool Maximum Volumes directive is now respected in all places.
2174 - A Storage device can now be specified in a Pool resource. It will override
2175   all other Storage specifications.
2176 - Most but not all directives accept true/false in place of yes/no.
2177 - A patch from Karl Hakimian that reads JobIds, FileIndexes
2178   from a database table for restore.
2179 - There are a number of new tables. Some such as the Location table are
2180   designed for user use in doing Volume Management software.
2181 - Maximum Changer Wait, Maximum Open Wait, Maximum Rewind Wait to
2182   accept time qualifiers.
2183 - Implement jobuid to replace old usage of job in keywords as
2184   suggested by Eric Bollengier.
2185 - Implement write variables for Python to set Priority (anytime), and
2186   Job Level, only during JobInit event.
2187 - Use the keyword ujobid to mean the unique job id; job or jobname
2188   to mean the Job name given on the Name directive, and jobid to
2189   be the numeric (non-unique) job id.
2190 - Allow the SD to use multiple drives during a backup/restore (only
2191   one at a time).
2192 - Integrate addition of line count limitation to bsmtp -l from
2193   Sebastian Stark <stark at tuebingen.mpg.de>
2194 - Split the bacula start/start script into four files:
2195    bacula         -- starts and stops calling other scripts
2196    bacula-ctl-dir -- starts/stops the director
2197    bacula-ctl-fd  -- starts/stops the File daemon
2198    bacula-ctl-sd  -- starts/stops the Storage daemon
2199 - Remove automatic case folding on Windows FDs. You must
2200   explicitly use the 'Ignore Case = yes' option.
2201 - Implement wild program in tools directory for testing
2202   wild-cards. Almost identical to the regex program.
2203 - Use the new bregex.c to implement Regex expressions on Win32.
2204 - Apply patch from Christopher Hull
2205   - Allow multiple connections to database with different
2206     parameters.
2207   - Invalidate the scheduler when doing a reload. Fixes seg
2208     fault, but still 60 second window.
2209   - Additional info in Reschedule message.
2210   - Use set_jcr_job_status() everywhere to prevent loss of
2211     cancel, error.
2212   - Display peer IP in FD if error from connecting DIR.
2213   - Don't increment file count for DIRBEGIN.
2214   - Replace illegal characters in Win32 filename by _.
2215   - Add SE_CREATE_PERMANENT_NAME privilege in Win32.
2216   - Hash hard link filenames rather than linked list (performance).
2217   - Fix for security failure in chdir on Win32.
2218   - Add CreateDirectoryA/W win32 API entry points.
2219 - programs to duplicate Bacula's base64 algorithm using standard
2220   routines. This fixes bugs #296, and 565. Patch submitted by
2221   author of bug #565.
2222 - Fixes to reloading the Dir conf file from Eric Bollengier and Christopher
2223   Hull.
2224 - Modify LICENSE to correct some problems pointed out by Debian.
2225 - Apply a patch submitted by cesarb in bug #606 to implement O_NOATIME support.
2226     O_NOATIME is a open() flag which makes it possible to read a file without
2227     updating the inode atime (and also without the inode ctime update which
2228     happens if you try to set the atime back to its previous value). It also
2229     prevents a race condition when two programs are reading the same file, but
2230     only one does not want to change the atime. It's most useful for backup
2231     programs and file integrity checkers (and bacula can fit on both
2232     categories).                                                    
2233   You enable it in the Bacula FileSet Options resource by setting:
2234      noatime = yes
2235   The effect of this option is similar to the keepatime option except
2236   it is more efficient and avoids modifying ctime.
2237 - Implement a pile of new man pages contributed by Jose Tallon.
2238 - Modify the database format for handling Migration jobs:
2239    Add PriorJobId, RealEndTime to Job table
2240    Delete MAC table
2241    Remove Stripe from JobMedia record (not used, wasting space)
2242    Add ScratchPoolId, RecyclePoolId, Enabled to Media record
2243    Add Cost to Location table.
2244    Enabled to Media table and Location table.
2245 - Security: harden authentication failure in FD by single threading errors
2246   and forcing a 6 second wait.
2247 - If using GCC (actually g++) add the following compiler flags
2248   -fno-strict-aliasing -fno-exceptions -fno-rtti
2249 - Turn on new bsnprintf() code.  The reason for this code is to
2250   eliminate the security problems associated with using the
2251   system libraries print routines.
2252 - Implement job report that indicates where Storage and Pool
2253   came from -- with overrides and Pool storage and NextPool,
2254   it is all very complicated.
2255 - Add more detail (Storage, Device) to list of volumes printed
2256   for restore.
2257 - Add new VOLMGMT message class. No messages are yet sent with this 
2258   class.
2259 - Improved Bacula rescue procedures -- see the Disaster Recovery
2260   chapter of the manual
2261 - Add spooling/despooling info in status output of SD.
2262 - Add Comment field to llist of a volume.
2263 - Allow true/false in many but not all yes/no directives.
2264 - The Bacula source code is now copyrighted by the Free Software 
2265   Foundation Europe. The Developer's Guide documents the new procedures,
2266   and the LICENSE file has been updated.
2267 - Apply Jaime Ventura's patch that implements the Messages resource
2268   Mail On Success directive.
2269 - The Client returns its Version string, which is printed in the Job
2270   report.
2271 - The Client returns whether or not VSS and Encryption are used, which
2272   are printed in the Job report.
2273
2274 Additional Features Added for Win32:
2275 - Added DriveType directive to the Director's Include Option FileSet
2276   resource.  Allowed values are: fixed, removable, cdrom, and remote.  There
2277   is only an implementation for Windows because it is the only platform that
2278   has the concept of drives.
2279  
2280 - Adds EnhancedWild directive to the Director's Include Option FileSet
2281   resource.  Allowed values are: yes and no.
2282  
2283   When EnhancedWild is enabled then the processing of the
2284   Wild, WildDir and WildFile is changed in the following ways.
2285  
2286   Patterns conform to Posix
2287       \ is not a special character in character classification []
2288       To match a - it must be the first or last character
2289       To match a ] it must be the first character
2290  
2291       fnmatch option FNM_FILE_NAME is specified * doesn't match a / 
2292       so it won't match multiple directory levels in a path
2293  
2294 - Relative WildFile patterns (ones without a leading /) match
2295   against the filename portion.  This in combination with the
2296   FNM_FILE_NAME fnmatch() flag makes directives such as WildFile =
2297   abc*.def work as expected.
2298  
2299 - Adds support for the shell's feature of brace expansion.
2300
2301   Here is an example where braces allow 24 lines to be expressed in 5.
2302
2303   # Exclude directories full of lots and lots of useless little files
2304   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Cookies"
2305   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Recent"
2306   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/History"
2307   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temp"
2308   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temporary Internet Files"
2309
2310 ;;;