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