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