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