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