1 Kern;;;03 Nobember 2008 at 17:35
2 Critical 2.4.3-orphaned-jobs.patch released
3 We recently found and corrected a serious bug in Bacula that causes jobs to be
4 orphaned or "stuck" in the director during the pruning process. Depending on
5 what jobs get stuck and how many there are, it could prevent additional jobs
6 from running. As best we can tell, this problem occurs only during what could
7 be called extreme pruning conditions -- i.e. there are insufficient Volumes
8 available for normal operations.
10 In any case, we recommend that everyone apply the 2.4.3-orphaned-jobs.patch,
11 which you can find in the bacula-patches section of the Source Forge download
12 area as well as in the directory patches of both the trunk and Branch-2.4 SVN.
15 Kern;;;12 October 2008 at 10:30am
16 Creation of Bacula Systems SA
17 Dear Members of the Bacula Community,
19 I'm pleased to announce the creation of Bacula Systems S.A., a new company to
20 provide professional support and service for Bacula. I believe you will be
21 pleased to see how we have married a strong commitment to the ethos of honest
22 open source software with the availability of services desired by a wide
23 range of Bacula users.
25 As many of you know, I began work on Bacula in 2000 and released the first
26 public version in April 2002 to Source Forge. Although I have personally
27 written a very substantial part of the code, I offer sincere thanks to the
28 many members of the community who have provided ideas, fixes, testing, and
29 contributions of code, without which Bacula would not be what it is today.
30 It has been a labor of love and I am pleased that so many people have found
33 Before telling you more about Bacula Systems, let me reiterate my unfaltering,
34 ongoing commitment to open source software and the Bacula open source
35 project. The code for Bacula and all future releases will remain available as
36 free open source software under the GPL license that I transferred to the
37 protection of the Free Software Foundation of Europe. Unlike some other open
38 source projects, there will be no separate "enterprise" or proprietary
39 version of the Bacula source code. www.bacula.org will continue to be the
40 home for Bacula project development.
42 So, why create Bacula Systems? The company was created to respond to requests
43 from users who want professional support with guaranteed levels of service
44 and response times. To ensure continuity and the highest level of knowledge
45 transfer, I will take the position of Chairman of the Board and Chief
46 Technical Officer of Bacula Systems S.A..
48 Several members of the Bacula community have joined me to start the company.
49 The other team members are also strongly dedicated to the spirit of keeping
50 Bacula open and free while simultaneously offering commercial services to
51 those for whom it is essential in making the decision to deploy Bacula.
52 Bacula Systems is self-financed -- the initial capital comes from the
53 founders; no outside venture capital was sought or accepted. This means we
54 have the power to establish the company's priorities and we can remain
55 dedicated to "honest open source". Bacula Systems S.A. is a Swiss company
56 with offices in Yverdon-les-Bains, and with branches in France and Germany
57 initially. We will open additional branches as business requires.
59 I will continue to support development of Bacula via bacula.org and the Bacula
60 community. Future developments will be in the "community" code base which
61 will remain free. Bacula Systems will offer "funded development" to
62 customers who wish to accelerate the addition of certain features to Bacula.
63 Code developed this way will be contributed to the free distribution and will
64 be available to the entire community at no charge. Bacula Systems will
65 provide additional fee-based services, including high quality consulting,
66 training, documentation and certified binaries.
68 Our goal in establishing Bacula Systems is to be inclusive of the community,
69 and expand it by creating opportunities for members of the Bacula community
70 through a well-defined Partner Program. If you provide IT services or
71 consulting, the Bacula Systems Partner Program can provide you with the
72 additional back-up (pardon the pun) support you need to serve your customers
75 Our plan is to develop an international network of partners who offer high
76 value added services to Bacula users -- installing, configuring and optimizing
77 Bacula for their customers, as well as Level 3 and 4 support, with guaranteed
78 service levels. We will also provide training and tools to our partners.
80 The Bacula project website, www.bacula.org, and Source Forge will be unchanged
81 in the mission and ideals of being free sources of information, mail lists
82 and forum-based support for and by the community. Both Bacula source code and
83 Bacula binaries will continue to be available for free, as in the past, and
84 new releases will also be available for free. The new commercial website,
85 www.baculasystems.com will provide information on commercial subscriptions
86 for those users who want guaranteed levels of service, support, documentation
87 and certified binaries.
89 All members of the Bacula community are encouraged to register for free at
90 www.baculasystems.com, so that you will receive announcements and news about
91 our commercial activities, and so that you can send feedback to our new
92 company, Bacula Systems.
94 Thank you for your interest and participation in the Bacula community.
101 Kern;;;11 October 2008 at 11:30am
102 Bacula version 2.4.3 Released
103 This is to let you know that the source tar files and the Win32 binaries for
104 Bacula version 2.4.3 have been released to the Bacula Source Forge download
108 This is a bug fix to version 2.4.2. All daemons are compatible
109 with other 2.4.x versions.
112 1159, 1162. 1149, 1128, 1143, 1140, 1129
115 - Apply 2.4.2-cancel-non-running-jobs.patch to be able to cancel
116 a non created job faster.
117 - This should correct bug #1159 where Migration does not properly
118 respect the Migration Low Bytes directive.
119 - Fix typo in configure.in that breaks --with-db-password option
120 - This code should fix the race condition that leads to a Director
121 crash at job end time when the job list is updated. This was reported
123 - Remove all double quotes from SQLite creating script and
124 replace by single quotes as suggested by John Huttley.
125 - Fix SQL case problem that may cause the failure of DiskToCatalog
127 - Copy missing storage name into edit buffer. As far as I can tell
128 this never caused a bug.
129 - Remove catalog dependency for bcopy
130 - Modify catalog scripts to have an easier packaging integration,
131 using default variables.
132 Make difference between SQLite3 and SQLite in db_get_type()
133 - Attempt to fix bug #1128 InChanger flag cleared during Migration
134 job when reading from one autochanger and writing to another.
135 - Add more information to SD acquire.c INFO messages.
136 - Fix NULL Volume name error when reading and the drive must
138 - Fix a Verify InitCatalog problem where in certain cases
139 a garbage filename may be entered in the verification database. This
141 - Add space after version before date in bat about dialog.
142 - Fix seg fault in Dir during estimate command with no level value
143 given. This fixes bug #1140.
144 - Add message to migration job when the target job is already migrated.
145 This closes bug #1129.
147 Unless some really serious new bug shows up, this will be the last release
148 until the next major version (3.0.0), which we hope will be ready around the
152 Kern;;;26 July 2008 at 10:30am
153 Bacula version 2.4.2 Released
154 This is to inform you that we have released the source and Win32 binaries of
155 Bacula version 2.4.2 to the Bacula Source Forge download area.
157 This is an important bug fix release since version 2.4.1.
160 1034, 1125, 1118, 1124, 1107, 1129, 1126
164 - When a migration job actually runs, re-check the Job record
165 and skip if the job is already migrated. This should
166 significantly reduce the problems with bug #1129.
167 - Break the do_swapping into do_unload, do_swapping, and
168 do_load. It is much more logical that way.
169 - Implement a set_dcr_from_vol subroutine in acquire.c for
170 reading volumes. This allows the dcr to be refreshed after being
171 zapped when the wrong volume is mounted. This should fix bug #1126 -
172 - During multiple tape restore, bacula
173 does not ask for physical tape change, but rereads same tape
174 - Apply patch submitted for bug #1107 with a small modification.
175 This fixes a bug where bcopy copied too many records.
176 - Make some tweaks to bsmtp based on patch submitted in bug #1124.
177 This fixes bug #1124.
178 - Make the default bat restore Pool be Any. This fixes bug #1118.
179 - Fix bug #1125 which reports a SD crash at the end of a tape
180 during restore. It was a debug statement that should not be
182 - Fix #1034 by setting big timeout on mysql connections
183 - Do partial integration of the Win32 bat build created by Eric.
184 - Ensure that SD tried to mount a volume not in an autochanger
185 at least once before asking for operator intervention.
186 - Fix a pthreads bug in the Win32 pthreads emulation code affects only
187 version 2.5.x and above.
190 Kern;;;7 July 2008 at 10:30am
191 Bacula version 2.4.1 Released
192 This is to inform you that we have released the source and Win32 binaries of
193 Bacula version 2.4.1 to the Bacula Source Forge download area.
196 1103, 1100, 1105, 1094, 1109, 1106, 1101, 1102, 1112
200 - Clear in-use bit on vol when unused while swapping.
201 - Remove sleep at end of ./bacula
202 - Clear hash packet for hardlinked files correctly. This corrects
203 a long standing bug where hardlinked files selected individually
204 would occasionally not be restored.
205 - Apply Eric's patch to ensure that autoprune does not return
206 a Volume not in the autochanger unless requested to do so.
207 - Correct bat restore display of multiple drives. This fixes
209 - Do find_a_volume() each time an unload is done. This
210 fixes the failure of maxvol2-test.
211 - Use Qmsg() in job.c watchdog callback.
212 - Release main control rwlock if ABORTing.
213 - Make watchdog connect timeout queue messages rather than sending
214 directly to avoid lock conflicts with the real thread.
215 - Remove const char that causes problems with Python, which has
216 older 'incorrect' headers.
217 - Add const char in dbd.c to avoid compiler warnings.
218 - Fix mtx-changer to detect both versions of Ubuntu (Debian)
219 mt. This fixes bug #1116.
220 - Fix failure of 2drive-concurrent-test. Always read label;
221 clear_unload() only after drive is defined in acquire_for_read().
222 - Generally clean up the manual tape loading code. The main
223 conceptial change is that when a volume is marked to be unloaded,
224 its volume name is retained, and it is only marked as unloaded
225 when either the autoloader says it is unloaded or another tape
226 is read on that drive.
227 - Fix a recycling problem with two autochangers reported in bug
228 #1106. This may also (unlikely) fix a second recycling bug as
230 - Fix a SD lock volumes deadlock problem reported in bug #1100.
231 - Fix format problem in bscan output reported in bug #1105.
232 - Copy more data when restarting a job so that run
233 overrides are kept. This should fix bug #1094.
234 - Backport updates to jobq.c where possible.
235 - Fix bug where SD did not ask operator if the device could not
236 be opened. Reported by Eric.
237 - Add dbuser to DIR conf file (replaces user).
238 - Add --with-db-password to ./configure
239 - Fix regress to handle db_password.
240 - Fix a couple of pedantic compiler warnings.
241 - Fix bug when starting a restore on a storage that doesn't
242 have the requested MediaType.
243 - More work on word alignments -- eliminate all ints from
244 the configuration routines.
245 - Fix bug reported by Scott Barninger where the bacula script
246 refers to scripts in the wrong directory. Needed to meet the
247 requirements of recent FHS location changes.
248 - Fix word alignment problem on non-Intel 64 bit machines
249 such as Solaris. This should fix bug #1097 -- bus error in SD.
250 - Add missing win32/patches/wxWidgets.patch to 2.4 repository.
254 Kern;;;4 Jun 2008 at 10:30am
255 Bacula version 2.4.0 Released
256 This is to inform you that we have released the source and Win32 binaries of
257 Bacula version 2.4.0 to the Bacula Source Forge download area.
259 This release consists mainly of a number of bug fixes since 2.2.x
260 but most importantly, a rewrite of significant portions of the
261 Storage daemon reservation and autochanger code. This rewritten
262 code is simpler, more stable, and works much better, particularly
263 with multiple drive autochangers than the prior code did. That
264 said, there are still a number of issues to be resolved. Note,
265 the new code has not been tested in manual volume mount situations.
267 As usual, we strongly recommend when installing to keep the Director and the
268 Storage daemon on the same version. However, since this release only
269 contains refactored code and bug fixes rather than new features, the clients
270 (File daemons) should function perfectly with any 2.2.x version, and there is
271 no database upgrade needed.
273 =====================================================
275 Release Notes for Bacula 2.4.0
277 Bacula code: Total files = 500 Total lines = 188,654 (*.h *.c *.in)
279 This Director and Storage daemon must be upgraded at the same time,
280 but they should be compatible with all 2.0.x File daemons, unless you
281 use some of the new features that affect the FD. In other words, you should
282 not have to upgrade all your File daemons when you upgrade. There is
283 no database upgrade needed from version 2.0.x to 2.2.0 nor from version
284 2.2.x to version 2.4.0
286 ================== Warning !!!!!! ==========================
287 As of Version 2.4.0, the Win32 FD should not descend into
288 any reparse point directory or reparse mount points unless the
289 specified directory is explicitly mentioned at the top level of
290 FileSet (as with Unix). A file that is linked to another file will
291 be backed up, much like Unix hardlinked files. If you want
292 reparse directories backed up, you must explicitly include them
294 ======================================================
296 This release consists mainly of a number of bug fixes since 2.2.x
297 but most importantly, a rewrite of significant portions of the
298 Storage daemon reservation and autochanger code. This rewritten
299 code is simpler, more stable, and works much better, particularly
300 with multiple drive autochangers than the prior code did. That
301 said, there are still a number of issues to be resolved. Note,
302 the new code has not been tested in manual volume mount situations.
305 1095, 1086, 1091, 1070, 1041, 1083, 1078, 1066, 1068, 1038
306 1062, 1065, 1046, 1047, 1031
309 - You can now build bat without the QWT libraries. Use
310 --without-qwt as a ./configure option.
312 Release Version 2.4.0
313 - Update version to 2.4.0 to reflect the magnitude of the SD changes.
314 - Make sure to clear JS_WaitMedia when operator mounts a Volume.
315 This fixes bug #1095.
316 - Add create_postgresql_database.sql to Win32 installer. Should
317 fix problem reported by Juilio Monteiro.
318 - Get correct slot when auto unloading a device. This fixes bug
320 - Fix possible seg fault if SQL error.
321 - Fix renaming a Volume, which used the wrong Volume name.
322 - If operator has rewind tape, print warning, release tape and
323 try once more. If tape is positioned somewhere, something went
324 wrong, so mark the tape in error and try once more. Previously
325 this error was fatal, now it produces an error message.
326 - Ensure correct volume name displayed during restore
327 - Fix a few more Coverity reported problems.
328 - Fix #1091 about bad output in estimate command.
329 - Modify autochanger locking to attempt to avoid race
331 - Make sure device not busy before doing label command.
332 - Display open() errors except when polling. Previously too
333 many were suppressed. This should fix bug #1070.
334 - Fix Win32 reparse points. Bacula will not recurse into any
335 reparse point directory, including mount points, unless the
336 directory is explicitly mentioned at the top level (same as
337 with Unix). A file that is linked to another file will be
338 backed up -- much as Unix does for hardlinked files.
339 This fixes bug #1041.
340 - Remove StorageId test when pruning and recycling (Eric's changes).
341 - Fix buffer overruns detected by Coverity.
342 - Implement --without-qwt
343 - Fix layout of restore tree dialog
344 - Add configure bat QWT libraries, so that bat can be built
345 with or without the QWT libaries.
346 - Implement regression that explicitly tests swapping a Volume
347 from one drive to another.
348 - Enhance disk-changer to detect most error conditions.
349 - Fix SD code so that it properly swaps a Volume between drives.
350 This fixes bug #1083.
351 - Prevent a Volume that is being swapped from being freed from
352 the volume list. This will most likely fix, at least partially,
354 - Fix strippath so that it does not get a buffer overrun and crash FD.
355 This fixes bug #1078.
356 - Make inability to change owner/group when creating a dir only a
357 warning rather than an error.
358 - Fix SQL query in migration code
359 - Fix bat seg fault at termination.
360 - Add Bacula generated version to bat about box.
361 - Backport development stream SD reservation system changes.
362 - When wrong volume is mounted during read, unload_autochanger.
363 - Stop searching for Volumes in SD askdir if DIR returns the
364 same volume name twice in a row.
365 - Rework class structures for VOLRES, DCR, and DEVICE to make
366 the method names a bit more logical, and for more logically
367 handling the responsibilities.
368 - Remove redundant code in terminating the scheduler that just
369 causes a seg fault in many cases.
370 - Improve algorithm for detecting pre-reserved volume and
372 - Prevent volume from being released while being swapped.
373 - Refactor parts of stored/mount.c
374 - Add sanity checks for VolWriteTime and VolReadTime
375 - Take care of bad clock changes while computing VolWriteTime
376 and VolReadTime. This should fix or limit #1066
377 - Correct error string numbers in dird/catreq.c
378 - Restructure reserving, acquiring, and mounting volumes. Calls to
379 autochanger are deferred for mount.c -- simplifes the code.
380 - Do not prune any running job. It just fails the job.
381 - Lock the volumes when changing dev->reserved_device and marking
382 the volume unused otherwise the device can get reserved by
383 another job before the volume is released, thus blocking it.
384 - Correct some SD catalog request error messages.
385 - Turn off code in read_record that causes a seg fault in the SD
386 when reading past an EOS_LABEL.
387 - Turn off unloading the autochanger in reserve.c as it just
389 - Lock volumes when unreserving a device.
390 - Do not mark volume unused when recycling.
391 - Fix bug #1068 fixes a SD crash when using Virtual autochanger.
392 - Generate correct JobMedia records during spooling/despooling when
393 running concurrent jobs. Thanks to Tom Ivar Helbekkmo
394 <tih@hamartun.priv.no> for excellent analysis and testing.
395 - *Massive* commit of all fixes and back ports to create 2.2.9
396 Mostly SD reservations enhancements.
397 - Fix Win32 FD backup/restore memory leak due to improper termination
398 of BackupRead/Write. This fixes bug# 1038.
399 - Fixes a StorageId problem with volumes after migration.
400 - Implements autostart scripts for Debian
401 - Fix mtx-changer.in for broken Debian mt program.
402 - Apply doc fix from bug #1062.
403 - Resolve crash and improper restore wx-console Win32 restore
404 GUI. Fixes bug #1065.
405 - Update Win32 wxWidgets to latest version.
406 - Attempt to do correct handling of Win32 mount points. Should
408 - Add const to AIX prototype for initgroups()
409 - Fix to the JobMedia patch, which introduced a new problem.
410 - Fix creating first JobMedia record during Migration to include
411 proper index. This caused slow restores of migrated jobs.
412 - Fix bug #1047, do not strip paths on symbolic links.
413 - Set catalog backup database and user name from values specified on
414 the ./configure line.
415 - Apply patch to correct bug #1031, about wrong pool source information
419 Kern;;;27 Jan 2008 at 10:30am
420 Bacula version 2.2.8 Released
421 Bacula version 2.2.8 source tar files as well as the Win32
422 binaries are available in the bacula and Win32 release areas
423 of Source Forge. I have hidden the previous BETA release
425 Version 2.2.8 is a bug fix to version 2.2.7 and has a few
426 additional bugs fixed than the BETA 2.2.8 version previously
428 - It fixes bugs: 1036, 1033(doc), 1028, 1040, 1045(doc), 1030,
429 1042(partially), and possibly bugs 1018 and 1032.
430 Bugs 1018 and 1032 involve problems with multiple-drive autochangers,
431 and are difficult to reproduce.
432 See the ChangeLog for more details.
433 Note, if you previously loaded version 2.2.8 BETA, you will probably
434 want to upgrade, but it is not urgent ...
438 Kern;;;9 Jan 2008 at 20:30
439 Bacula version BETA 2.2.8 Released
440 Bacula version 2.2.8 source tar files as well as the Win32
441 binaries are available in the bacula-beta and
442 Win32-beta release areas of Source Forge
444 Version BETA 2.2.8 is a bug fix to version 2.2.7:
445 - It fixes bugs: 1036, 1033(doc), 1028, and possibly 1018 and 1032.
446 Bugs 1018 and 1032 involve problems with multiple-drive autochangers.
449 Kern;;;24 Dec 2007;;20:30
450 Bacula version 2.2.7 Released
451 Bacula version 2.2.7 source tar files as well as the Win32
452 binaries are available in the Bacula release area of Source Forge
454 Version 2.2.7 has several new features and several important bug fixes
456 - It fixes bugs: 1009, 1022, 1024, 1019, 1012, 1021, 1020
457 1007, 1008. For more details, please see the technotes-2.1 file.
458 - Fixed a seg fault reported by Frank Sweetser that depended on
459 exact path lengths, but the problem was in bsnprintf.c
460 - Double quoting include filenames (@xxx) in Bacula conf files is now
461 possible, thanks to a patch by Michael Stapelberg.
462 - You can pipe input to include filenames (@|prog) by using a vertical
463 bar, thanks to the above patch.
464 - A daylight savings time bug in the Win32 bsmpt was fixed by a patch from
466 - Marc Cousins submitted a patch that permits building the PostgreSQL
467 driver with version 8.3.
468 - The configure option --archivedir has been changed to --with-archivedir
470 Kern;;;9 Nov 2007;;15:25
471 Bacula version 2.2.6 Released
472 Bacula version 2.2.6 source tar files as well as the Win32
473 binaries are available in the Bacula release area of Source Forge.
475 This release is a minor fix upgrade to version 2.2.5,
476 and we recommend that all users upgrade when they can.
478 Version 2.2.6 is a minor bug fix realease to version 2.2.5
479 - It fixes bugs: #1003, 942, 982, 990(response only), 991,
481 - Fix bat crash wen it cannot connect to Director.
482 - Fix joblist failure bug in bat.
484 Kern;;;9 Oct 2007;;15:25
485 Bacula version 2.2.5 Released
486 Despite the fact that the Release Notes are rather short, the bug
487 fixes represent quite a lot of work:
489 Version 2.2.5 is a major bug fix release to version 2.2.4
490 - It fixes the following bugs: #961, 962, 963, 969, 968, 960,
491 964, (possibly 935 and 903), 953, 953, 967, 966, 965, 954,
492 957, 908, 958, and 955.
493 - It also improves listing performance problems in bat pointed
494 out by Chris Howells.
496 Kern;;;29 Sept 2007;;20:30
497 A serious data loss bug in Bacula version 2.2.4 found and fixed
499 This bug was very elusive and time consuming to track down. It
500 turned out to be a race condition that can lose the last one or
501 two blocks of a Job, which can happen in rare cases only when
502 running multiple simultaneous jobs when a volume fills and one
503 Job finishes receiving the last data from the FD and at the same
504 time a second job detects the end of the Volume. The bug was
505 introduced in version 2.0.0 and did not exist in version 1.38.x.
506 If the bug is triggered, the data is lost (not written to the
507 Volume), and it can occur for any backup job of any level under
508 the conditions noted above.
510 The bug is reported in the bugs database as bug #964, and just
511 this morning I found and tested a fix, which is attached as a patch
512 to the bug report. The patch (2.2.4-lost-block.patch) is also
513 uploaded to the bacula-patches 2.2.x release area. This bug may
514 also be part of the problems reported in bug #935 and possibly
517 Also in the bacula-patches 2.2.x area, you will find other
518 patches that fixes bugs #953, 966, 967, 965, 958, 908, and
519 955. Please refer to bugs.bacula.org for the details.
521 Though this bug quite serious (data loss), it should be rare.
522 However, we recommend everyone to apply the patch.
524 Kern;;;2007/9/14;;;14:30
525 Bacula version 2.2.4 Released
527 This version of Bacula is a minor bug release to version 2.2.3.
528 It contains the following fixes:
530 - Possible fix for authorization problems bug #953.
531 - Possible fix for bug #908.
532 - Add waits to multiple exit detection code to try to force pid
533 file to always be deleted.
534 - Restore good dev.tar.gz to rescue set appropriate binary property.
536 - Fix seg fault in error exit of acquire_for_read after unsuccessfully
537 trying to switch drives by checking for blocking before unblocking.
539 - Cancel storage daemon in all cases where FD reports error. This
540 should fix virtually all cases of bug #920 and will ensure that Devices
541 are released as soon as possible.
542 - Fix error message that was clobbered when Dir tells SD it does not
543 have write permission on Volume. This should fix a minor point
544 in bug #942, but not the main problem.
545 - Fix migration code to get correct Volume name with multiple volumes
546 by skipping |. Fixes bug #936.
547 - Implement patch supplied by Landon to fix bug #944 where using
548 TLS with bconsole uses 99+% of the CPU.
549 - Fix bug #946 about "bacula-dir -t" which doesn't works
551 - Using "m" in bconsole will show messages as in prior versions
552 and not memory usage.
554 - Note, you need GTK >= 2.10 to be able to link the Tray Monitor
557 Kern;;;2007/9/9;;;14:30
558 I regret to announce that there is a rather serious bug in Bacula.
560 Bacula bug #935 reports that during a restore, a large number of files are
561 missing and thus not restored. This is really quite surprising because we
562 have a fairly extensive regression test suite that explicitly tests for this
563 kind of problem many times.
565 Despite our testing, there is indeed a bug in Bacula that has the following
568 1. It happens only when multiple simultaneous Jobs are run (regardless of
569 whether or not data spooling is enabled), and happens only when the
570 Storage daemon is changing from one Volume to another -- i.e. the
571 backups span multiple volumes, and it only happens for Jobs writing
574 2. It has only been observed on disk based backup, but not on tape.
576 3. Under the right circumstances (timing), it could and probably does happen
579 4. It seems to be timing dependent, and requires multiple clients to
580 reproduce, although under the right circumstances, it should be reproducible
581 with a single client doing multiple simultaneous backups.
583 5. Analysis indicates that it happens most often when the clients are slow
584 (e.g. doing Incremental backups).
586 6. It has been verified to exist in versions 2.0.x and 2.2.x.
588 7. It should also be in version 1.38, but could not be reproduced in testing,
589 perhaps due to timing considerations or the fact that the test FD daemons
592 8. The data is correctly stored on the Volume, but incorrect index (JobMedia)
593 records are stored in the database. (the JobMedia record generated during
594 the Volume change contains the index of the new Volume rather than the
595 previous Volume). This will be described in more detail below.
597 9. You can prevent the problem from occurring by either turning off multiple
598 simultaneous Jobs or by ensuring that while running multiple simultaneous
599 Jobs that those Jobs do not span Volumes. E.g. you could manually mark
600 Volumes as full when they are sufficiently large.
602 10. If you are not running multiple simultaneous Jobs, you will not be
603 affected by this bug.
605 11. If you are running multiple simultaneous Jobs to tapes, I believe there is
606 a reasonable probability that this problem could show up when Jobs are split
609 12. If you are running multiple simultaneous Jobs to disks, I believe there is
610 a high probability that this problem will show up when Jobs are split across
613 13. The bug concerns only the Storage daemon so there is no need to update
614 the clients, though I do recommend updating the Director when installing
615 an updated Storage daemon.
617 I have uploaded patches to bug #935 (bugs.bacula.org) that will correct
618 version 2.2.0, 2.2.1, and 2.2.2. The patch has been tested only on version
619 2.2.2 and passes all regression tests as well as the specific test that
620 reproduced the problem.
622 The patch has now been confirmed to fix the problem reported, and Bacula
623 version 2.2.3 has been released to Source Forge.
625 For the technical details of the bug, please see:
627 http://www.bacula.org/downloads/bug-935.txt
631 Kern;;;2007/8/11;;;14:30
633 Bacula Version 2.2.0 has been released to Source Forge.
635 Release Notes for Bacula 2.2.0
637 Bacula code: Total files = 520 Total lines = 195,550 (*.h *.c *.in)
638 82 new files, 41,221 new lines of code, 208,380 lines of change from 2.0.3
640 This Director and Storage daemon must be upgraded at the same time,
641 but they should be compatible with all 2.0.x File daemons, unless you
642 use some of the new features that affect the FD. In other words, you should
643 not have to upgrade all your File daemons when you upgrade. There is
644 no database upgrade needed from version 2.0.x to 2.2.0.
646 Areas requiring caution or testing:
647 - You must have the thread safe version of MySQL client libraries loaded
648 to build with MySQL enabled.
649 - Volumes are pruned only when absolutely necessary -- this may cause
650 your database to grow compared to prior Bacula versions.
651 - Solaris door and even port files are no longer restored (equivalent
652 to what we do with sockets).
653 - SQLite is no longer supported for Solaris -- it fails too often with
654 bus errors. SQLite3 should work on Solaris.
655 - The default setting for SQLite3 is now 'PRAGMA synchronous=OFF'.
656 This makes it run 30 times faster, but increases the possiblity
657 of a corrupted database if your server shuts down unexpectedly.
658 The default behavior can be changed in src/version.h
659 - Restore on Win32, and in particular on Vista is untested. Please
660 test before relying on it. It should backup and restore reparse
662 - Win32 servers are untested, and very likely not to work.
664 The major new features are:
665 - Much faster insertion of attributes (somewhere around 10 times),
666 many thanks to Eric Bollengier and Marc Cousin.
667 - First release of bat (Bacula Administration Tool). Note to build
668 bat you must explicitly enable it on the ./configure line, you
669 must have the Qt4 version 4.2 or later libraries loaded, the qwt
670 (Qt Graphics) package loaded, and qmake and the other Qt4 tools
671 must be available. Most of the implementation was done by Dirk Bartley.
672 - Red/Black restore in memory tree (500 times faster loading).
673 - The Regex Where code to allow easier relocation of restored files
675 - Socket level heartbeat for all connections (untested).
676 - posix_fadvise() use in the FD to improve performance reduces
677 swapping due to opening/reading lots of files. Win32 equivalent
679 - Much improved Volume reservation code that should eliminate most
680 conflicts experienced in multiple drive autochangers.
681 - Simpler locking in the SD in the reservation system.
682 - Detection of file size/date change during backup if enabled.
683 - New Recycle Pool feature -- thanks to Eric.
684 - Efficient implementation of very large include/exclude lists.
685 - Volumes are no longer pruned during 'status dir'
686 - Pruning is now more efficient, and if a Volume is purged,
687 during pruning, it is immediately discovered.
688 - License is now GPL v2 without modifications, fix a few copyright
689 mistakes made when adding FSFE copyright notice.
691 New ./configure options:
692 - --enable-bwx-console
697 - --enable-batch-insert
699 New bconsole commands:
705 - .pwd (in restore tree)
706 - restoreclient (keyword)
707 - backupclient (keyword)
708 - regexwhere (keyword)
709 - update jobid (new command)
710 - recyclepool (keyword)
713 - Heartbeat Interval (bconsole.conf)
714 - Heartbeat Interval (bacula-dir.conf in Director, Client, Storage)
715 - TLS Allowed CN (bacula-dir.conf in Client)
716 - Regex Where (bacula-dir.conf in Job)
717 - Strip Prefix (bacula-dir.conf in Job)
718 - Add Prefix (bacula-dir.conf in Job)
719 - Add Suffex (bacula-dir.conf in Job)
720 - Recycle Pool (bacula-dir.conf in Pool)
721 - FailJobOnError (bacula-dir.conf in RunScript)
722 - CheckFileChanges (bacula-dir.conf in FileSet)
723 - StripPath (bacula-dir.conf in FileSet)
725 Other features or bug fixes:
726 - Fixed bugs: 916, 910, 917, 914, 906, 907,
727 842, 830, 893, 861, 888, 886, 807, 877, 872
728 885, 887, 864, 874, 882, 881, 863, 859,
729 856, 854, 845, 847, 846, 809, 772,
730 822, 825, 824, 808, 802, 797, 798, 795, 789, 791,
731 788, 780, 763, 782, 612, 767, 775, 621, 772, 764,
732 766, 621, 761, 755, 750, 741, 747, 742, 744, and 743.
733 - Configure bat with --enable-bat. Define qwt libraries with
734 --with-qwt=<dir>. See Installation chapter of manual for details.
735 - Create a depkgs-qt package that has both Qt4 and qwt, which are
736 needed to build bat. Most modern Linux systems will have both
737 these packages in the distro.
738 - Storage overrides delete all previous storage definitions instead
740 - One should be able to mount and unmount removable devices if the
741 Device resource has Removeable Media set and the mount and unmount
742 directives are defined.
743 - ./configure will do a better job of searching for qwt libraries.
744 - The Win32 version can no longer be shutdown from the tray monitor.
745 Use the command line or the Services panne.
746 - Keep prune_volumes() from pruning the whole Scratch pool.
747 - More debug output in status storage.
748 - Correct moving a Scratch volume from pool to pool (some
749 critical columns were lost).
750 - Different locking in reservations and despooling systems,
751 which means more micro-locking and less macro-locking, which
752 should give a lot more concurrency at the expense of slightly
753 (<0.1%) more overhead due to more locking/unlocking, but
754 concurrent jobs should run much faster.
755 - Additional drive reservation algorithm that should solve a lot of
756 the problems experienced with multiple drive autochangers.
757 - Storage daemon status command enhanced to more clearly show Volume,
758 pool and media type when a job is waiting.
759 - Made bsmtp work with more strict SMTP servers.
760 - Detect doubly freed buffers in smartall.c
761 - wx-console renamed to bwx-console (Fedora request)
762 - gnome-console renamed to bgnome-console (Fedora request)
763 - Migration preserves original job's FileSetId
764 - Spooling implemented for migration jobs.
765 - Config files can be read through a pipe, by specifying a leading |
766 in front of the configuration path/filename.
767 - New memory command (bconsole) that will print the current Director's
768 memory usage, and an in use buffer dump.
769 - Console name changed from *Console* to -Console- to accomodate Win32
770 filename restrictions.
771 - Corrected the Win32 ftruncate bug.
772 - Additional version information added to Job reports.
773 - New -8 option for bsmtp to specify UTF-8 encoding type.
774 - bsmtp will no longer add < > to target (from, to, cc) if there
775 is already a < in the target.
776 - Prefer Mounted Volumes extended to mean a volume that is being
777 mounted by another job.
778 - Runscript timing set to same as version 1.38.11
779 - New TLS Allowed CN directive(s) permitted.
780 - New bconsole 'exec' command to run external script/command.
781 - Turn on FreeBSD/OpenBSD code to set EOT model on tape.
782 - Drop from root done before database is opened.
783 - Database user and name can be configured with:
784 --with-db-name=name --with-db-user=user
785 - Turn on wait_for_drive in mtx-changer script.
786 - Rework how bar codes are handled in mtx-changer script.
787 This appears to have been an unreported bug.
788 - Updated nagios plugin supplied by Christian Masopust
789 - Better restricted console ACL checking.
790 - New Client Connect Wait directive in Storage daemon so that
791 users can configure how long SD waits for FD connection.
792 - Bacula will no longer permit pruning of the currently running
793 job (note, if other jobs are running, they may be pruned).
794 - Sockets are no longer restored.
795 - dbcheck works in 300K chunks so will typically run faster.
796 - Include/Exclude lists can now be efficiently handled for quite
797 large sizes -- tens of thousands of entries.
798 - Several memory leaks in migration and database usage were fixed.
799 - New console keyword restoreclient, which specifies the client to
800 which the restore will be sent. The client keyword specifies
801 the backup client. The restoreclient keyword is optional if it is
802 not specified, the backup client will also be the restore client.
803 - The disk file size is now checked to ensure that it agrees with the
804 catalog value before Bacula will append to the disk (same as tape
809 Kern;;;2007/3/6;;;14:30
811 Bacula Version 2.0.3 has been released to Source Forge.
812 This is a bug fix release to version 2.0.2. If you are upgrading from
813 a version older than 2.0.0, please be sure to read the important notes
816 Also, please check the patches directory in the current SVN or the
817 patches release section on Source Forge for important bug fixes to
821 kes File migrate bug with Pool Occupancy using mediaid instead
822 of jobids. Fixes bug #795.
823 kes Fix orphaned buffers in filed backup and verify due to
824 crypto buffers not freed during errors. Fixes bug #789.
826 kes Add smartctl call to bacula-sd.conf as an example of getting
829 kes Add Client Connect Wait to Storage daemon to permit users to
830 modify the time the SD waits for a FD connection.
832 kes Apply Command ACL filter to JobId list in restore command.
833 kes Correct typeo in var.c patch.
835 kes Don't let Bacula prune File or Job records for the current Job.
836 kes Fix variable substitution pad + inc bug reported (with patch)
839 kes Correct SQLite log table index as reported by Luca Berra.
841 ebl Fix FIFO stuff, bacula tries to rewind the FIFO... Thanks to Andreas
843 kes Fix a few places in lib/message.c where the open fd may
846 kes Add LANG=C to autoconf/randpass so it works with languages other
847 than English. Fixes bug #788.
849 ebl Revert ClientRunBeforeJob as it was in 1.38.x
851 You will not be able to generate Include/Exclude list any more.
852 If you want to use this, you can apply
853 trunk/bacula/patches/testing/clientrunbeforejob_can_generate_include_exclude_list.patch
855 kes Restore of sockets created false error messages because Bacula
856 no longer restores sockets, but the code was still trying to
857 set the attributes on a non-existent file. Reported by a user.
859 kes Fix encryption deblocking bug, which caused some restored files
860 to be truncated. This fixes bug #763. This is a CRITICAL bug fix.
861 kes Add FD event sequence order prepared by Eric -- for RunScripts.
862 kes Fix 12am/pm bug as reported in bug #782.
864 kes Add quick disconnect FD code from 2.1.4 to 2.0.3. This code
865 causes the SD to release the FD as soon as the FD has sent
866 all the data to the SD. After that the SD will do any final
867 despooling (data and attributes) that are necessary. This
868 allows laptops to disconnect much quicker from the network
871 kes Apply Eric's ClientRunScriptAfter patch to 2.0 and 2.1.
873 kes Optimize the use of the database a bit in the Status dir command.
874 Only open it when needed, ensure that if any previous database
875 was opened, it is closed.
877 kes Modify dbcheck to handle orphaned JobMedia, Path, Filename,
878 and File records in 300K chunks to be more efficient. This
879 idea came from Juan Luis Frances (if I remember right).
881 kes Update projects list.
883 kes Fix dird/ua_cmds.c so that a cancel command checks if the
884 console is authorized to cancel the job. This fixes bug
886 kes Modify SD so that the VolCatJobs medium record is updated
887 at the beginning of a Job rather than the end. This
888 fixes bug #775 where exceeding MaxVolJobs caused jobs
890 kes Added a mutex around getting and setting Volume information
891 so that multiple simultaneous jobs will single thread.
893 Switch to using Subversion
894 kes Remove src/pygtk-console/ from configure
896 kes Delete src/lib/btree.c from win32 build, then add rblist.c
897 plus the entrypoints.
898 kes Apply patch supplied that corrects debug print
899 in canceling jobs for max run time. Supplied as
900 part of bug #621, which was previously fixed.
902 kes Test on job_canceled() and sd_msg_thread_done inside
903 loop starting the message thread to avoid a race condition.
905 kes Remove rl_catch_signal from console.c as it conflicted
906 with the header definition. Fixes bug #765.
907 ebl Fixes bug #766 about RunsOnClient = Yes (case sensitive)
909 kes Clarify some stored/acquire messages to indicate if the
910 problem is with read or append.
912 kes Fix memory leak with storage ids in cats/sql_get.c
913 kes Terminate watchdog earlier to avoid reference to released
914 memory -- reported by Jason Austin.
915 kes Move closing the database from jobq.c to the director daemon
916 termination routine. This fixes memory leaks for shadow jobs
917 (i.e. migration jobs).
918 kes Free up the unique jobid chain items in migrate.c. This fixes
919 a memory leak problem.
920 kes Convert some ugly looking for statements to use foreach_alist
921 in findlib/find.c. This will facilitate converting the structures
922 to use dlist (for large include/exclude lists).
923 kes Fix a bug in the btree.c and btree.h routines, then rename them
924 rblist and add them to be built in src/lib. Include some new
925 methods written by Rudolf Cejka that make the code more readable
926 (hides some of the ugly casting).
928 kes Implement item #12 on project list -- quick release of FD by
929 the SD. This is noted in more detail above.
933 Kern;;;2007/1/28;;;14:30
935 Bacula Version 2.0.2 released:
937 kes Fix maxruntime bug #621.
939 kes Get current main CVS .specs for RedHat, SuSE, Mandrake.
941 ebl Implement the include JobID in spool file name project.
942 kes Reorder projects file in order determined by Jan 2007 vote.
943 kes Fix open of SQLite3 db where user does not have write permission
944 so that DIR does not crash. Fixes bug #761.
946 kes Change 'Device not configured to autolabel' from INFO
948 kes Fix jobq.c to restart failed jobs when Reschedule Times = 0
949 which should restart an indefinite # of times.
950 kes Fix configure --help to print --with-mysql[=DIR]. Same for
951 other DIR specifications.
953 rn Fix msvc build problems. Fix bacula.dll exports for msvc build.
954 Fix path quoting in SQLite scripts.
955 Fix problems with SHGetFolderPath.
957 kes Create patches/2.0.1-restart.patch. Fixes bug #755.
959 kes Fix Job restart on error bug that promotes an Inc to a Full
960 backup. This should fix bug #755.
961 kes Add qt-console and first cut of code.
965 Kern;;;2007/1/13;;;14:30
967 Bacula Version 2.0.1 has been released to Source Forge.
968 This is bug fix update to version 2.0.0 and contains
971 - Fix Bacula->Documentation link on Win32 to point to index.html
972 instead of bacula.html. Fixed bug #750.
973 - Return JobId in db_get_job_record() when JobId==0. This should
975 - Do not release source pointers when restarting a failed job.
976 - Add dynamic dll entry point for SHGetFolderPath to Win32 code.
977 This *should* fix bug #747.
978 - Modify winbacula.nsi to substitute with g bin_dir_cmd. Should fix
980 - Modify USTORE constructor to set an empty store_source string,
981 and don't copy the store_source string in a cancel. Hopefully
982 this will fix Arno's seg fault, bug #744.
983 - Add back code to disable conio in configure. Fixes bug #743.
984 - Correct the Options scanner in the FD to correctly handle
985 SHA1 option, which was eating the next option. Reported by
987 - Add code to indicate when the SD is spooling, spool wait, and
988 despooling as requested by Alan Brown.
992 Kern;;;2007/1/4;;;14:30
994 Bacula Version 2.0.0 has been released to Source Forge.
996 There is an English Press Kit, written by Dan Langille at:
998 http://www.bacula.org/about/press/presskit200.html.en
1000 and a German version, translated by Arno Lehmann at:
1002 http://www.bacula.org/about/press/presskit200.html.de
1006 Kern;;;2007/1/4;;;14:31
1008 Release Notes for Bacula 2.0.0
1010 Bacula code: Total files = 438 Total lines = 154,329 (*.h *.c *.in)
1012 ==== IMPORTANT Catalog update required =====
1013 - The database format has been updated from what was used in
1014 Bacula 1.38.x. You must manually update your database before
1015 running Bacula 1.39.x or higher. If you are using Bacula supplied
1016 RPMs this is not necessary as the RPM does it automatically.
1017 Please backup your previous version of the database before
1018 running the update. The update script will be automatically
1019 installed in your scripts directory, or can also be found in
1020 <bacula-source>/src/cats. It is called:
1022 ./update_bacula_tables
1024 It is necessary to run it only once the first time you move to
1025 a 2.0.0. Upgrading the Bacula version thereafter does not
1026 require updating the database again. Depending on the size of
1027 your database the script make take a bit of time, to run, but
1028 in general, it should be very fast.
1030 ==== IMPORTANT new Win32 install procedure =====
1031 For Win32 migrations from versions prior to 1.39.0 nothing special
1032 needs to be done to upgrade. Everything should be taken care of
1033 automatically. The only thing not done is to delete the old C:\bacula
1034 directory mostly out of paranoia.
1036 ==== IMPORTANT miscellaneous ====
1037 - The Gnome console program (gconsole) no longer functions as it
1038 should.More importantly, in restore mode, the restore tree is
1039 no longer shown in the left pane. I suspect this is due to
1040 incompatible changes in the GTK+ API, and hence have given up
1041 on gnome and gtk+, as this has already happened several times
1042 previously. At some point there will be a new GUI console.
1043 - The bacula-dir.conf directive Accept Any Volume has been
1044 removed because it was never implemented. You must delete all
1045 occurrence of this directive for the Director to run. The Storage
1046 daemon will automatically accept any valid Volume that you mount.
1047 - The --mandir ./configure option now points to the top level man
1048 directory. The man files will be installed under mandir/man8 and
1049 mandir/man1 as appropriate.
1050 - You *should* be able to use 1.38.x FDs with version 2.0.0 Director
1051 and SD providing you do not use any of the new features (runscript,
1052 data encryption). It seems to work here, but we do not guarantee it.
1053 - Your Director and SD must be simultaneously upgraded.
1054 - The restore command no longer uses the MediaType as the primary method
1055 of finding a suitable Storage device. Normally it will select the last
1056 device used to write a Volume. If no storage device is defined, it
1057 will use the old algorithm which selects the first Storage resource
1058 with the correct MediaType.
1059 - The MD5/SHA1 hash codes kept in the database are now kept in a binary
1060 format compatible with the rest of the world. If you are running verify
1061 jobs, you *must* do an InitCatalog or all files will show an MD5
1062 difference. Also, authentication uses the new algorithm by
1063 default, but *should* accept connections from older components (FD) using
1064 the old non-compatible algorithm. This has been tested, but more
1065 more testing is still needed.
1066 - A stock SuSE 10.1 kernel may crash when Bacula runs and accesses
1067 the tape drive. Workaround, load the SuSE 10.1 version 2.6.16.21-0.25
1068 kernel or later. The SuSE 10.2 Alpha 5 or later kernel also works.
1069 This problem may also be present in certain Fedora FC5 kernels.
1070 - If you have been using the data encryption feature of 1.39.x, please
1071 be aware that certain combinations of encryption and other options
1072 with version 1.39.0 through 1.39.26 created Volume data that cannot
1073 be restored. We strongly recommend that anyone using encryption
1074 carefully review his/her backups and at a minium do a Full backup
1075 with 1.39.28 of all encrypted data. Robert Nelson has identified
1076 and fixed it as follows:
1078 No filters = Works fine
1080 Compression = Works fine
1081 Encryption = Works fine
1082 Sparse + Compression = Works fine
1084 Sparse + Encryption = Restore broken
1085 Sparse + Compression + Encryption = Restore broken
1086 Compression + Encryption = Restore broken
1089 Most combinations work, but some encrypted files are
1090 not properly restored.
1093 All combinations work fine except Sparse+Encryption.
1095 Bottom line, if you are using data encryption, please test restoring
1096 data to be sure it all works correctly.
1097 - The current Volume format written by 1.39.22 is different from
1098 the format written by previous versions. The two formats
1099 are not compatible. Thus any DVDs written prior to 1.39.22 will
1100 be unreadable by version 1.39.22.
1101 - If you previously run a Bacula version prior to 1.39.30, the JobMedia
1102 data may not be correct for disk Volumes. This can cause incorrect
1103 seeking in versions after 1.39.30. If you experience what appears to
1104 be data I/O or integrity errors during restores, please add the
1105 following directive to your disk DEVICE resource in the Storage
1108 Block Positioning = no
1110 This will turn off all seek requests during restores and avoid
1112 - VSS for Windows clients is now enabled by default.
1113 - Do not unload autochanger when doing "update slots"
1114 - Implement mount command for autochanger, see manual.
1116 New Features in 2.0.0:
1117 - Turn on disk seek code for restores.
1118 - There is a partial but reasonable translation of the Bacula
1119 messages for French. To install it, first configure and build
1120 Bacula, then as root run:
1122 cd <bacula-source>/po
1125 If you have your locale set properly you will get the translated
1127 - Bacula now support Migration jobs that are documented in a new
1128 Migration chapter in the manual
1129 http://www.bacula.org/dev-manual/Migration.html
1130 - Data encryption is now implemented and is documented in
1131 a new chapter of the manual at:
1132 http://www.bacula.org/dev-manual/Bacula_Data_Encryption.html
1133 - Additional support for removable devices. See the
1134 Requires Mount, Mount Point, Mount Command, and Unmount
1135 Commands in the Storage daemon configuration chapter:
1136 http://www.bacula.org/dev-manual/Storage_Daemon_Configuratio.html
1137 Also see the Edit Codes for Mount and Unmount Directives in the
1139 - Switch the Win32 build from using Microsoft C++ to using mingw32
1140 cross-compiling. The initial work was done by Howard Thomson,
1141 then tweaked by me. Robert Nelson then totally reworked the
1142 cross-compiling code so that it not only cross-compiles, but
1143 also compiles on Visual Studio, and at the same time, he added
1144 all the current Unix features to the FD, such as selection on
1145 drives, encryption support, building *all* the tools, ...
1146 - The Director and Storage daemon have now been ported to Win32.
1147 This code is working but should still be tested carefully
1148 before putting into production.
1149 - Bacula restore and bextract can now extract non-portable Win32 data to
1150 any client (including Unix/Linux clients). Of course, in doing so,
1151 the Microsoft specific permissions and ACLs will be lost. Thanks
1152 to Thorsten Engel for this code.
1153 - The 260 character limitation for Win32 paths name lengths is now
1154 eliminated thanks to Thorsten Engel. However, if you are using
1155 Volume Shadow Copy, please be careful to specify all the paths
1156 in the bacula-fd.conf file using a full path notation including
1158 - Eric Bollengier wrote new RunScript directives that includes
1159 the old RunBefore/AfterJob and ClientRunBefore/AfterJob features
1160 plus a *lot* more, allowing you to control just about every aspect
1161 of running scripts. See the manual for detailed documentation.
1162 http://www.bacula.org/dev-manual/Configuring_Director.html#5227
1163 - SunOS ACLs should now work thanks to a patch from David Duchscher.
1164 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
1165 If this patch is applied, the number of days can be specified with
1166 "list nextvol days=xx"
1168 "status dir days=xx"
1169 This can be used to preview the next scheduled job (and the
1170 next tape to be used) on Fridays if there are no scheduled jobs during
1172 - From Eric Bollengier. One can now using the bconsole wait command do:
1173 wait (wait for all jobs to stop)
1175 wait jobuid=unique id
1177 - Volumes can now be set to Enable, Disable, or Archive. If they
1178 are not enabled, Volumes will not be mounted.
1179 Implement update volume enable=(on|off|true|false|archived|0|1|2)
1180 - Add Catalog message destination in Messages resource that puts the
1181 job report in the Log database table.
1182 - Writing/reading DVD Volumes is much more stable -- to the point
1183 of being useful. Thanks to Richard Mortimer.
1184 - Add enable/disable job=<job-name>. This command prevents
1185 the specified job from being scheduled. Even when disabled,
1186 the job can be manually started from the console.
1187 - The database Id records should be 32/64 bit independent now. 64 bits
1188 can be enabled by changing one define and changing the appropriate
1189 table variable. Normally, you need 64 bits only for FileId.
1190 - Relative path specifications (i.e. ../xxx) are now permitted in
1191 the restore cd command.
1192 - When running multiple simultaneous jobs, most jobs that use spooling
1193 will now finish faster due to a mutex optimization made by Eric
1195 - Conf files containing UTF-8 marker at the head of the file as well as
1196 conf files containing Window cr/lf and Mac cr line termination characters
1197 are now accepted thanks to Robert Nelson.
1198 - Windows tray status windows are scrollable and resizable.
1199 - Win32 external script execution is much more flexible -- handles
1200 spaces in names better, ...
1201 - Lots of DVD fixes -- writing DVDs is now reported to work.
1202 - Fix opening of database in a restricted console to respect
1204 - Much better automatic handling of multiple database catalogs in
1205 the restore command.
1206 - Permit multiple console/director resources in bconsole.conf.
1207 patch from Carsten Paeth calle@calle.in-berlin.de
1208 - Character substitution in Job/JobDefs WriteBootStrap.
1209 from Eric Bollengier.
1210 - Apply patch supplied in bug #656 to pass priority field
1211 in the run dialog to the Director in gnome console.
1212 - Add support of encrypted data stream to bscan from Eric.
1213 display data_len instead of data content (may be binary).
1214 - Add Enabled=xxx on update slots command.
1215 - Add host:port to connect failure messages to FD and SD from Dir/
1216 - Add WhereACL to console ACL list. If nothing is specified, only
1217 the default is permitted for restore. Otherwise, *all* allows any
1218 path, or you can specify permitted paths. This should allow control
1219 over where users can restore files. This is untested.
1220 - Install man pages with 'make install'.
1221 - Add Media.Enabled flag to client backups for dotcmds.c
1222 - Enforce Media.Enabled=1 for a current restore to work
1223 - Require restore case 3 to have sqlquery permission to work.
1224 - Add -n option to bconsole to turn off conio -- used in bweb.
1225 - The bytes field in the terminated jobs part of the status
1226 command now reports in KB, MB, ... units.
1227 - When not descending into a directory, print the File= name that
1228 triggered it -- makes why not descending a bit clearer
1229 - Do not unload autochanger when doing "update slots"
1230 - Implement mount command for autochanger
1231 - Fix bug #462 incorrect error message printed when client script called
1232 from File= was not found.
1233 - Fix bug #558 (waiting for feedback) where Bacula needs too much time to
1234 do a rewind on Solaris when no tape is in the drive (Solaris does not
1235 have the detailed errno found on Linux). Added Solaris specific code.
1236 Note, this may apply to other OSes as well.
1237 - The examples directory has a new bacula_mail_summary.sh file that
1238 creates a single email summary of any number of jobs. Submitted by
1240 - Add nagios plugin to the examples directory. Submitted by
1242 - Modify most restore error messages to be queued so that they
1243 appear at the end of the job rather than mixed with the restore
1244 listing where they could be "lost".
1245 - Apply patch supplied by user (slightly modified) to fix
1246 correct detection of holes in block devices and FIFOs.
1248 - Added a report.pl program to the examples directory from Jonas Bjorklund.
1249 - Add two new queries to query.sql provided by Arno. One
1250 list volumes known to the Storage device, and the other
1251 lists volumes possibly needing replacement (error, ...).
1252 - Implement new code for changing userid and group at startup. This
1253 should get Bacula into the correct groups.
1254 - Implement support for removable filesystems -- device type directive
1255 and mount, unmount directives.
1256 - Transfer rates are now presented in a more readable format thanks
1257 to a user submission.
1258 - SD is now aware of what volumes are mounted. More information is printed
1259 in the Status report. You must take much more care now to unmount
1260 devices prior to removing tapes that Bacula has open or prior to
1261 changing a magazine. Don't forget to do a mount afterwards or the
1262 device will be blocked.
1263 - The Pool Maximum Volumes directive is now respected in all places.
1264 - A Storage device can now be specified in a Pool resource. It will override
1265 all other Storage specifications.
1266 - Most but not all directives accept true/false in place of yes/no.
1267 - A patch from Karl Hakimian that reads JobIds, FileIndexes
1268 from a database table for restore.
1269 - There are a number of new tables. Some such as the Location table are
1270 designed for user use in doing Volume Management software.
1271 - Maximum Changer Wait, Maximum Open Wait, Maximum Rewind Wait to
1272 accept time qualifiers.
1273 - Implement jobuid to replace old usage of job in keywords as
1274 suggested by Eric Bollengier.
1275 - Implement write variables for Python to set Priority (anytime), and
1276 Job Level, only during JobInit event.
1277 - Use the keyword ujobid to mean the unique job id; job or jobname
1278 to mean the Job name given on the Name directive, and jobid to
1279 be the numeric (non-unique) job id.
1280 - Allow the SD to use multiple drives during a backup/restore (only
1282 - Integrate addition of line count limitation to bsmtp -l from
1283 Sebastian Stark <stark at tuebingen.mpg.de>
1284 - Split the bacula start/start script into four files:
1285 bacula -- starts and stops calling other scripts
1286 bacula-ctl-dir -- starts/stops the director
1287 bacula-ctl-fd -- starts/stops the File daemon
1288 bacula-ctl-sd -- starts/stops the Storage daemon
1289 - Remove automatic case folding on Windows FDs. You must
1290 explicitly use the 'Ignore Case = yes' option.
1291 - Implement wild program in tools directory for testing
1292 wild-cards. Almost identical to the regex program.
1293 - Use the new bregex.c to implement Regex expressions on Win32.
1294 - Apply patch from Christopher Hull
1295 - Allow multiple connections to database with different
1297 - Invalidate the scheduler when doing a reload. Fixes seg
1298 fault, but still 60 second window.
1299 - Additional info in Reschedule message.
1300 - Use set_jcr_job_status() everywhere to prevent loss of
1302 - Display peer IP in FD if error from connecting DIR.
1303 - Don't increment file count for DIRBEGIN.
1304 - Replace illegal characters in Win32 filename by _.
1305 - Add SE_CREATE_PERMANENT_NAME privilege in Win32.
1306 - Hash hard link filenames rather than linked list (performance).
1307 - Fix for security failure in chdir on Win32.
1308 - Add CreateDirectoryA/W win32 API entry points.
1309 - programs to duplicate Bacula's base64 algorithm using standard
1310 routines. This fixes bugs #296, and 565. Patch submitted by
1312 - Fixes to reloading the Dir conf file from Eric Bollengier and Christopher
1314 - Modify LICENSE to correct some problems pointed out by Debian.
1315 - Apply a patch submitted by cesarb in bug #606 to implement O_NOATIME support.
1316 O_NOATIME is a open() flag which makes it possible to read a file without
1317 updating the inode atime (and also without the inode ctime update which
1318 happens if you try to set the atime back to its previous value). It also
1319 prevents a race condition when two programs are reading the same file, but
1320 only one does not want to change the atime. It's most useful for backup
1321 programs and file integrity checkers (and bacula can fit on both
1323 You enable it in the Bacula FileSet Options resource by setting:
1325 The effect of this option is similar to the keepatime option except
1326 it is more efficient and avoids modifying ctime.
1327 - Implement a pile of new man pages contributed by Jose Tallon.
1328 - Modify the database format for handling Migration jobs:
1329 Add PriorJobId, RealEndTime to Job table
1331 Remove Stripe from JobMedia record (not used, wasting space)
1332 Add ScratchPoolId, RecyclePoolId, Enabled to Media record
1333 Add Cost to Location table.
1334 Enabled to Media table and Location table.
1335 - Security: harden authentication failure in FD by single threading errors
1336 and forcing a 6 second wait.
1337 - If using GCC (actually g++) add the following compiler flags
1338 -fno-strict-aliasing -fno-exceptions -fno-rtti
1339 - Turn on new bsnprintf() code. The reason for this code is to
1340 eliminate the security problems associated with using the
1341 system libraries print routines.
1342 - Implement job report that indicates where Storage and Pool
1343 came from -- with overrides and Pool storage and NextPool,
1344 it is all very complicated.
1345 - Add more detail (Storage, Device) to list of volumes printed
1347 - Add new VOLMGMT message class. No messages are yet sent with this
1349 - Improved Bacula rescue procedures -- see the Disaster Recovery
1350 chapter of the manual
1351 - Add spooling/despooling info in status output of SD.
1352 - Add Comment field to llist of a volume.
1353 - Allow true/false in many but not all yes/no directives.
1354 - The Bacula source code is now copyrighted by the Free Software
1355 Foundation Europe. The Developer's Guide documents the new procedures,
1356 and the LICENSE file has been updated.
1357 - Apply Jaime Ventura's patch that implements the Messages resource
1358 Mail On Success directive.
1359 - The Client returns its Version string, which is printed in the Job
1361 - The Client returns whether or not VSS and Encryption are used, which
1362 are printed in the Job report.
1364 Additional Features Added for Win32:
1365 - Added DriveType directive to the Director's Include Option FileSet
1366 resource. Allowed values are: fixed, removable, cdrom, and remote. There
1367 is only an implementation for Windows because it is the only platform that
1368 has the concept of drives.
1370 - Adds EnhancedWild directive to the Director's Include Option FileSet
1371 resource. Allowed values are: yes and no.
1373 When EnhancedWild is enabled then the processing of the
1374 Wild, WildDir and WildFile is changed in the following ways.
1376 Patterns conform to Posix
1377 \ is not a special character in character classification []
1378 To match a - it must be the first or last character
1379 To match a ] it must be the first character
1381 fnmatch option FNM_FILE_NAME is specified * doesn't match a /
1382 so it won't match multiple directory levels in a path
1384 - Relative WildFile patterns (ones without a leading /) match
1385 against the filename portion. This in combination with the
1386 FNM_FILE_NAME fnmatch() flag makes directives such as WildFile =
1387 abc*.def work as expected.
1389 - Adds support for the shell's feature of brace expansion.
1391 Here is an example where braces allow 24 lines to be expressed in 5.
1393 # Exclude directories full of lots and lots of useless little files
1394 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Cookies"
1395 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Recent"
1396 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/History"
1397 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temp"
1398 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temporary Internet Files"