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