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