1 Kern;;;30 April 2009 at 17:49
2 Bacula Version 3.0.1 has been released to Source Forge.
4 Note, if you are not already running 3.0.0, please read the 3.0.0 release notes. Important!!!
6 Version 3.0.1 is primarily a minor bug fix update to version 3.0.0 with
7 one enhancement (see below).
11 1276, 1274, 1275, 1272 1246, 1268, 1281, 1282.
14 - Check for job_canceled() in fd_plugin code.
15 - Update Win32 table creation to have new DB version 11 format
16 - Remove illegal Options in Exclude of default Win32/64 bacula-dir.conf
17 - Remove 'Reposition' messages when restoring
18 - Updated projects file
19 - Tweak version string to display versionid field at the end
20 and keep fields order.
21 - Add additional mysql connection debug code submitted by:
22 Chandranshu <chandranshu@gmail.com>
25 - Modify insertion of read Volumes in SD to be done *before* the
26 drive reservation. This ensures that a Volume to be read will not
27 be reserved for writing. Significant improvement in eliminating
28 tape deadlock situations.
30 Note, both the Director and Storage daemons must be upgraded at the
31 same time. The 3.0.1 File daemons are compatible with 3.0.0 file
32 daemons and as noted below in the 3.0.0 release notes the Director
33 and Storage daemon should be compatible with 2.4.x File daemons.
34 In general, we do not expect any of the 3.0.x File daemons to work with older
35 Directors and Storage daemons (as has always been the case for Bacula
38 ============ Documentation improvements needed ==================
40 Note!!!!! The 3.0.0+ documentation needs rather extensive modifications in the
43 1. Missing documentation.
44 2. Correction of links within various manuals -- most fail.
45 3. Integration of the new features into the main documents.
48 The documentation will not be completed in the near future due to lack
49 manpower. If you are unhappy with this situation as we are, we suggest
50 you help by submitting patches to the documentation. Thanks.
54 Kern;;;09 April 2009 at 22:30
55 Bacula Version 3.0.0 has been released to Source Forge.
57 This is to inform you that we have uploaded the Bacula version 3.0.0 source
58 tar files and the Win32/64 installer files to the Bacula Source Forge
61 There are quite a number of new features in this release, and upgrading to it
62 requires a database upgrade, so please read the release notes carefully
63 (included below) and the documentation for the new features at:
65 http://www.bacula.org/manuals/es/concepts/concepts/New_Features.html
67 There is still a good deal of work to do to finish the release process (mainly
68 reorganizing the web site manuals ...), but at least the source files are
69 released. The rpms should follow shortly (probably this weekend).
71 If you are currently using 2.4.4, please note that within a few months that
72 version will no longer be supported, so please consider the possibility of
75 This release probably has the most new features that we have ever released,
76 and it has taken a long time to produce it. The basic code is very well
77 tested, and if you stick to 2.4.4 features, you are unlikely to experience
78 problems. However, many of the new features have not been well tested, so
79 your help will be appreciated.
81 The following issues with 3.0.0 are known and we are working on them:
83 1. The documentation is not 100% complete (there are so many new features that
84 we missed documenting some).
86 2. All the new documentation is in the New Features chapter, but not all of it
87 has yet been integrated back into the appropriate chapters.
89 3. James has reported that the Exchange plugin may crash if you cancel a job
90 while it is running. He is working on this.
92 4. The SD has many new features that will make it more stable. One in
93 particular is that it knows what Volumes will be read during a migration,
94 copy, or Virtual backup job, and will ensure that they are not selected for
95 writing (something easy to do if you are using disk files and the same pool
96 for reading an writing). However, the day after the release was cut, I found
97 a problem with this code that prevents it from working properly during
98 certain pre-allocations of the write tape.
100 5. There is still an outstanding bug report on VSS failing (it seems to be a
103 As I previously announced, we will now make 3.0.0 our main release source code
104 stream, and we hope to release new version every six months and bug fix
105 updates even sooner. To be able to do this, we will support version 2.4.4
106 only for a few more months. There after the project will only support the
107 most current release ...
109 This release comprises a lot of work by a lot of different people and many
110 contributions. Normally I hesitate to mention particular people or
111 contributions because I always forget someone, but since this was such a big
112 release, I would like to mention at least the big contributions:
114 Sponsor Company(s) - Programmer - Project
115 Bacula Systems - Eric Bollengier - Accurate Backup
116 Bacula Systems - Eric Bollengier - Catalog format enhancements
117 Bacula Systems - Eric Bollengier - bextract non-portable Win32 data
118 Bacula Systems - Eric Bollengier - Win64 File daemon
119 Bacula Systems - Eric Bollengier - SD deadlock detection + postmortum dump
120 Bacula Systems - Eric Bollengier - Faster Attribute despooling if DIR & FD on
122 Bacula Systems - Eric Bollengier - Virtual tape emulation
123 Bacula Systems - Kern Sibbald - USB rescue key
124 Equiinet funded development - James Harper - MS Exchange plugin
126 Personal contributions:
127 Kjetil Torgrim Homme - Regex expressions for restore in bootstrap file
128 Marco van Wieringen - ACL code overhaul
129 Marco van Wieringen - Solaris ZFS/NFSv4 ACL support
130 Marco van Wieringen - Extended Attribute support
131 Marco van Wieringen - Shared Objects
132 Dirk Bartley - Bat speedup + stability improvement + many enhancements
133 Joao Henrique Freitas - libdbi catalog driver
134 Scott Barninger - rpm packaging
135 Kern Sibbald - many big and little projects ...
136 Many people -- see the AUTHORS file.
138 Many thanks to everyone for making Bacula what it is today.
140 === List of new features ===
144 - Solaris ZFS/NFSv4 ACL support
145 - Extended Attribute support
146 --disable-xattr (default=auto)
148 --enable-libtool (default)
151 - Catalog Format Enhancements
152 - Support for more than 4 Billion file entries
154 - Duplicate Job Control
156 - bextract non-portable Win32 data
157 - State File updated at Job Termination
162 - Console Enhancements
167 - Restore seek optimization
168 - Virtual Tape Emulation
170 - RunScript Enhancements
171 - Status enhancements
172 - FD connect timeout default to 3 minutes
173 - ftruncate implemented for NFS Volumes
174 - FD Version compatibily flag
175 - Statistics Enhancements
176 - Faster Attribute despooling
177 - Document split into 6 manuals
178 - GPLv2 license now compatible with OpenSSL
180 - Postmortum dump improvements in SD
181 - Deadlock mutex detection in SD
182 - Improved Volume management in SD to avoid deadlocks.
183 - New configure install options
184 --docdir= (default=/usr/share/doc/bacula-VERSION)
185 --htmldir= (default=/usr/share/doc/bacula-VERSION/html -- bat help files)
186 --plugindir= (default=sysconfdir, where plugins will be installed)
187 - New Bare Metal Recovery with USB key. See rescue/linux/usb
192 - Exclude Dirs Containing
196 - Full/Diff/Incr Max Run Time
198 - Max Console Connections
199 - Spool Size (in Job resource)
200 - Allow Mixed Priorities
201 - Allow Duplicate Jobs
202 - Allow Higher Duplicates
203 - Cancel Queued Duplicates
204 - Cancel Running Duplicates
206 - Console (in RunScript)
208 New features from Project Items Completed for version 3.0.0
210 Item 1: Accurate restoration of renamed/deleted files
211 Item 3: Merge multiple backups (Synthetic Backup or Consolidation)
212 Item 4: Implement Catalog directive for Pool resource in Director
213 Item 5: Add an item to the restore option where you can select a Pool
214 Item 8: Implement Copy pools
215 Item 12: Add Plug-ins to the FileSet Include statements.
216 Item 13: Restore only file attributes (permissions, ACL, owner, group...)
217 Item 18: Better control over Job execution
218 Item 26: Store and restore extended attributes, especially selinux file
220 Item 27: make changing "spooldata=yes|no" possible for
221 Item 28: Implement an option to modify the last written date for volumes
222 Item n: Split documentation into several books
223 ================================
226 Release Notes for Bacula 3.0.0
228 Bacula code: Total files = 520 Total lines = 205,459 (*.h *.c *.in)
230 The diff between 2.4.4 and 2.5.x is 208,340 lines, so this release
231 represents an enormous effort.
233 This Director and Storage daemon must be upgraded at the same time,
234 but they should be compatible with all 2.4.x File daemons, unless you
235 use some of the new features that affect the FD. In other words, you should
236 not have to upgrade all your File daemons when you upgrade. However, any
237 release of version 2.5.40 or greater requires a database upgrade.
239 ================== Warning !!!!!! ==========================
241 New Catalog format in version 3.0.0 (2.5.40 or later)
242 -----------------------------------------------------
244 This release of Bacula uses a new catalog format. We provide a set of
245 scripts that permit to convert a 2.4.x (version 10) catalog to 3.0.0 (version
246 11). The Bacula project rpms distributed on Source Forge will automatically
247 detect the database change and do the upgrade for you. We strongly
248 recommend that you save a copy of your existing database before upgrading
251 The simplest way to upgrad the database assuming you are building from
253 1. Stop any current version of Bacula from running.
254 2. Save a copy of your existing database.
255 3. Configure, build, and install the 3.0.0 version of Bacula
256 Note the new ./configure options in the manuals see the link
257 at the bottom of this file.
258 4. cd <your-scripts-installation-directory>
259 5. ./update_bacula_tables
260 6. If you have multiple catalogs, edit the update_bacula_tables
261 script and put the name of another database, and then
262 execute the script again. Repeat this until all Bacula
263 catalogs have been updated.
264 7. Start the new Bacula. If everything worked, it should
265 not print any error messages.
267 The upgrade operation will convert the FileId index field of the File table
268 from 32 bits to 64 bits. This operation will take TIME and will *temporarily*
269 DOUBLE THE SIZE of your catalog. Bacula must be shutdown during this update,
270 so, won't be able to run jobs during this period. For example, a 3 million
272 catalog will take 2 mins to upgrade on a normal machine. Don't forget to
273 backup it before executing the script.
275 If you start from scratch, you don't need to run the update_bacula_tables
276 script because the create_bacula_tables script automatically creates the new
277 table format. However, if you are using a version of Bacula older than 2.5.40
278 (e.g. 2.4.4) then you need to run the update_bacula_tables script that will
279 be found in the <bacula>/src/cats directory after you run the ./configure
280 command. As mentioned above, before running this script, please backup your
281 catalog database, and when you do running it, be sure shutdown Bacula and be
282 aware that running the script can take some time depending on your database
286 Important New configure options :
287 ----------------------
289 This release of Bacula 3.0.0 uses libtool by default
290 to generate the Bacula libraries as shared objects rather than
291 being directly linked in as in prior versions. This means that
292 the Bacula shared objects, must either be in a shared object
293 directory known to the loader or they must be in the directory
294 where the Bacula binaries are installed. It is also possible
295 to explicitly specify the libraries directory on the ./configure
296 line (--libdir=/full-path/dir), but this should not be necessary.
298 ./configure --libdir=<full-path>
300 If you have problems with libtool or you wish to use the old
301 way of building libraries and linking them into Bacula, you
302 can do so by disabling libtool on the configure command line with:
304 ./configure --disable-libtool
306 During the installation of Bacula 3.0.0, it will now install
307 bat help files (if you have configured bat). These files
308 are placed in /usr/share/doc/bacula/html by default. If you
309 want to put them elsewhere use:
311 ./configure --htmldir=<full-path>
313 During the installation of Bacula, it will now install the
314 ReleaseNotes, License, technotes, ChangeLog, and similar
315 files in /usr/share/doc/bacula by default. If you
316 want to put them elsewhere use:
318 ./configure --docdir=<full-path>
320 During the installation of Bacula, any plugins will be
321 installed in the plugindir, which is by default the
322 same as libdir (/usr/lib). You can specify an alternate
325 ./configure --with-plugindir=<full-path>
327 ==============================================================
329 This release includes large number of new features and changes.
330 It should be more or less compatible with previous xx.conf files
331 and File daemons providing that you are not using any of the new
334 Please see the New Features chapter of the new manual, which documents
335 some but not all the new features (we are still working on it):
337 http://www.bacula.org/manuals/es/concepts/concepts/New_Features.html
339 The ChangeLog has more details.
342 Kern;;;03 Nobember 2008 at 17:35
343 Critical 2.4.3-orphaned-jobs.patch released
344 We recently found and corrected a serious bug in Bacula that causes jobs to be
345 orphaned or "stuck" in the director during the pruning process. Depending on
346 what jobs get stuck and how many there are, it could prevent additional jobs
347 from running. As best we can tell, this problem occurs only during what could
348 be called extreme pruning conditions -- i.e. there are insufficient Volumes
349 available for normal operations.
351 In any case, we recommend that everyone apply the 2.4.3-orphaned-jobs.patch,
352 which you can find in the bacula-patches section of the Source Forge download
353 area as well as in the directory patches of both the trunk and Branch-2.4 SVN.
356 Kern;;;12 October 2008 at 10:30am
357 Creation of Bacula Systems SA
358 Dear Members of the Bacula Community,
360 I'm pleased to announce the creation of Bacula Systems S.A., a new company to
361 provide professional support and service for Bacula. I believe you will be
362 pleased to see how we have married a strong commitment to the ethos of honest
363 open source software with the availability of services desired by a wide
364 range of Bacula users.
366 As many of you know, I began work on Bacula in 2000 and released the first
367 public version in April 2002 to Source Forge. Although I have personally
368 written a very substantial part of the code, I offer sincere thanks to the
369 many members of the community who have provided ideas, fixes, testing, and
370 contributions of code, without which Bacula would not be what it is today.
371 It has been a labor of love and I am pleased that so many people have found
374 Before telling you more about Bacula Systems, let me reiterate my unfaltering,
375 ongoing commitment to open source software and the Bacula open source
376 project. The code for Bacula and all future releases will remain available as
377 free open source software under the GPL license that I transferred to the
378 protection of the Free Software Foundation of Europe. Unlike some other open
379 source projects, there will be no separate "enterprise" or proprietary
380 version of the Bacula source code. www.bacula.org will continue to be the
381 home for Bacula project development.
383 So, why create Bacula Systems? The company was created to respond to requests
384 from users who want professional support with guaranteed levels of service
385 and response times. To ensure continuity and the highest level of knowledge
386 transfer, I will take the position of Chairman of the Board and Chief
387 Technical Officer of Bacula Systems S.A..
389 Several members of the Bacula community have joined me to start the company.
390 The other team members are also strongly dedicated to the spirit of keeping
391 Bacula open and free while simultaneously offering commercial services to
392 those for whom it is essential in making the decision to deploy Bacula.
393 Bacula Systems is self-financed -- the initial capital comes from the
394 founders; no outside venture capital was sought or accepted. This means we
395 have the power to establish the company's priorities and we can remain
396 dedicated to "honest open source". Bacula Systems S.A. is a Swiss company
397 with offices in Yverdon-les-Bains, and with branches in France and Germany
398 initially. We will open additional branches as business requires.
400 I will continue to support development of Bacula via bacula.org and the Bacula
401 community. Future developments will be in the "community" code base which
402 will remain free. Bacula Systems will offer "funded development" to
403 customers who wish to accelerate the addition of certain features to Bacula.
404 Code developed this way will be contributed to the free distribution and will
405 be available to the entire community at no charge. Bacula Systems will
406 provide additional fee-based services, including high quality consulting,
407 training, documentation and certified binaries.
409 Our goal in establishing Bacula Systems is to be inclusive of the community,
410 and expand it by creating opportunities for members of the Bacula community
411 through a well-defined Partner Program. If you provide IT services or
412 consulting, the Bacula Systems Partner Program can provide you with the
413 additional back-up (pardon the pun) support you need to serve your customers
416 Our plan is to develop an international network of partners who offer high
417 value added services to Bacula users -- installing, configuring and optimizing
418 Bacula for their customers, as well as Level 3 and 4 support, with guaranteed
419 service levels. We will also provide training and tools to our partners.
421 The Bacula project website, www.bacula.org, and Source Forge will be unchanged
422 in the mission and ideals of being free sources of information, mail lists
423 and forum-based support for and by the community. Both Bacula source code and
424 Bacula binaries will continue to be available for free, as in the past, and
425 new releases will also be available for free. The new commercial website,
426 www.baculasystems.com will provide information on commercial subscriptions
427 for those users who want guaranteed levels of service, support, documentation
428 and certified binaries.
430 All members of the Bacula community are encouraged to register for free at
431 www.baculasystems.com, so that you will receive announcements and news about
432 our commercial activities, and so that you can send feedback to our new
433 company, Bacula Systems.
435 Thank you for your interest and participation in the Bacula community.
442 Kern;;;11 October 2008 at 11:30am
443 Bacula version 2.4.3 Released
444 This is to let you know that the source tar files and the Win32 binaries for
445 Bacula version 2.4.3 have been released to the Bacula Source Forge download
449 This is a bug fix to version 2.4.2. All daemons are compatible
450 with other 2.4.x versions.
453 1159, 1162. 1149, 1128, 1143, 1140, 1129
456 - Apply 2.4.2-cancel-non-running-jobs.patch to be able to cancel
457 a non created job faster.
458 - This should correct bug #1159 where Migration does not properly
459 respect the Migration Low Bytes directive.
460 - Fix typo in configure.in that breaks --with-db-password option
461 - This code should fix the race condition that leads to a Director
462 crash at job end time when the job list is updated. This was reported
464 - Remove all double quotes from SQLite creating script and
465 replace by single quotes as suggested by John Huttley.
466 - Fix SQL case problem that may cause the failure of DiskToCatalog
468 - Copy missing storage name into edit buffer. As far as I can tell
469 this never caused a bug.
470 - Remove catalog dependency for bcopy
471 - Modify catalog scripts to have an easier packaging integration,
472 using default variables.
473 Make difference between SQLite3 and SQLite in db_get_type()
474 - Attempt to fix bug #1128 InChanger flag cleared during Migration
475 job when reading from one autochanger and writing to another.
476 - Add more information to SD acquire.c INFO messages.
477 - Fix NULL Volume name error when reading and the drive must
479 - Fix a Verify InitCatalog problem where in certain cases
480 a garbage filename may be entered in the verification database. This
482 - Add space after version before date in bat about dialog.
483 - Fix seg fault in Dir during estimate command with no level value
484 given. This fixes bug #1140.
485 - Add message to migration job when the target job is already migrated.
486 This closes bug #1129.
488 Unless some really serious new bug shows up, this will be the last release
489 until the next major version (3.0.0), which we hope will be ready around the
493 Kern;;;26 July 2008 at 10:30am
494 Bacula version 2.4.2 Released
495 This is to inform you that we have released the source and Win32 binaries of
496 Bacula version 2.4.2 to the Bacula Source Forge download area.
498 This is an important bug fix release since version 2.4.1.
501 1034, 1125, 1118, 1124, 1107, 1129, 1126
505 - When a migration job actually runs, re-check the Job record
506 and skip if the job is already migrated. This should
507 significantly reduce the problems with bug #1129.
508 - Break the do_swapping into do_unload, do_swapping, and
509 do_load. It is much more logical that way.
510 - Implement a set_dcr_from_vol subroutine in acquire.c for
511 reading volumes. This allows the dcr to be refreshed after being
512 zapped when the wrong volume is mounted. This should fix bug #1126 -
513 - During multiple tape restore, bacula
514 does not ask for physical tape change, but rereads same tape
515 - Apply patch submitted for bug #1107 with a small modification.
516 This fixes a bug where bcopy copied too many records.
517 - Make some tweaks to bsmtp based on patch submitted in bug #1124.
518 This fixes bug #1124.
519 - Make the default bat restore Pool be Any. This fixes bug #1118.
520 - Fix bug #1125 which reports a SD crash at the end of a tape
521 during restore. It was a debug statement that should not be
523 - Fix #1034 by setting big timeout on mysql connections
524 - Do partial integration of the Win32 bat build created by Eric.
525 - Ensure that SD tried to mount a volume not in an autochanger
526 at least once before asking for operator intervention.
527 - Fix a pthreads bug in the Win32 pthreads emulation code affects only
528 version 2.5.x and above.
531 Kern;;;7 July 2008 at 10:30am
532 Bacula version 2.4.1 Released
533 This is to inform you that we have released the source and Win32 binaries of
534 Bacula version 2.4.1 to the Bacula Source Forge download area.
537 1103, 1100, 1105, 1094, 1109, 1106, 1101, 1102, 1112
541 - Clear in-use bit on vol when unused while swapping.
542 - Remove sleep at end of ./bacula
543 - Clear hash packet for hardlinked files correctly. This corrects
544 a long standing bug where hardlinked files selected individually
545 would occasionally not be restored.
546 - Apply Eric's patch to ensure that autoprune does not return
547 a Volume not in the autochanger unless requested to do so.
548 - Correct bat restore display of multiple drives. This fixes
550 - Do find_a_volume() each time an unload is done. This
551 fixes the failure of maxvol2-test.
552 - Use Qmsg() in job.c watchdog callback.
553 - Release main control rwlock if ABORTing.
554 - Make watchdog connect timeout queue messages rather than sending
555 directly to avoid lock conflicts with the real thread.
556 - Remove const char that causes problems with Python, which has
557 older 'incorrect' headers.
558 - Add const char in dbd.c to avoid compiler warnings.
559 - Fix mtx-changer to detect both versions of Ubuntu (Debian)
560 mt. This fixes bug #1116.
561 - Fix failure of 2drive-concurrent-test. Always read label;
562 clear_unload() only after drive is defined in acquire_for_read().
563 - Generally clean up the manual tape loading code. The main
564 conceptial change is that when a volume is marked to be unloaded,
565 its volume name is retained, and it is only marked as unloaded
566 when either the autoloader says it is unloaded or another tape
567 is read on that drive.
568 - Fix a recycling problem with two autochangers reported in bug
569 #1106. This may also (unlikely) fix a second recycling bug as
571 - Fix a SD lock volumes deadlock problem reported in bug #1100.
572 - Fix format problem in bscan output reported in bug #1105.
573 - Copy more data when restarting a job so that run
574 overrides are kept. This should fix bug #1094.
575 - Backport updates to jobq.c where possible.
576 - Fix bug where SD did not ask operator if the device could not
577 be opened. Reported by Eric.
578 - Add dbuser to DIR conf file (replaces user).
579 - Add --with-db-password to ./configure
580 - Fix regress to handle db_password.
581 - Fix a couple of pedantic compiler warnings.
582 - Fix bug when starting a restore on a storage that doesn't
583 have the requested MediaType.
584 - More work on word alignments -- eliminate all ints from
585 the configuration routines.
586 - Fix bug reported by Scott Barninger where the bacula script
587 refers to scripts in the wrong directory. Needed to meet the
588 requirements of recent FHS location changes.
589 - Fix word alignment problem on non-Intel 64 bit machines
590 such as Solaris. This should fix bug #1097 -- bus error in SD.
591 - Add missing win32/patches/wxWidgets.patch to 2.4 repository.
595 Kern;;;4 Jun 2008 at 10:30am
596 Bacula version 2.4.0 Released
597 This is to inform you that we have released the source and Win32 binaries of
598 Bacula version 2.4.0 to the Bacula Source Forge download area.
600 This release consists mainly of a number of bug fixes since 2.2.x
601 but most importantly, a rewrite of significant portions of the
602 Storage daemon reservation and autochanger code. This rewritten
603 code is simpler, more stable, and works much better, particularly
604 with multiple drive autochangers than the prior code did. That
605 said, there are still a number of issues to be resolved. Note,
606 the new code has not been tested in manual volume mount situations.
608 As usual, we strongly recommend when installing to keep the Director and the
609 Storage daemon on the same version. However, since this release only
610 contains refactored code and bug fixes rather than new features, the clients
611 (File daemons) should function perfectly with any 2.2.x version, and there is
612 no database upgrade needed.
614 =====================================================
616 Release Notes for Bacula 2.4.0
618 Bacula code: Total files = 500 Total lines = 188,654 (*.h *.c *.in)
620 This Director and Storage daemon must be upgraded at the same time,
621 but they should be compatible with all 2.0.x File daemons, unless you
622 use some of the new features that affect the FD. In other words, you should
623 not have to upgrade all your File daemons when you upgrade. There is
624 no database upgrade needed from version 2.0.x to 2.2.0 nor from version
625 2.2.x to version 2.4.0
627 ================== Warning !!!!!! ==========================
628 As of Version 2.4.0, the Win32 FD should not descend into
629 any reparse point directory or reparse mount points unless the
630 specified directory is explicitly mentioned at the top level of
631 FileSet (as with Unix). A file that is linked to another file will
632 be backed up, much like Unix hardlinked files. If you want
633 reparse directories backed up, you must explicitly include them
635 ======================================================
637 This release consists mainly of a number of bug fixes since 2.2.x
638 but most importantly, a rewrite of significant portions of the
639 Storage daemon reservation and autochanger code. This rewritten
640 code is simpler, more stable, and works much better, particularly
641 with multiple drive autochangers than the prior code did. That
642 said, there are still a number of issues to be resolved. Note,
643 the new code has not been tested in manual volume mount situations.
646 1095, 1086, 1091, 1070, 1041, 1083, 1078, 1066, 1068, 1038
647 1062, 1065, 1046, 1047, 1031
650 - You can now build bat without the QWT libraries. Use
651 --without-qwt as a ./configure option.
653 Release Version 2.4.0
654 - Update version to 2.4.0 to reflect the magnitude of the SD changes.
655 - Make sure to clear JS_WaitMedia when operator mounts a Volume.
656 This fixes bug #1095.
657 - Add create_postgresql_database.sql to Win32 installer. Should
658 fix problem reported by Juilio Monteiro.
659 - Get correct slot when auto unloading a device. This fixes bug
661 - Fix possible seg fault if SQL error.
662 - Fix renaming a Volume, which used the wrong Volume name.
663 - If operator has rewind tape, print warning, release tape and
664 try once more. If tape is positioned somewhere, something went
665 wrong, so mark the tape in error and try once more. Previously
666 this error was fatal, now it produces an error message.
667 - Ensure correct volume name displayed during restore
668 - Fix a few more Coverity reported problems.
669 - Fix #1091 about bad output in estimate command.
670 - Modify autochanger locking to attempt to avoid race
672 - Make sure device not busy before doing label command.
673 - Display open() errors except when polling. Previously too
674 many were suppressed. This should fix bug #1070.
675 - Fix Win32 reparse points. Bacula will not recurse into any
676 reparse point directory, including mount points, unless the
677 directory is explicitly mentioned at the top level (same as
678 with Unix). A file that is linked to another file will be
679 backed up -- much as Unix does for hardlinked files.
680 This fixes bug #1041.
681 - Remove StorageId test when pruning and recycling (Eric's changes).
682 - Fix buffer overruns detected by Coverity.
683 - Implement --without-qwt
684 - Fix layout of restore tree dialog
685 - Add configure bat QWT libraries, so that bat can be built
686 with or without the QWT libaries.
687 - Implement regression that explicitly tests swapping a Volume
688 from one drive to another.
689 - Enhance disk-changer to detect most error conditions.
690 - Fix SD code so that it properly swaps a Volume between drives.
691 This fixes bug #1083.
692 - Prevent a Volume that is being swapped from being freed from
693 the volume list. This will most likely fix, at least partially,
695 - Fix strippath so that it does not get a buffer overrun and crash FD.
696 This fixes bug #1078.
697 - Make inability to change owner/group when creating a dir only a
698 warning rather than an error.
699 - Fix SQL query in migration code
700 - Fix bat seg fault at termination.
701 - Add Bacula generated version to bat about box.
702 - Backport development stream SD reservation system changes.
703 - When wrong volume is mounted during read, unload_autochanger.
704 - Stop searching for Volumes in SD askdir if DIR returns the
705 same volume name twice in a row.
706 - Rework class structures for VOLRES, DCR, and DEVICE to make
707 the method names a bit more logical, and for more logically
708 handling the responsibilities.
709 - Remove redundant code in terminating the scheduler that just
710 causes a seg fault in many cases.
711 - Improve algorithm for detecting pre-reserved volume and
713 - Prevent volume from being released while being swapped.
714 - Refactor parts of stored/mount.c
715 - Add sanity checks for VolWriteTime and VolReadTime
716 - Take care of bad clock changes while computing VolWriteTime
717 and VolReadTime. This should fix or limit #1066
718 - Correct error string numbers in dird/catreq.c
719 - Restructure reserving, acquiring, and mounting volumes. Calls to
720 autochanger are deferred for mount.c -- simplifes the code.
721 - Do not prune any running job. It just fails the job.
722 - Lock the volumes when changing dev->reserved_device and marking
723 the volume unused otherwise the device can get reserved by
724 another job before the volume is released, thus blocking it.
725 - Correct some SD catalog request error messages.
726 - Turn off code in read_record that causes a seg fault in the SD
727 when reading past an EOS_LABEL.
728 - Turn off unloading the autochanger in reserve.c as it just
730 - Lock volumes when unreserving a device.
731 - Do not mark volume unused when recycling.
732 - Fix bug #1068 fixes a SD crash when using Virtual autochanger.
733 - Generate correct JobMedia records during spooling/despooling when
734 running concurrent jobs. Thanks to Tom Ivar Helbekkmo
735 <tih@hamartun.priv.no> for excellent analysis and testing.
736 - *Massive* commit of all fixes and back ports to create 2.2.9
737 Mostly SD reservations enhancements.
738 - Fix Win32 FD backup/restore memory leak due to improper termination
739 of BackupRead/Write. This fixes bug# 1038.
740 - Fixes a StorageId problem with volumes after migration.
741 - Implements autostart scripts for Debian
742 - Fix mtx-changer.in for broken Debian mt program.
743 - Apply doc fix from bug #1062.
744 - Resolve crash and improper restore wx-console Win32 restore
745 GUI. Fixes bug #1065.
746 - Update Win32 wxWidgets to latest version.
747 - Attempt to do correct handling of Win32 mount points. Should
749 - Add const to AIX prototype for initgroups()
750 - Fix to the JobMedia patch, which introduced a new problem.
751 - Fix creating first JobMedia record during Migration to include
752 proper index. This caused slow restores of migrated jobs.
753 - Fix bug #1047, do not strip paths on symbolic links.
754 - Set catalog backup database and user name from values specified on
755 the ./configure line.
756 - Apply patch to correct bug #1031, about wrong pool source information
760 Kern;;;27 Jan 2008 at 10:30am
761 Bacula version 2.2.8 Released
762 Bacula version 2.2.8 source tar files as well as the Win32
763 binaries are available in the bacula and Win32 release areas
764 of Source Forge. I have hidden the previous BETA release
766 Version 2.2.8 is a bug fix to version 2.2.7 and has a few
767 additional bugs fixed than the BETA 2.2.8 version previously
769 - It fixes bugs: 1036, 1033(doc), 1028, 1040, 1045(doc), 1030,
770 1042(partially), and possibly bugs 1018 and 1032.
771 Bugs 1018 and 1032 involve problems with multiple-drive autochangers,
772 and are difficult to reproduce.
773 See the ChangeLog for more details.
774 Note, if you previously loaded version 2.2.8 BETA, you will probably
775 want to upgrade, but it is not urgent ...
779 Kern;;;9 Jan 2008 at 20:30
780 Bacula version BETA 2.2.8 Released
781 Bacula version 2.2.8 source tar files as well as the Win32
782 binaries are available in the bacula-beta and
783 Win32-beta release areas of Source Forge
785 Version BETA 2.2.8 is a bug fix to version 2.2.7:
786 - It fixes bugs: 1036, 1033(doc), 1028, and possibly 1018 and 1032.
787 Bugs 1018 and 1032 involve problems with multiple-drive autochangers.
790 Kern;;;24 Dec 2007;;20:30
791 Bacula version 2.2.7 Released
792 Bacula version 2.2.7 source tar files as well as the Win32
793 binaries are available in the Bacula release area of Source Forge
795 Version 2.2.7 has several new features and several important bug fixes
797 - It fixes bugs: 1009, 1022, 1024, 1019, 1012, 1021, 1020
798 1007, 1008. For more details, please see the technotes-2.1 file.
799 - Fixed a seg fault reported by Frank Sweetser that depended on
800 exact path lengths, but the problem was in bsnprintf.c
801 - Double quoting include filenames (@xxx) in Bacula conf files is now
802 possible, thanks to a patch by Michael Stapelberg.
803 - You can pipe input to include filenames (@|prog) by using a vertical
804 bar, thanks to the above patch.
805 - A daylight savings time bug in the Win32 bsmpt was fixed by a patch from
807 - Marc Cousins submitted a patch that permits building the PostgreSQL
808 driver with version 8.3.
809 - The configure option --archivedir has been changed to --with-archivedir
811 Kern;;;9 Nov 2007;;15:25
812 Bacula version 2.2.6 Released
813 Bacula version 2.2.6 source tar files as well as the Win32
814 binaries are available in the Bacula release area of Source Forge.
816 This release is a minor fix upgrade to version 2.2.5,
817 and we recommend that all users upgrade when they can.
819 Version 2.2.6 is a minor bug fix realease to version 2.2.5
820 - It fixes bugs: #1003, 942, 982, 990(response only), 991,
822 - Fix bat crash wen it cannot connect to Director.
823 - Fix joblist failure bug in bat.
825 Kern;;;9 Oct 2007;;15:25
826 Bacula version 2.2.5 Released
827 Despite the fact that the Release Notes are rather short, the bug
828 fixes represent quite a lot of work:
830 Version 2.2.5 is a major bug fix release to version 2.2.4
831 - It fixes the following bugs: #961, 962, 963, 969, 968, 960,
832 964, (possibly 935 and 903), 953, 953, 967, 966, 965, 954,
833 957, 908, 958, and 955.
834 - It also improves listing performance problems in bat pointed
835 out by Chris Howells.
837 Kern;;;29 Sept 2007;;20:30
838 A serious data loss bug in Bacula version 2.2.4 found and fixed
840 This bug was very elusive and time consuming to track down. It
841 turned out to be a race condition that can lose the last one or
842 two blocks of a Job, which can happen in rare cases only when
843 running multiple simultaneous jobs when a volume fills and one
844 Job finishes receiving the last data from the FD and at the same
845 time a second job detects the end of the Volume. The bug was
846 introduced in version 2.0.0 and did not exist in version 1.38.x.
847 If the bug is triggered, the data is lost (not written to the
848 Volume), and it can occur for any backup job of any level under
849 the conditions noted above.
851 The bug is reported in the bugs database as bug #964, and just
852 this morning I found and tested a fix, which is attached as a patch
853 to the bug report. The patch (2.2.4-lost-block.patch) is also
854 uploaded to the bacula-patches 2.2.x release area. This bug may
855 also be part of the problems reported in bug #935 and possibly
858 Also in the bacula-patches 2.2.x area, you will find other
859 patches that fixes bugs #953, 966, 967, 965, 958, 908, and
860 955. Please refer to bugs.bacula.org for the details.
862 Though this bug quite serious (data loss), it should be rare.
863 However, we recommend everyone to apply the patch.
865 Kern;;;2007/9/14;;;14:30
866 Bacula version 2.2.4 Released
868 This version of Bacula is a minor bug release to version 2.2.3.
869 It contains the following fixes:
871 - Possible fix for authorization problems bug #953.
872 - Possible fix for bug #908.
873 - Add waits to multiple exit detection code to try to force pid
874 file to always be deleted.
875 - Restore good dev.tar.gz to rescue set appropriate binary property.
877 - Fix seg fault in error exit of acquire_for_read after unsuccessfully
878 trying to switch drives by checking for blocking before unblocking.
880 - Cancel storage daemon in all cases where FD reports error. This
881 should fix virtually all cases of bug #920 and will ensure that Devices
882 are released as soon as possible.
883 - Fix error message that was clobbered when Dir tells SD it does not
884 have write permission on Volume. This should fix a minor point
885 in bug #942, but not the main problem.
886 - Fix migration code to get correct Volume name with multiple volumes
887 by skipping |. Fixes bug #936.
888 - Implement patch supplied by Landon to fix bug #944 where using
889 TLS with bconsole uses 99+% of the CPU.
890 - Fix bug #946 about "bacula-dir -t" which doesn't works
892 - Using "m" in bconsole will show messages as in prior versions
893 and not memory usage.
895 - Note, you need GTK >= 2.10 to be able to link the Tray Monitor
898 Kern;;;2007/9/9;;;14:30
899 I regret to announce that there is a rather serious bug in Bacula.
901 Bacula bug #935 reports that during a restore, a large number of files are
902 missing and thus not restored. This is really quite surprising because we
903 have a fairly extensive regression test suite that explicitly tests for this
904 kind of problem many times.
906 Despite our testing, there is indeed a bug in Bacula that has the following
909 1. It happens only when multiple simultaneous Jobs are run (regardless of
910 whether or not data spooling is enabled), and happens only when the
911 Storage daemon is changing from one Volume to another -- i.e. the
912 backups span multiple volumes, and it only happens for Jobs writing
915 2. It has only been observed on disk based backup, but not on tape.
917 3. Under the right circumstances (timing), it could and probably does happen
920 4. It seems to be timing dependent, and requires multiple clients to
921 reproduce, although under the right circumstances, it should be reproducible
922 with a single client doing multiple simultaneous backups.
924 5. Analysis indicates that it happens most often when the clients are slow
925 (e.g. doing Incremental backups).
927 6. It has been verified to exist in versions 2.0.x and 2.2.x.
929 7. It should also be in version 1.38, but could not be reproduced in testing,
930 perhaps due to timing considerations or the fact that the test FD daemons
933 8. The data is correctly stored on the Volume, but incorrect index (JobMedia)
934 records are stored in the database. (the JobMedia record generated during
935 the Volume change contains the index of the new Volume rather than the
936 previous Volume). This will be described in more detail below.
938 9. You can prevent the problem from occurring by either turning off multiple
939 simultaneous Jobs or by ensuring that while running multiple simultaneous
940 Jobs that those Jobs do not span Volumes. E.g. you could manually mark
941 Volumes as full when they are sufficiently large.
943 10. If you are not running multiple simultaneous Jobs, you will not be
944 affected by this bug.
946 11. If you are running multiple simultaneous Jobs to tapes, I believe there is
947 a reasonable probability that this problem could show up when Jobs are split
950 12. If you are running multiple simultaneous Jobs to disks, I believe there is
951 a high probability that this problem will show up when Jobs are split across
954 13. The bug concerns only the Storage daemon so there is no need to update
955 the clients, though I do recommend updating the Director when installing
956 an updated Storage daemon.
958 I have uploaded patches to bug #935 (bugs.bacula.org) that will correct
959 version 2.2.0, 2.2.1, and 2.2.2. The patch has been tested only on version
960 2.2.2 and passes all regression tests as well as the specific test that
961 reproduced the problem.
963 The patch has now been confirmed to fix the problem reported, and Bacula
964 version 2.2.3 has been released to Source Forge.
966 For the technical details of the bug, please see:
968 http://www.bacula.org/downloads/bug-935.txt
972 Kern;;;2007/8/11;;;14:30
974 Bacula Version 2.2.0 has been released to Source Forge.
976 Release Notes for Bacula 2.2.0
978 Bacula code: Total files = 520 Total lines = 195,550 (*.h *.c *.in)
979 82 new files, 41,221 new lines of code, 208,380 lines of change from 2.0.3
981 This Director and Storage daemon must be upgraded at the same time,
982 but they should be compatible with all 2.0.x File daemons, unless you
983 use some of the new features that affect the FD. In other words, you should
984 not have to upgrade all your File daemons when you upgrade. There is
985 no database upgrade needed from version 2.0.x to 2.2.0.
987 Areas requiring caution or testing:
988 - You must have the thread safe version of MySQL client libraries loaded
989 to build with MySQL enabled.
990 - Volumes are pruned only when absolutely necessary -- this may cause
991 your database to grow compared to prior Bacula versions.
992 - Solaris door and even port files are no longer restored (equivalent
993 to what we do with sockets).
994 - SQLite is no longer supported for Solaris -- it fails too often with
995 bus errors. SQLite3 should work on Solaris.
996 - The default setting for SQLite3 is now 'PRAGMA synchronous=OFF'.
997 This makes it run 30 times faster, but increases the possiblity
998 of a corrupted database if your server shuts down unexpectedly.
999 The default behavior can be changed in src/version.h
1000 - Restore on Win32, and in particular on Vista is untested. Please
1001 test before relying on it. It should backup and restore reparse
1003 - Win32 servers are untested, and very likely not to work.
1005 The major new features are:
1006 - Much faster insertion of attributes (somewhere around 10 times),
1007 many thanks to Eric Bollengier and Marc Cousin.
1008 - First release of bat (Bacula Administration Tool). Note to build
1009 bat you must explicitly enable it on the ./configure line, you
1010 must have the Qt4 version 4.2 or later libraries loaded, the qwt
1011 (Qt Graphics) package loaded, and qmake and the other Qt4 tools
1012 must be available. Most of the implementation was done by Dirk Bartley.
1013 - Red/Black restore in memory tree (500 times faster loading).
1014 - The Regex Where code to allow easier relocation of restored files
1016 - Socket level heartbeat for all connections (untested).
1017 - posix_fadvise() use in the FD to improve performance reduces
1018 swapping due to opening/reading lots of files. Win32 equivalent
1020 - Much improved Volume reservation code that should eliminate most
1021 conflicts experienced in multiple drive autochangers.
1022 - Simpler locking in the SD in the reservation system.
1023 - Detection of file size/date change during backup if enabled.
1024 - New Recycle Pool feature -- thanks to Eric.
1025 - Efficient implementation of very large include/exclude lists.
1026 - Volumes are no longer pruned during 'status dir'
1027 - Pruning is now more efficient, and if a Volume is purged,
1028 during pruning, it is immediately discovered.
1029 - License is now GPL v2 without modifications, fix a few copyright
1030 mistakes made when adding FSFE copyright notice.
1032 New ./configure options:
1033 - --enable-bwx-console
1038 - --enable-batch-insert
1040 New bconsole commands:
1043 - update recyclepool
1046 - .pwd (in restore tree)
1047 - restoreclient (keyword)
1048 - backupclient (keyword)
1049 - regexwhere (keyword)
1050 - update jobid (new command)
1051 - recyclepool (keyword)
1054 - Heartbeat Interval (bconsole.conf)
1055 - Heartbeat Interval (bacula-dir.conf in Director, Client, Storage)
1056 - TLS Allowed CN (bacula-dir.conf in Client)
1057 - Regex Where (bacula-dir.conf in Job)
1058 - Strip Prefix (bacula-dir.conf in Job)
1059 - Add Prefix (bacula-dir.conf in Job)
1060 - Add Suffex (bacula-dir.conf in Job)
1061 - Recycle Pool (bacula-dir.conf in Pool)
1062 - FailJobOnError (bacula-dir.conf in RunScript)
1063 - CheckFileChanges (bacula-dir.conf in FileSet)
1064 - StripPath (bacula-dir.conf in FileSet)
1066 Other features or bug fixes:
1067 - Fixed bugs: 916, 910, 917, 914, 906, 907,
1068 842, 830, 893, 861, 888, 886, 807, 877, 872
1069 885, 887, 864, 874, 882, 881, 863, 859,
1070 856, 854, 845, 847, 846, 809, 772,
1071 822, 825, 824, 808, 802, 797, 798, 795, 789, 791,
1072 788, 780, 763, 782, 612, 767, 775, 621, 772, 764,
1073 766, 621, 761, 755, 750, 741, 747, 742, 744, and 743.
1074 - Configure bat with --enable-bat. Define qwt libraries with
1075 --with-qwt=<dir>. See Installation chapter of manual for details.
1076 - Create a depkgs-qt package that has both Qt4 and qwt, which are
1077 needed to build bat. Most modern Linux systems will have both
1078 these packages in the distro.
1079 - Storage overrides delete all previous storage definitions instead
1081 - One should be able to mount and unmount removable devices if the
1082 Device resource has Removeable Media set and the mount and unmount
1083 directives are defined.
1084 - ./configure will do a better job of searching for qwt libraries.
1085 - The Win32 version can no longer be shutdown from the tray monitor.
1086 Use the command line or the Services panne.
1087 - Keep prune_volumes() from pruning the whole Scratch pool.
1088 - More debug output in status storage.
1089 - Correct moving a Scratch volume from pool to pool (some
1090 critical columns were lost).
1091 - Different locking in reservations and despooling systems,
1092 which means more micro-locking and less macro-locking, which
1093 should give a lot more concurrency at the expense of slightly
1094 (<0.1%) more overhead due to more locking/unlocking, but
1095 concurrent jobs should run much faster.
1096 - Additional drive reservation algorithm that should solve a lot of
1097 the problems experienced with multiple drive autochangers.
1098 - Storage daemon status command enhanced to more clearly show Volume,
1099 pool and media type when a job is waiting.
1100 - Made bsmtp work with more strict SMTP servers.
1101 - Detect doubly freed buffers in smartall.c
1102 - wx-console renamed to bwx-console (Fedora request)
1103 - gnome-console renamed to bgnome-console (Fedora request)
1104 - Migration preserves original job's FileSetId
1105 - Spooling implemented for migration jobs.
1106 - Config files can be read through a pipe, by specifying a leading |
1107 in front of the configuration path/filename.
1108 - New memory command (bconsole) that will print the current Director's
1109 memory usage, and an in use buffer dump.
1110 - Console name changed from *Console* to -Console- to accomodate Win32
1111 filename restrictions.
1112 - Corrected the Win32 ftruncate bug.
1113 - Additional version information added to Job reports.
1114 - New -8 option for bsmtp to specify UTF-8 encoding type.
1115 - bsmtp will no longer add < > to target (from, to, cc) if there
1116 is already a < in the target.
1117 - Prefer Mounted Volumes extended to mean a volume that is being
1118 mounted by another job.
1119 - Runscript timing set to same as version 1.38.11
1120 - New TLS Allowed CN directive(s) permitted.
1121 - New bconsole 'exec' command to run external script/command.
1122 - Turn on FreeBSD/OpenBSD code to set EOT model on tape.
1123 - Drop from root done before database is opened.
1124 - Database user and name can be configured with:
1125 --with-db-name=name --with-db-user=user
1126 - Turn on wait_for_drive in mtx-changer script.
1127 - Rework how bar codes are handled in mtx-changer script.
1128 This appears to have been an unreported bug.
1129 - Updated nagios plugin supplied by Christian Masopust
1130 - Better restricted console ACL checking.
1131 - New Client Connect Wait directive in Storage daemon so that
1132 users can configure how long SD waits for FD connection.
1133 - Bacula will no longer permit pruning of the currently running
1134 job (note, if other jobs are running, they may be pruned).
1135 - Sockets are no longer restored.
1136 - dbcheck works in 300K chunks so will typically run faster.
1137 - Include/Exclude lists can now be efficiently handled for quite
1138 large sizes -- tens of thousands of entries.
1139 - Several memory leaks in migration and database usage were fixed.
1140 - New console keyword restoreclient, which specifies the client to
1141 which the restore will be sent. The client keyword specifies
1142 the backup client. The restoreclient keyword is optional if it is
1143 not specified, the backup client will also be the restore client.
1144 - The disk file size is now checked to ensure that it agrees with the
1145 catalog value before Bacula will append to the disk (same as tape
1150 Kern;;;2007/3/6;;;14:30
1152 Bacula Version 2.0.3 has been released to Source Forge.
1153 This is a bug fix release to version 2.0.2. If you are upgrading from
1154 a version older than 2.0.0, please be sure to read the important notes
1157 Also, please check the patches directory in the current SVN or the
1158 patches release section on Source Forge for important bug fixes to
1162 kes File migrate bug with Pool Occupancy using mediaid instead
1163 of jobids. Fixes bug #795.
1164 kes Fix orphaned buffers in filed backup and verify due to
1165 crypto buffers not freed during errors. Fixes bug #789.
1167 kes Add smartctl call to bacula-sd.conf as an example of getting
1170 kes Add Client Connect Wait to Storage daemon to permit users to
1171 modify the time the SD waits for a FD connection.
1173 kes Apply Command ACL filter to JobId list in restore command.
1174 kes Correct typeo in var.c patch.
1176 kes Don't let Bacula prune File or Job records for the current Job.
1177 kes Fix variable substitution pad + inc bug reported (with patch)
1180 kes Correct SQLite log table index as reported by Luca Berra.
1182 ebl Fix FIFO stuff, bacula tries to rewind the FIFO... Thanks to Andreas
1184 kes Fix a few places in lib/message.c where the open fd may
1187 kes Add LANG=C to autoconf/randpass so it works with languages other
1188 than English. Fixes bug #788.
1190 ebl Revert ClientRunBeforeJob as it was in 1.38.x
1192 You will not be able to generate Include/Exclude list any more.
1193 If you want to use this, you can apply
1194 trunk/bacula/patches/testing/clientrunbeforejob_can_generate_include_exclude_list.patch
1196 kes Restore of sockets created false error messages because Bacula
1197 no longer restores sockets, but the code was still trying to
1198 set the attributes on a non-existent file. Reported by a user.
1200 kes Fix encryption deblocking bug, which caused some restored files
1201 to be truncated. This fixes bug #763. This is a CRITICAL bug fix.
1202 kes Add FD event sequence order prepared by Eric -- for RunScripts.
1203 kes Fix 12am/pm bug as reported in bug #782.
1205 kes Add quick disconnect FD code from 2.1.4 to 2.0.3. This code
1206 causes the SD to release the FD as soon as the FD has sent
1207 all the data to the SD. After that the SD will do any final
1208 despooling (data and attributes) that are necessary. This
1209 allows laptops to disconnect much quicker from the network
1212 kes Apply Eric's ClientRunScriptAfter patch to 2.0 and 2.1.
1214 kes Optimize the use of the database a bit in the Status dir command.
1215 Only open it when needed, ensure that if any previous database
1216 was opened, it is closed.
1218 kes Modify dbcheck to handle orphaned JobMedia, Path, Filename,
1219 and File records in 300K chunks to be more efficient. This
1220 idea came from Juan Luis Frances (if I remember right).
1222 kes Update projects list.
1224 kes Fix dird/ua_cmds.c so that a cancel command checks if the
1225 console is authorized to cancel the job. This fixes bug
1227 kes Modify SD so that the VolCatJobs medium record is updated
1228 at the beginning of a Job rather than the end. This
1229 fixes bug #775 where exceeding MaxVolJobs caused jobs
1231 kes Added a mutex around getting and setting Volume information
1232 so that multiple simultaneous jobs will single thread.
1234 Switch to using Subversion
1235 kes Remove src/pygtk-console/ from configure
1237 kes Delete src/lib/btree.c from win32 build, then add rblist.c
1238 plus the entrypoints.
1239 kes Apply patch supplied that corrects debug print
1240 in canceling jobs for max run time. Supplied as
1241 part of bug #621, which was previously fixed.
1243 kes Test on job_canceled() and sd_msg_thread_done inside
1244 loop starting the message thread to avoid a race condition.
1246 kes Remove rl_catch_signal from console.c as it conflicted
1247 with the header definition. Fixes bug #765.
1248 ebl Fixes bug #766 about RunsOnClient = Yes (case sensitive)
1250 kes Clarify some stored/acquire messages to indicate if the
1251 problem is with read or append.
1253 kes Fix memory leak with storage ids in cats/sql_get.c
1254 kes Terminate watchdog earlier to avoid reference to released
1255 memory -- reported by Jason Austin.
1256 kes Move closing the database from jobq.c to the director daemon
1257 termination routine. This fixes memory leaks for shadow jobs
1258 (i.e. migration jobs).
1259 kes Free up the unique jobid chain items in migrate.c. This fixes
1260 a memory leak problem.
1261 kes Convert some ugly looking for statements to use foreach_alist
1262 in findlib/find.c. This will facilitate converting the structures
1263 to use dlist (for large include/exclude lists).
1264 kes Fix a bug in the btree.c and btree.h routines, then rename them
1265 rblist and add them to be built in src/lib. Include some new
1266 methods written by Rudolf Cejka that make the code more readable
1267 (hides some of the ugly casting).
1269 kes Implement item #12 on project list -- quick release of FD by
1270 the SD. This is noted in more detail above.
1274 Kern;;;2007/1/28;;;14:30
1276 Bacula Version 2.0.2 released:
1278 kes Fix maxruntime bug #621.
1280 kes Get current main CVS .specs for RedHat, SuSE, Mandrake.
1282 ebl Implement the include JobID in spool file name project.
1283 kes Reorder projects file in order determined by Jan 2007 vote.
1284 kes Fix open of SQLite3 db where user does not have write permission
1285 so that DIR does not crash. Fixes bug #761.
1287 kes Change 'Device not configured to autolabel' from INFO
1289 kes Fix jobq.c to restart failed jobs when Reschedule Times = 0
1290 which should restart an indefinite # of times.
1291 kes Fix configure --help to print --with-mysql[=DIR]. Same for
1292 other DIR specifications.
1294 rn Fix msvc build problems. Fix bacula.dll exports for msvc build.
1295 Fix path quoting in SQLite scripts.
1296 Fix problems with SHGetFolderPath.
1298 kes Create patches/2.0.1-restart.patch. Fixes bug #755.
1300 kes Fix Job restart on error bug that promotes an Inc to a Full
1301 backup. This should fix bug #755.
1302 kes Add qt-console and first cut of code.
1306 Kern;;;2007/1/13;;;14:30
1308 Bacula Version 2.0.1 has been released to Source Forge.
1309 This is bug fix update to version 2.0.0 and contains
1310 the following fixes:
1312 - Fix Bacula->Documentation link on Win32 to point to index.html
1313 instead of bacula.html. Fixed bug #750.
1314 - Return JobId in db_get_job_record() when JobId==0. This should
1316 - Do not release source pointers when restarting a failed job.
1317 - Add dynamic dll entry point for SHGetFolderPath to Win32 code.
1318 This *should* fix bug #747.
1319 - Modify winbacula.nsi to substitute with g bin_dir_cmd. Should fix
1321 - Modify USTORE constructor to set an empty store_source string,
1322 and don't copy the store_source string in a cancel. Hopefully
1323 this will fix Arno's seg fault, bug #744.
1324 - Add back code to disable conio in configure. Fixes bug #743.
1325 - Correct the Options scanner in the FD to correctly handle
1326 SHA1 option, which was eating the next option. Reported by
1328 - Add code to indicate when the SD is spooling, spool wait, and
1329 despooling as requested by Alan Brown.
1333 Kern;;;2007/1/4;;;14:30
1335 Bacula Version 2.0.0 has been released to Source Forge.
1337 There is an English Press Kit, written by Dan Langille at:
1339 http://www.bacula.org/about/press/presskit200.html.en
1341 and a German version, translated by Arno Lehmann at:
1343 http://www.bacula.org/about/press/presskit200.html.de
1347 Kern;;;2007/1/4;;;14:31
1349 Release Notes for Bacula 2.0.0
1351 Bacula code: Total files = 438 Total lines = 154,329 (*.h *.c *.in)
1353 ==== IMPORTANT Catalog update required =====
1354 - The database format has been updated from what was used in
1355 Bacula 1.38.x. You must manually update your database before
1356 running Bacula 1.39.x or higher. If you are using Bacula supplied
1357 RPMs this is not necessary as the RPM does it automatically.
1358 Please backup your previous version of the database before
1359 running the update. The update script will be automatically
1360 installed in your scripts directory, or can also be found in
1361 <bacula-source>/src/cats. It is called:
1363 ./update_bacula_tables
1365 It is necessary to run it only once the first time you move to
1366 a 2.0.0. Upgrading the Bacula version thereafter does not
1367 require updating the database again. Depending on the size of
1368 your database the script make take a bit of time, to run, but
1369 in general, it should be very fast.
1371 ==== IMPORTANT new Win32 install procedure =====
1372 For Win32 migrations from versions prior to 1.39.0 nothing special
1373 needs to be done to upgrade. Everything should be taken care of
1374 automatically. The only thing not done is to delete the old C:\bacula
1375 directory mostly out of paranoia.
1377 ==== IMPORTANT miscellaneous ====
1378 - The Gnome console program (gconsole) no longer functions as it
1379 should.More importantly, in restore mode, the restore tree is
1380 no longer shown in the left pane. I suspect this is due to
1381 incompatible changes in the GTK+ API, and hence have given up
1382 on gnome and gtk+, as this has already happened several times
1383 previously. At some point there will be a new GUI console.
1384 - The bacula-dir.conf directive Accept Any Volume has been
1385 removed because it was never implemented. You must delete all
1386 occurrence of this directive for the Director to run. The Storage
1387 daemon will automatically accept any valid Volume that you mount.
1388 - The --mandir ./configure option now points to the top level man
1389 directory. The man files will be installed under mandir/man8 and
1390 mandir/man1 as appropriate.
1391 - You *should* be able to use 1.38.x FDs with version 2.0.0 Director
1392 and SD providing you do not use any of the new features (runscript,
1393 data encryption). It seems to work here, but we do not guarantee it.
1394 - Your Director and SD must be simultaneously upgraded.
1395 - The restore command no longer uses the MediaType as the primary method
1396 of finding a suitable Storage device. Normally it will select the last
1397 device used to write a Volume. If no storage device is defined, it
1398 will use the old algorithm which selects the first Storage resource
1399 with the correct MediaType.
1400 - The MD5/SHA1 hash codes kept in the database are now kept in a binary
1401 format compatible with the rest of the world. If you are running verify
1402 jobs, you *must* do an InitCatalog or all files will show an MD5
1403 difference. Also, authentication uses the new algorithm by
1404 default, but *should* accept connections from older components (FD) using
1405 the old non-compatible algorithm. This has been tested, but more
1406 more testing is still needed.
1407 - A stock SuSE 10.1 kernel may crash when Bacula runs and accesses
1408 the tape drive. Workaround, load the SuSE 10.1 version 2.6.16.21-0.25
1409 kernel or later. The SuSE 10.2 Alpha 5 or later kernel also works.
1410 This problem may also be present in certain Fedora FC5 kernels.
1411 - If you have been using the data encryption feature of 1.39.x, please
1412 be aware that certain combinations of encryption and other options
1413 with version 1.39.0 through 1.39.26 created Volume data that cannot
1414 be restored. We strongly recommend that anyone using encryption
1415 carefully review his/her backups and at a minium do a Full backup
1416 with 1.39.28 of all encrypted data. Robert Nelson has identified
1417 and fixed it as follows:
1419 No filters = Works fine
1421 Compression = Works fine
1422 Encryption = Works fine
1423 Sparse + Compression = Works fine
1425 Sparse + Encryption = Restore broken
1426 Sparse + Compression + Encryption = Restore broken
1427 Compression + Encryption = Restore broken
1430 Most combinations work, but some encrypted files are
1431 not properly restored.
1434 All combinations work fine except Sparse+Encryption.
1436 Bottom line, if you are using data encryption, please test restoring
1437 data to be sure it all works correctly.
1438 - The current Volume format written by 1.39.22 is different from
1439 the format written by previous versions. The two formats
1440 are not compatible. Thus any DVDs written prior to 1.39.22 will
1441 be unreadable by version 1.39.22.
1442 - If you previously run a Bacula version prior to 1.39.30, the JobMedia
1443 data may not be correct for disk Volumes. This can cause incorrect
1444 seeking in versions after 1.39.30. If you experience what appears to
1445 be data I/O or integrity errors during restores, please add the
1446 following directive to your disk DEVICE resource in the Storage
1449 Block Positioning = no
1451 This will turn off all seek requests during restores and avoid
1453 - VSS for Windows clients is now enabled by default.
1454 - Do not unload autochanger when doing "update slots"
1455 - Implement mount command for autochanger, see manual.
1457 New Features in 2.0.0:
1458 - Turn on disk seek code for restores.
1459 - There is a partial but reasonable translation of the Bacula
1460 messages for French. To install it, first configure and build
1461 Bacula, then as root run:
1463 cd <bacula-source>/po
1466 If you have your locale set properly you will get the translated
1468 - Bacula now support Migration jobs that are documented in a new
1469 Migration chapter in the manual
1470 http://www.bacula.org/dev-manual/Migration.html
1471 - Data encryption is now implemented and is documented in
1472 a new chapter of the manual at:
1473 http://www.bacula.org/dev-manual/Bacula_Data_Encryption.html
1474 - Additional support for removable devices. See the
1475 Requires Mount, Mount Point, Mount Command, and Unmount
1476 Commands in the Storage daemon configuration chapter:
1477 http://www.bacula.org/dev-manual/Storage_Daemon_Configuratio.html
1478 Also see the Edit Codes for Mount and Unmount Directives in the
1480 - Switch the Win32 build from using Microsoft C++ to using mingw32
1481 cross-compiling. The initial work was done by Howard Thomson,
1482 then tweaked by me. Robert Nelson then totally reworked the
1483 cross-compiling code so that it not only cross-compiles, but
1484 also compiles on Visual Studio, and at the same time, he added
1485 all the current Unix features to the FD, such as selection on
1486 drives, encryption support, building *all* the tools, ...
1487 - The Director and Storage daemon have now been ported to Win32.
1488 This code is working but should still be tested carefully
1489 before putting into production.
1490 - Bacula restore and bextract can now extract non-portable Win32 data to
1491 any client (including Unix/Linux clients). Of course, in doing so,
1492 the Microsoft specific permissions and ACLs will be lost. Thanks
1493 to Thorsten Engel for this code.
1494 - The 260 character limitation for Win32 paths name lengths is now
1495 eliminated thanks to Thorsten Engel. However, if you are using
1496 Volume Shadow Copy, please be careful to specify all the paths
1497 in the bacula-fd.conf file using a full path notation including
1499 - Eric Bollengier wrote new RunScript directives that includes
1500 the old RunBefore/AfterJob and ClientRunBefore/AfterJob features
1501 plus a *lot* more, allowing you to control just about every aspect
1502 of running scripts. See the manual for detailed documentation.
1503 http://www.bacula.org/dev-manual/Configuring_Director.html#5227
1504 - SunOS ACLs should now work thanks to a patch from David Duchscher.
1505 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
1506 If this patch is applied, the number of days can be specified with
1507 "list nextvol days=xx"
1509 "status dir days=xx"
1510 This can be used to preview the next scheduled job (and the
1511 next tape to be used) on Fridays if there are no scheduled jobs during
1513 - From Eric Bollengier. One can now using the bconsole wait command do:
1514 wait (wait for all jobs to stop)
1516 wait jobuid=unique id
1518 - Volumes can now be set to Enable, Disable, or Archive. If they
1519 are not enabled, Volumes will not be mounted.
1520 Implement update volume enable=(on|off|true|false|archived|0|1|2)
1521 - Add Catalog message destination in Messages resource that puts the
1522 job report in the Log database table.
1523 - Writing/reading DVD Volumes is much more stable -- to the point
1524 of being useful. Thanks to Richard Mortimer.
1525 - Add enable/disable job=<job-name>. This command prevents
1526 the specified job from being scheduled. Even when disabled,
1527 the job can be manually started from the console.
1528 - The database Id records should be 32/64 bit independent now. 64 bits
1529 can be enabled by changing one define and changing the appropriate
1530 table variable. Normally, you need 64 bits only for FileId.
1531 - Relative path specifications (i.e. ../xxx) are now permitted in
1532 the restore cd command.
1533 - When running multiple simultaneous jobs, most jobs that use spooling
1534 will now finish faster due to a mutex optimization made by Eric
1536 - Conf files containing UTF-8 marker at the head of the file as well as
1537 conf files containing Window cr/lf and Mac cr line termination characters
1538 are now accepted thanks to Robert Nelson.
1539 - Windows tray status windows are scrollable and resizable.
1540 - Win32 external script execution is much more flexible -- handles
1541 spaces in names better, ...
1542 - Lots of DVD fixes -- writing DVDs is now reported to work.
1543 - Fix opening of database in a restricted console to respect
1545 - Much better automatic handling of multiple database catalogs in
1546 the restore command.
1547 - Permit multiple console/director resources in bconsole.conf.
1548 patch from Carsten Paeth calle@calle.in-berlin.de
1549 - Character substitution in Job/JobDefs WriteBootStrap.
1550 from Eric Bollengier.
1551 - Apply patch supplied in bug #656 to pass priority field
1552 in the run dialog to the Director in gnome console.
1553 - Add support of encrypted data stream to bscan from Eric.
1554 display data_len instead of data content (may be binary).
1555 - Add Enabled=xxx on update slots command.
1556 - Add host:port to connect failure messages to FD and SD from Dir/
1557 - Add WhereACL to console ACL list. If nothing is specified, only
1558 the default is permitted for restore. Otherwise, *all* allows any
1559 path, or you can specify permitted paths. This should allow control
1560 over where users can restore files. This is untested.
1561 - Install man pages with 'make install'.
1562 - Add Media.Enabled flag to client backups for dotcmds.c
1563 - Enforce Media.Enabled=1 for a current restore to work
1564 - Require restore case 3 to have sqlquery permission to work.
1565 - Add -n option to bconsole to turn off conio -- used in bweb.
1566 - The bytes field in the terminated jobs part of the status
1567 command now reports in KB, MB, ... units.
1568 - When not descending into a directory, print the File= name that
1569 triggered it -- makes why not descending a bit clearer
1570 - Do not unload autochanger when doing "update slots"
1571 - Implement mount command for autochanger
1572 - Fix bug #462 incorrect error message printed when client script called
1573 from File= was not found.
1574 - Fix bug #558 (waiting for feedback) where Bacula needs too much time to
1575 do a rewind on Solaris when no tape is in the drive (Solaris does not
1576 have the detailed errno found on Linux). Added Solaris specific code.
1577 Note, this may apply to other OSes as well.
1578 - The examples directory has a new bacula_mail_summary.sh file that
1579 creates a single email summary of any number of jobs. Submitted by
1581 - Add nagios plugin to the examples directory. Submitted by
1583 - Modify most restore error messages to be queued so that they
1584 appear at the end of the job rather than mixed with the restore
1585 listing where they could be "lost".
1586 - Apply patch supplied by user (slightly modified) to fix
1587 correct detection of holes in block devices and FIFOs.
1589 - Added a report.pl program to the examples directory from Jonas Bjorklund.
1590 - Add two new queries to query.sql provided by Arno. One
1591 list volumes known to the Storage device, and the other
1592 lists volumes possibly needing replacement (error, ...).
1593 - Implement new code for changing userid and group at startup. This
1594 should get Bacula into the correct groups.
1595 - Implement support for removable filesystems -- device type directive
1596 and mount, unmount directives.
1597 - Transfer rates are now presented in a more readable format thanks
1598 to a user submission.
1599 - SD is now aware of what volumes are mounted. More information is printed
1600 in the Status report. You must take much more care now to unmount
1601 devices prior to removing tapes that Bacula has open or prior to
1602 changing a magazine. Don't forget to do a mount afterwards or the
1603 device will be blocked.
1604 - The Pool Maximum Volumes directive is now respected in all places.
1605 - A Storage device can now be specified in a Pool resource. It will override
1606 all other Storage specifications.
1607 - Most but not all directives accept true/false in place of yes/no.
1608 - A patch from Karl Hakimian that reads JobIds, FileIndexes
1609 from a database table for restore.
1610 - There are a number of new tables. Some such as the Location table are
1611 designed for user use in doing Volume Management software.
1612 - Maximum Changer Wait, Maximum Open Wait, Maximum Rewind Wait to
1613 accept time qualifiers.
1614 - Implement jobuid to replace old usage of job in keywords as
1615 suggested by Eric Bollengier.
1616 - Implement write variables for Python to set Priority (anytime), and
1617 Job Level, only during JobInit event.
1618 - Use the keyword ujobid to mean the unique job id; job or jobname
1619 to mean the Job name given on the Name directive, and jobid to
1620 be the numeric (non-unique) job id.
1621 - Allow the SD to use multiple drives during a backup/restore (only
1623 - Integrate addition of line count limitation to bsmtp -l from
1624 Sebastian Stark <stark at tuebingen.mpg.de>
1625 - Split the bacula start/start script into four files:
1626 bacula -- starts and stops calling other scripts
1627 bacula-ctl-dir -- starts/stops the director
1628 bacula-ctl-fd -- starts/stops the File daemon
1629 bacula-ctl-sd -- starts/stops the Storage daemon
1630 - Remove automatic case folding on Windows FDs. You must
1631 explicitly use the 'Ignore Case = yes' option.
1632 - Implement wild program in tools directory for testing
1633 wild-cards. Almost identical to the regex program.
1634 - Use the new bregex.c to implement Regex expressions on Win32.
1635 - Apply patch from Christopher Hull
1636 - Allow multiple connections to database with different
1638 - Invalidate the scheduler when doing a reload. Fixes seg
1639 fault, but still 60 second window.
1640 - Additional info in Reschedule message.
1641 - Use set_jcr_job_status() everywhere to prevent loss of
1643 - Display peer IP in FD if error from connecting DIR.
1644 - Don't increment file count for DIRBEGIN.
1645 - Replace illegal characters in Win32 filename by _.
1646 - Add SE_CREATE_PERMANENT_NAME privilege in Win32.
1647 - Hash hard link filenames rather than linked list (performance).
1648 - Fix for security failure in chdir on Win32.
1649 - Add CreateDirectoryA/W win32 API entry points.
1650 - programs to duplicate Bacula's base64 algorithm using standard
1651 routines. This fixes bugs #296, and 565. Patch submitted by
1653 - Fixes to reloading the Dir conf file from Eric Bollengier and Christopher
1655 - Modify LICENSE to correct some problems pointed out by Debian.
1656 - Apply a patch submitted by cesarb in bug #606 to implement O_NOATIME support.
1657 O_NOATIME is a open() flag which makes it possible to read a file without
1658 updating the inode atime (and also without the inode ctime update which
1659 happens if you try to set the atime back to its previous value). It also
1660 prevents a race condition when two programs are reading the same file, but
1661 only one does not want to change the atime. It's most useful for backup
1662 programs and file integrity checkers (and bacula can fit on both
1664 You enable it in the Bacula FileSet Options resource by setting:
1666 The effect of this option is similar to the keepatime option except
1667 it is more efficient and avoids modifying ctime.
1668 - Implement a pile of new man pages contributed by Jose Tallon.
1669 - Modify the database format for handling Migration jobs:
1670 Add PriorJobId, RealEndTime to Job table
1672 Remove Stripe from JobMedia record (not used, wasting space)
1673 Add ScratchPoolId, RecyclePoolId, Enabled to Media record
1674 Add Cost to Location table.
1675 Enabled to Media table and Location table.
1676 - Security: harden authentication failure in FD by single threading errors
1677 and forcing a 6 second wait.
1678 - If using GCC (actually g++) add the following compiler flags
1679 -fno-strict-aliasing -fno-exceptions -fno-rtti
1680 - Turn on new bsnprintf() code. The reason for this code is to
1681 eliminate the security problems associated with using the
1682 system libraries print routines.
1683 - Implement job report that indicates where Storage and Pool
1684 came from -- with overrides and Pool storage and NextPool,
1685 it is all very complicated.
1686 - Add more detail (Storage, Device) to list of volumes printed
1688 - Add new VOLMGMT message class. No messages are yet sent with this
1690 - Improved Bacula rescue procedures -- see the Disaster Recovery
1691 chapter of the manual
1692 - Add spooling/despooling info in status output of SD.
1693 - Add Comment field to llist of a volume.
1694 - Allow true/false in many but not all yes/no directives.
1695 - The Bacula source code is now copyrighted by the Free Software
1696 Foundation Europe. The Developer's Guide documents the new procedures,
1697 and the LICENSE file has been updated.
1698 - Apply Jaime Ventura's patch that implements the Messages resource
1699 Mail On Success directive.
1700 - The Client returns its Version string, which is printed in the Job
1702 - The Client returns whether or not VSS and Encryption are used, which
1703 are printed in the Job report.
1705 Additional Features Added for Win32:
1706 - Added DriveType directive to the Director's Include Option FileSet
1707 resource. Allowed values are: fixed, removable, cdrom, and remote. There
1708 is only an implementation for Windows because it is the only platform that
1709 has the concept of drives.
1711 - Adds EnhancedWild directive to the Director's Include Option FileSet
1712 resource. Allowed values are: yes and no.
1714 When EnhancedWild is enabled then the processing of the
1715 Wild, WildDir and WildFile is changed in the following ways.
1717 Patterns conform to Posix
1718 \ is not a special character in character classification []
1719 To match a - it must be the first or last character
1720 To match a ] it must be the first character
1722 fnmatch option FNM_FILE_NAME is specified * doesn't match a /
1723 so it won't match multiple directory levels in a path
1725 - Relative WildFile patterns (ones without a leading /) match
1726 against the filename portion. This in combination with the
1727 FNM_FILE_NAME fnmatch() flag makes directives such as WildFile =
1728 abc*.def work as expected.
1730 - Adds support for the shell's feature of brace expansion.
1732 Here is an example where braces allow 24 lines to be expressed in 5.
1734 # Exclude directories full of lots and lots of useless little files
1735 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Cookies"
1736 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Recent"
1737 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/History"
1738 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temp"
1739 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temporary Internet Files"