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