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