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