1 Kern;;;9 Jan 2008;;20:30
2 Bacula version BETA 2.2.8 Released
3 Bacula version 2.2.8 source tar files as well as the Win32
4 binaries are available in the bacula-beta and
5 Win32-beta release areas of Source Forge
7 Version BETA 2.2.8 is a bug fix to version 2.2.7:
8 - It fixes bugs: 1036, 1033(doc), 1028, and possibly 1018 and 1032.
9 Bugs 1018 and 1032 involve problems with multiple-drive autochangers.
12 Kern;;;24 Dec 2007;;20:30
13 Bacula version 2.2.7 Released
14 Bacula version 2.2.7 source tar files as well as the Win32
15 binaries are available in the Bacula release area of Source Forge
17 Version 2.2.7 has several new features and several important bug fixes
19 - It fixes bugs: 1009, 1022, 1024, 1019, 1012, 1021, 1020
20 1007, 1008. For more details, please see the technotes-2.1 file.
21 - Fixed a seg fault reported by Frank Sweetser that depended on
22 exact path lengths, but the problem was in bsnprintf.c
23 - Double quoting include filenames (@xxx) in Bacula conf files is now
24 possible, thanks to a patch by Michael Stapelberg.
25 - You can pipe input to include filenames (@|prog) by using a vertical
26 bar, thanks to the above patch.
27 - A daylight savings time bug in the Win32 bsmpt was fixed by a patch from
29 - Marc Cousins submitted a patch that permits building the PostgreSQL
30 driver with version 8.3.
31 - The configure option --archivedir has been changed to --with-archivedir
33 Kern;;;9 Nov 2007;;15:25
34 Bacula version 2.2.6 Released
35 Bacula version 2.2.6 source tar files as well as the Win32
36 binaries are available in the Bacula release area of Source Forge.
38 This release is a minor fix upgrade to version 2.2.5,
39 and we recommend that all users upgrade when they can.
41 Version 2.2.6 is a minor bug fix realease to version 2.2.5
42 - It fixes bugs: #1003, 942, 982, 990(response only), 991,
44 - Fix bat crash wen it cannot connect to Director.
45 - Fix joblist failure bug in bat.
47 Kern;;;9 Oct 2007;;15:25
48 Bacula version 2.2.5 Released
49 Despite the fact that the Release Notes are rather short, the bug
50 fixes represent quite a lot of work:
52 Version 2.2.5 is a major bug fix release to version 2.2.4
53 - It fixes the following bugs: #961, 962, 963, 969, 968, 960,
54 964, (possibly 935 and 903), 953, 953, 967, 966, 965, 954,
55 957, 908, 958, and 955.
56 - It also improves listing performance problems in bat pointed
59 Kern;;;29 Sept 2007;;20:30
60 A serious data loss bug in Bacula version 2.2.4 found and fixed
62 This bug was very elusive and time consuming to track down. It
63 turned out to be a race condition that can lose the last one or
64 two blocks of a Job, which can happen in rare cases only when
65 running multiple simultaneous jobs when a volume fills and one
66 Job finishes receiving the last data from the FD and at the same
67 time a second job detects the end of the Volume. The bug was
68 introduced in version 2.0.0 and did not exist in version 1.38.x.
69 If the bug is triggered, the data is lost (not written to the
70 Volume), and it can occur for any backup job of any level under
71 the conditions noted above.
73 The bug is reported in the bugs database as bug #964, and just
74 this morning I found and tested a fix, which is attached as a patch
75 to the bug report. The patch (2.2.4-lost-block.patch) is also
76 uploaded to the bacula-patches 2.2.x release area. This bug may
77 also be part of the problems reported in bug #935 and possibly
80 Also in the bacula-patches 2.2.x area, you will find other
81 patches that fixes bugs #953, 966, 967, 965, 958, 908, and
82 955. Please refer to bugs.bacula.org for the details.
84 Though this bug quite serious (data loss), it should be rare.
85 However, we recommend everyone to apply the patch.
87 Kern;;;2007/9/14;;;14:30
88 Bacula version 2.2.4 Released
90 This version of Bacula is a minor bug release to version 2.2.3.
91 It contains the following fixes:
93 - Possible fix for authorization problems bug #953.
94 - Possible fix for bug #908.
95 - Add waits to multiple exit detection code to try to force pid
96 file to always be deleted.
97 - Restore good dev.tar.gz to rescue set appropriate binary property.
99 - Fix seg fault in error exit of acquire_for_read after unsuccessfully
100 trying to switch drives by checking for blocking before unblocking.
102 - Cancel storage daemon in all cases where FD reports error. This
103 should fix virtually all cases of bug #920 and will ensure that Devices
104 are released as soon as possible.
105 - Fix error message that was clobbered when Dir tells SD it does not
106 have write permission on Volume. This should fix a minor point
107 in bug #942, but not the main problem.
108 - Fix migration code to get correct Volume name with multiple volumes
109 by skipping |. Fixes bug #936.
110 - Implement patch supplied by Landon to fix bug #944 where using
111 TLS with bconsole uses 99+% of the CPU.
112 - Fix bug #946 about "bacula-dir -t" which doesn't works
114 - Using "m" in bconsole will show messages as in prior versions
115 and not memory usage.
117 - Note, you need GTK >= 2.10 to be able to link the Tray Monitor
120 Kern;;;2007/9/9;;;14:30
121 I regret to announce that there is a rather serious bug in Bacula.
123 Bacula bug #935 reports that during a restore, a large number of files are
124 missing and thus not restored. This is really quite surprising because we
125 have a fairly extensive regression test suite that explicitly tests for this
126 kind of problem many times.
128 Despite our testing, there is indeed a bug in Bacula that has the following
131 1. It happens only when multiple simultaneous Jobs are run (regardless of
132 whether or not data spooling is enabled), and happens only when the
133 Storage daemon is changing from one Volume to another -- i.e. the
134 backups span multiple volumes, and it only happens for Jobs writing
137 2. It has only been observed on disk based backup, but not on tape.
139 3. Under the right circumstances (timing), it could and probably does happen
142 4. It seems to be timing dependent, and requires multiple clients to
143 reproduce, although under the right circumstances, it should be reproducible
144 with a single client doing multiple simultaneous backups.
146 5. Analysis indicates that it happens most often when the clients are slow
147 (e.g. doing Incremental backups).
149 6. It has been verified to exist in versions 2.0.x and 2.2.x.
151 7. It should also be in version 1.38, but could not be reproduced in testing,
152 perhaps due to timing considerations or the fact that the test FD daemons
155 8. The data is correctly stored on the Volume, but incorrect index (JobMedia)
156 records are stored in the database. (the JobMedia record generated during
157 the Volume change contains the index of the new Volume rather than the
158 previous Volume). This will be described in more detail below.
160 9. You can prevent the problem from occurring by either turning off multiple
161 simultaneous Jobs or by ensuring that while running multiple simultaneous
162 Jobs that those Jobs do not span Volumes. E.g. you could manually mark
163 Volumes as full when they are sufficiently large.
165 10. If you are not running multiple simultaneous Jobs, you will not be
166 affected by this bug.
168 11. If you are running multiple simultaneous Jobs to tapes, I believe there is
169 a reasonable probability that this problem could show up when Jobs are split
172 12. If you are running multiple simultaneous Jobs to disks, I believe there is
173 a high probability that this problem will show up when Jobs are split across
176 13. The bug concerns only the Storage daemon so there is no need to update
177 the clients, though I do recommend updating the Director when installing
178 an updated Storage daemon.
180 I have uploaded patches to bug #935 (bugs.bacula.org) that will correct
181 version 2.2.0, 2.2.1, and 2.2.2. The patch has been tested only on version
182 2.2.2 and passes all regression tests as well as the specific test that
183 reproduced the problem.
185 The patch has now been confirmed to fix the problem reported, and Bacula
186 version 2.2.3 has been released to Source Forge.
188 For the technical details of the bug, please see:
190 http://www.bacula.org/downloads/bug-935.txt
194 Kern;;;2007/8/11;;;14:30
196 Bacula Version 2.2.0 has been released to Source Forge.
198 Release Notes for Bacula 2.2.0
200 Bacula code: Total files = 520 Total lines = 195,550 (*.h *.c *.in)
201 82 new files, 41,221 new lines of code, 208,380 lines of change from 2.0.3
203 This Director and Storage daemon must be upgraded at the same time,
204 but they should be compatible with all 2.0.x File daemons, unless you
205 use some of the new features that affect the FD. In other words, you should
206 not have to upgrade all your File daemons when you upgrade. There is
207 no database upgrade needed from version 2.0.x to 2.2.0.
209 Areas requiring caution or testing:
210 - You must have the thread safe version of MySQL client libraries loaded
211 to build with MySQL enabled.
212 - Volumes are pruned only when absolutely necessary -- this may cause
213 your database to grow compared to prior Bacula versions.
214 - Solaris door and even port files are no longer restored (equivalent
215 to what we do with sockets).
216 - SQLite is no longer supported for Solaris -- it fails too often with
217 bus errors. SQLite3 should work on Solaris.
218 - The default setting for SQLite3 is now 'PRAGMA synchronous=OFF'.
219 This makes it run 30 times faster, but increases the possiblity
220 of a corrupted database if your server shuts down unexpectedly.
221 The default behavior can be changed in src/version.h
222 - Restore on Win32, and in particular on Vista is untested. Please
223 test before relying on it. It should backup and restore reparse
225 - Win32 servers are untested, and very likely not to work.
227 The major new features are:
228 - Much faster insertion of attributes (somewhere around 10 times),
229 many thanks to Eric Bollengier and Marc Cousin.
230 - First release of bat (Bacula Administration Tool). Note to build
231 bat you must explicitly enable it on the ./configure line, you
232 must have the Qt4 version 4.2 or later libraries loaded, the qwt
233 (Qt Graphics) package loaded, and qmake and the other Qt4 tools
234 must be available. Most of the implementation was done by Dirk Bartley.
235 - Red/Black restore in memory tree (500 times faster loading).
236 - The Regex Where code to allow easier relocation of restored files
238 - Socket level heartbeat for all connections (untested).
239 - posix_fadvise() use in the FD to improve performance reduces
240 swapping due to opening/reading lots of files. Win32 equivalent
242 - Much improved Volume reservation code that should eliminate most
243 conflicts experienced in multiple drive autochangers.
244 - Simpler locking in the SD in the reservation system.
245 - Detection of file size/date change during backup if enabled.
246 - New Recycle Pool feature -- thanks to Eric.
247 - Efficient implementation of very large include/exclude lists.
248 - Volumes are no longer pruned during 'status dir'
249 - Pruning is now more efficient, and if a Volume is purged,
250 during pruning, it is immediately discovered.
251 - License is now GPL v2 without modifications, fix a few copyright
252 mistakes made when adding FSFE copyright notice.
254 New ./configure options:
255 - --enable-bwx-console
260 - --enable-batch-insert
262 New bconsole commands:
268 - .pwd (in restore tree)
269 - restoreclient (keyword)
270 - backupclient (keyword)
271 - regexwhere (keyword)
272 - update jobid (new command)
273 - recyclepool (keyword)
276 - Heartbeat Interval (bconsole.conf)
277 - Heartbeat Interval (bacula-dir.conf in Director, Client, Storage)
278 - TLS Allowed CN (bacula-dir.conf in Client)
279 - Regex Where (bacula-dir.conf in Job)
280 - Strip Prefix (bacula-dir.conf in Job)
281 - Add Prefix (bacula-dir.conf in Job)
282 - Add Suffex (bacula-dir.conf in Job)
283 - Recycle Pool (bacula-dir.conf in Pool)
284 - FailJobOnError (bacula-dir.conf in RunScript)
285 - CheckFileChanges (bacula-dir.conf in FileSet)
286 - StripPath (bacula-dir.conf in FileSet)
288 Other features or bug fixes:
289 - Fixed bugs: 916, 910, 917, 914, 906, 907,
290 842, 830, 893, 861, 888, 886, 807, 877, 872
291 885, 887, 864, 874, 882, 881, 863, 859,
292 856, 854, 845, 847, 846, 809, 772,
293 822, 825, 824, 808, 802, 797, 798, 795, 789, 791,
294 788, 780, 763, 782, 612, 767, 775, 621, 772, 764,
295 766, 621, 761, 755, 750, 741, 747, 742, 744, and 743.
296 - Configure bat with --enable-bat. Define qwt libraries with
297 --with-qwt=<dir>. See Installation chapter of manual for details.
298 - Create a depkgs-qt package that has both Qt4 and qwt, which are
299 needed to build bat. Most modern Linux systems will have both
300 these packages in the distro.
301 - Storage overrides delete all previous storage definitions instead
303 - One should be able to mount and unmount removable devices if the
304 Device resource has Removeable Media set and the mount and unmount
305 directives are defined.
306 - ./configure will do a better job of searching for qwt libraries.
307 - The Win32 version can no longer be shutdown from the tray monitor.
308 Use the command line or the Services panne.
309 - Keep prune_volumes() from pruning the whole Scratch pool.
310 - More debug output in status storage.
311 - Correct moving a Scratch volume from pool to pool (some
312 critical columns were lost).
313 - Different locking in reservations and despooling systems,
314 which means more micro-locking and less macro-locking, which
315 should give a lot more concurrency at the expense of slightly
316 (<0.1%) more overhead due to more locking/unlocking, but
317 concurrent jobs should run much faster.
318 - Additional drive reservation algorithm that should solve a lot of
319 the problems experienced with multiple drive autochangers.
320 - Storage daemon status command enhanced to more clearly show Volume,
321 pool and media type when a job is waiting.
322 - Made bsmtp work with more strict SMTP servers.
323 - Detect doubly freed buffers in smartall.c
324 - wx-console renamed to bwx-console (Fedora request)
325 - gnome-console renamed to bgnome-console (Fedora request)
326 - Migration preserves original job's FileSetId
327 - Spooling implemented for migration jobs.
328 - Config files can be read through a pipe, by specifying a leading |
329 in front of the configuration path/filename.
330 - New memory command (bconsole) that will print the current Director's
331 memory usage, and an in use buffer dump.
332 - Console name changed from *Console* to -Console- to accomodate Win32
333 filename restrictions.
334 - Corrected the Win32 ftruncate bug.
335 - Additional version information added to Job reports.
336 - New -8 option for bsmtp to specify UTF-8 encoding type.
337 - bsmtp will no longer add < > to target (from, to, cc) if there
338 is already a < in the target.
339 - Prefer Mounted Volumes extended to mean a volume that is being
340 mounted by another job.
341 - Runscript timing set to same as version 1.38.11
342 - New TLS Allowed CN directive(s) permitted.
343 - New bconsole 'exec' command to run external script/command.
344 - Turn on FreeBSD/OpenBSD code to set EOT model on tape.
345 - Drop from root done before database is opened.
346 - Database user and name can be configured with:
347 --with-db-name=name --with-db-user=user
348 - Turn on wait_for_drive in mtx-changer script.
349 - Rework how bar codes are handled in mtx-changer script.
350 This appears to have been an unreported bug.
351 - Updated nagios plugin supplied by Christian Masopust
352 - Better restricted console ACL checking.
353 - New Client Connect Wait directive in Storage daemon so that
354 users can configure how long SD waits for FD connection.
355 - Bacula will no longer permit pruning of the currently running
356 job (note, if other jobs are running, they may be pruned).
357 - Sockets are no longer restored.
358 - dbcheck works in 300K chunks so will typically run faster.
359 - Include/Exclude lists can now be efficiently handled for quite
360 large sizes -- tens of thousands of entries.
361 - Several memory leaks in migration and database usage were fixed.
362 - New console keyword restoreclient, which specifies the client to
363 which the restore will be sent. The client keyword specifies
364 the backup client. The restoreclient keyword is optional if it is
365 not specified, the backup client will also be the restore client.
366 - The disk file size is now checked to ensure that it agrees with the
367 catalog value before Bacula will append to the disk (same as tape
372 Kern;;;2007/3/6;;;14:30
374 Bacula Version 2.0.3 has been released to Source Forge.
375 This is a bug fix release to version 2.0.2. If you are upgrading from
376 a version older than 2.0.0, please be sure to read the important notes
379 Also, please check the patches directory in the current SVN or the
380 patches release section on Source Forge for important bug fixes to
384 kes File migrate bug with Pool Occupancy using mediaid instead
385 of jobids. Fixes bug #795.
386 kes Fix orphaned buffers in filed backup and verify due to
387 crypto buffers not freed during errors. Fixes bug #789.
389 kes Add smartctl call to bacula-sd.conf as an example of getting
392 kes Add Client Connect Wait to Storage daemon to permit users to
393 modify the time the SD waits for a FD connection.
395 kes Apply Command ACL filter to JobId list in restore command.
396 kes Correct typeo in var.c patch.
398 kes Don't let Bacula prune File or Job records for the current Job.
399 kes Fix variable substitution pad + inc bug reported (with patch)
402 kes Correct SQLite log table index as reported by Luca Berra.
404 ebl Fix FIFO stuff, bacula tries to rewind the FIFO... Thanks to Andreas
406 kes Fix a few places in lib/message.c where the open fd may
409 kes Add LANG=C to autoconf/randpass so it works with languages other
410 than English. Fixes bug #788.
412 ebl Revert ClientRunBeforeJob as it was in 1.38.x
414 You will not be able to generate Include/Exclude list any more.
415 If you want to use this, you can apply
416 trunk/bacula/patches/testing/clientrunbeforejob_can_generate_include_exclude_list.patch
418 kes Restore of sockets created false error messages because Bacula
419 no longer restores sockets, but the code was still trying to
420 set the attributes on a non-existent file. Reported by a user.
422 kes Fix encryption deblocking bug, which caused some restored files
423 to be truncated. This fixes bug #763. This is a CRITICAL bug fix.
424 kes Add FD event sequence order prepared by Eric -- for RunScripts.
425 kes Fix 12am/pm bug as reported in bug #782.
427 kes Add quick disconnect FD code from 2.1.4 to 2.0.3. This code
428 causes the SD to release the FD as soon as the FD has sent
429 all the data to the SD. After that the SD will do any final
430 despooling (data and attributes) that are necessary. This
431 allows laptops to disconnect much quicker from the network
434 kes Apply Eric's ClientRunScriptAfter patch to 2.0 and 2.1.
436 kes Optimize the use of the database a bit in the Status dir command.
437 Only open it when needed, ensure that if any previous database
438 was opened, it is closed.
440 kes Modify dbcheck to handle orphaned JobMedia, Path, Filename,
441 and File records in 300K chunks to be more efficient. This
442 idea came from Juan Luis Frances (if I remember right).
444 kes Update projects list.
446 kes Fix dird/ua_cmds.c so that a cancel command checks if the
447 console is authorized to cancel the job. This fixes bug
449 kes Modify SD so that the VolCatJobs medium record is updated
450 at the beginning of a Job rather than the end. This
451 fixes bug #775 where exceeding MaxVolJobs caused jobs
453 kes Added a mutex around getting and setting Volume information
454 so that multiple simultaneous jobs will single thread.
456 Switch to using Subversion
457 kes Remove src/pygtk-console/ from configure
459 kes Delete src/lib/btree.c from win32 build, then add rblist.c
460 plus the entrypoints.
461 kes Apply patch supplied that corrects debug print
462 in canceling jobs for max run time. Supplied as
463 part of bug #621, which was previously fixed.
465 kes Test on job_canceled() and sd_msg_thread_done inside
466 loop starting the message thread to avoid a race condition.
468 kes Remove rl_catch_signal from console.c as it conflicted
469 with the header definition. Fixes bug #765.
470 ebl Fixes bug #766 about RunsOnClient = Yes (case sensitive)
472 kes Clarify some stored/acquire messages to indicate if the
473 problem is with read or append.
475 kes Fix memory leak with storage ids in cats/sql_get.c
476 kes Terminate watchdog earlier to avoid reference to released
477 memory -- reported by Jason Austin.
478 kes Move closing the database from jobq.c to the director daemon
479 termination routine. This fixes memory leaks for shadow jobs
480 (i.e. migration jobs).
481 kes Free up the unique jobid chain items in migrate.c. This fixes
482 a memory leak problem.
483 kes Convert some ugly looking for statements to use foreach_alist
484 in findlib/find.c. This will facilitate converting the structures
485 to use dlist (for large include/exclude lists).
486 kes Fix a bug in the btree.c and btree.h routines, then rename them
487 rblist and add them to be built in src/lib. Include some new
488 methods written by Rudolf Cejka that make the code more readable
489 (hides some of the ugly casting).
491 kes Implement item #12 on project list -- quick release of FD by
492 the SD. This is noted in more detail above.
496 Kern;;;2007/1/28;;;14:30
498 Bacula Version 2.0.2 released:
500 kes Fix maxruntime bug #621.
502 kes Get current main CVS .specs for RedHat, SuSE, Mandrake.
504 ebl Implement the include JobID in spool file name project.
505 kes Reorder projects file in order determined by Jan 2007 vote.
506 kes Fix open of SQLite3 db where user does not have write permission
507 so that DIR does not crash. Fixes bug #761.
509 kes Change 'Device not configured to autolabel' from INFO
511 kes Fix jobq.c to restart failed jobs when Reschedule Times = 0
512 which should restart an indefinite # of times.
513 kes Fix configure --help to print --with-mysql[=DIR]. Same for
514 other DIR specifications.
516 rn Fix msvc build problems. Fix bacula.dll exports for msvc build.
517 Fix path quoting in SQLite scripts.
518 Fix problems with SHGetFolderPath.
520 kes Create patches/2.0.1-restart.patch. Fixes bug #755.
522 kes Fix Job restart on error bug that promotes an Inc to a Full
523 backup. This should fix bug #755.
524 kes Add qt-console and first cut of code.
528 Kern;;;2007/1/13;;;14:30
530 Bacula Version 2.0.1 has been released to Source Forge.
531 This is bug fix update to version 2.0.0 and contains
534 - Fix Bacula->Documentation link on Win32 to point to index.html
535 instead of bacula.html. Fixed bug #750.
536 - Return JobId in db_get_job_record() when JobId==0. This should
538 - Do not release source pointers when restarting a failed job.
539 - Add dynamic dll entry point for SHGetFolderPath to Win32 code.
540 This *should* fix bug #747.
541 - Modify winbacula.nsi to substitute with g bin_dir_cmd. Should fix
543 - Modify USTORE constructor to set an empty store_source string,
544 and don't copy the store_source string in a cancel. Hopefully
545 this will fix Arno's seg fault, bug #744.
546 - Add back code to disable conio in configure. Fixes bug #743.
547 - Correct the Options scanner in the FD to correctly handle
548 SHA1 option, which was eating the next option. Reported by
550 - Add code to indicate when the SD is spooling, spool wait, and
551 despooling as requested by Alan Brown.
555 Kern;;;2007/1/4;;;14:30
557 Bacula Version 2.0.0 has been released to Source Forge.
559 There is an English Press Kit, written by Dan Langille at:
561 http://www.bacula.org/about/press/presskit200.html.en
563 and a German version, translated by Arno Lehmann at:
565 http://www.bacula.org/about/press/presskit200.html.de
569 Kern;;;2007/1/4;;;14:31
571 Release Notes for Bacula 2.0.0
573 Bacula code: Total files = 438 Total lines = 154,329 (*.h *.c *.in)
575 ==== IMPORTANT Catalog update required =====
576 - The database format has been updated from what was used in
577 Bacula 1.38.x. You must manually update your database before
578 running Bacula 1.39.x or higher. If you are using Bacula supplied
579 RPMs this is not necessary as the RPM does it automatically.
580 Please backup your previous version of the database before
581 running the update. The update script will be automatically
582 installed in your scripts directory, or can also be found in
583 <bacula-source>/src/cats. It is called:
585 ./update_bacula_tables
587 It is necessary to run it only once the first time you move to
588 a 2.0.0. Upgrading the Bacula version thereafter does not
589 require updating the database again. Depending on the size of
590 your database the script make take a bit of time, to run, but
591 in general, it should be very fast.
593 ==== IMPORTANT new Win32 install procedure =====
594 For Win32 migrations from versions prior to 1.39.0 nothing special
595 needs to be done to upgrade. Everything should be taken care of
596 automatically. The only thing not done is to delete the old C:\bacula
597 directory mostly out of paranoia.
599 ==== IMPORTANT miscellaneous ====
600 - The Gnome console program (gconsole) no longer functions as it
601 should.More importantly, in restore mode, the restore tree is
602 no longer shown in the left pane. I suspect this is due to
603 incompatible changes in the GTK+ API, and hence have given up
604 on gnome and gtk+, as this has already happened several times
605 previously. At some point there will be a new GUI console.
606 - The bacula-dir.conf directive Accept Any Volume has been
607 removed because it was never implemented. You must delete all
608 occurrence of this directive for the Director to run. The Storage
609 daemon will automatically accept any valid Volume that you mount.
610 - The --mandir ./configure option now points to the top level man
611 directory. The man files will be installed under mandir/man8 and
612 mandir/man1 as appropriate.
613 - You *should* be able to use 1.38.x FDs with version 2.0.0 Director
614 and SD providing you do not use any of the new features (runscript,
615 data encryption). It seems to work here, but we do not guarantee it.
616 - Your Director and SD must be simultaneously upgraded.
617 - The restore command no longer uses the MediaType as the primary method
618 of finding a suitable Storage device. Normally it will select the last
619 device used to write a Volume. If no storage device is defined, it
620 will use the old algorithm which selects the first Storage resource
621 with the correct MediaType.
622 - The MD5/SHA1 hash codes kept in the database are now kept in a binary
623 format compatible with the rest of the world. If you are running verify
624 jobs, you *must* do an InitCatalog or all files will show an MD5
625 difference. Also, authentication uses the new algorithm by
626 default, but *should* accept connections from older components (FD) using
627 the old non-compatible algorithm. This has been tested, but more
628 more testing is still needed.
629 - A stock SuSE 10.1 kernel may crash when Bacula runs and accesses
630 the tape drive. Workaround, load the SuSE 10.1 version 2.6.16.21-0.25
631 kernel or later. The SuSE 10.2 Alpha 5 or later kernel also works.
632 This problem may also be present in certain Fedora FC5 kernels.
633 - If you have been using the data encryption feature of 1.39.x, please
634 be aware that certain combinations of encryption and other options
635 with version 1.39.0 through 1.39.26 created Volume data that cannot
636 be restored. We strongly recommend that anyone using encryption
637 carefully review his/her backups and at a minium do a Full backup
638 with 1.39.28 of all encrypted data. Robert Nelson has identified
639 and fixed it as follows:
641 No filters = Works fine
643 Compression = Works fine
644 Encryption = Works fine
645 Sparse + Compression = Works fine
647 Sparse + Encryption = Restore broken
648 Sparse + Compression + Encryption = Restore broken
649 Compression + Encryption = Restore broken
652 Most combinations work, but some encrypted files are
653 not properly restored.
656 All combinations work fine except Sparse+Encryption.
658 Bottom line, if you are using data encryption, please test restoring
659 data to be sure it all works correctly.
660 - The current Volume format written by 1.39.22 is different from
661 the format written by previous versions. The two formats
662 are not compatible. Thus any DVDs written prior to 1.39.22 will
663 be unreadable by version 1.39.22.
664 - If you previously run a Bacula version prior to 1.39.30, the JobMedia
665 data may not be correct for disk Volumes. This can cause incorrect
666 seeking in versions after 1.39.30. If you experience what appears to
667 be data I/O or integrity errors during restores, please add the
668 following directive to your disk DEVICE resource in the Storage
671 Block Positioning = no
673 This will turn off all seek requests during restores and avoid
675 - VSS for Windows clients is now enabled by default.
676 - Do not unload autochanger when doing "update slots"
677 - Implement mount command for autochanger, see manual.
679 New Features in 2.0.0:
680 - Turn on disk seek code for restores.
681 - There is a partial but reasonable translation of the Bacula
682 messages for French. To install it, first configure and build
683 Bacula, then as root run:
685 cd <bacula-source>/po
688 If you have your locale set properly you will get the translated
690 - Bacula now support Migration jobs that are documented in a new
691 Migration chapter in the manual
692 http://www.bacula.org/dev-manual/Migration.html
693 - Data encryption is now implemented and is documented in
694 a new chapter of the manual at:
695 http://www.bacula.org/dev-manual/Bacula_Data_Encryption.html
696 - Additional support for removable devices. See the
697 Requires Mount, Mount Point, Mount Command, and Unmount
698 Commands in the Storage daemon configuration chapter:
699 http://www.bacula.org/dev-manual/Storage_Daemon_Configuratio.html
700 Also see the Edit Codes for Mount and Unmount Directives in the
702 - Switch the Win32 build from using Microsoft C++ to using mingw32
703 cross-compiling. The initial work was done by Howard Thomson,
704 then tweaked by me. Robert Nelson then totally reworked the
705 cross-compiling code so that it not only cross-compiles, but
706 also compiles on Visual Studio, and at the same time, he added
707 all the current Unix features to the FD, such as selection on
708 drives, encryption support, building *all* the tools, ...
709 - The Director and Storage daemon have now been ported to Win32.
710 This code is working but should still be tested carefully
711 before putting into production.
712 - Bacula restore and bextract can now extract non-portable Win32 data to
713 any client (including Unix/Linux clients). Of course, in doing so,
714 the Microsoft specific permissions and ACLs will be lost. Thanks
715 to Thorsten Engel for this code.
716 - The 260 character limitation for Win32 paths name lengths is now
717 eliminated thanks to Thorsten Engel. However, if you are using
718 Volume Shadow Copy, please be careful to specify all the paths
719 in the bacula-fd.conf file using a full path notation including
721 - Eric Bollengier wrote new RunScript directives that includes
722 the old RunBefore/AfterJob and ClientRunBefore/AfterJob features
723 plus a *lot* more, allowing you to control just about every aspect
724 of running scripts. See the manual for detailed documentation.
725 http://www.bacula.org/dev-manual/Configuring_Director.html#5227
726 - SunOS ACLs should now work thanks to a patch from David Duchscher.
727 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
728 If this patch is applied, the number of days can be specified with
729 "list nextvol days=xx"
732 This can be used to preview the next scheduled job (and the
733 next tape to be used) on Fridays if there are no scheduled jobs during
735 - From Eric Bollengier. One can now using the bconsole wait command do:
736 wait (wait for all jobs to stop)
738 wait jobuid=unique id
740 - Volumes can now be set to Enable, Disable, or Archive. If they
741 are not enabled, Volumes will not be mounted.
742 Implement update volume enable=(on|off|true|false|archived|0|1|2)
743 - Add Catalog message destination in Messages resource that puts the
744 job report in the Log database table.
745 - Writing/reading DVD Volumes is much more stable -- to the point
746 of being useful. Thanks to Richard Mortimer.
747 - Add enable/disable job=<job-name>. This command prevents
748 the specified job from being scheduled. Even when disabled,
749 the job can be manually started from the console.
750 - The database Id records should be 32/64 bit independent now. 64 bits
751 can be enabled by changing one define and changing the appropriate
752 table variable. Normally, you need 64 bits only for FileId.
753 - Relative path specifications (i.e. ../xxx) are now permitted in
754 the restore cd command.
755 - When running multiple simultaneous jobs, most jobs that use spooling
756 will now finish faster due to a mutex optimization made by Eric
758 - Conf files containing UTF-8 marker at the head of the file as well as
759 conf files containing Window cr/lf and Mac cr line termination characters
760 are now accepted thanks to Robert Nelson.
761 - Windows tray status windows are scrollable and resizable.
762 - Win32 external script execution is much more flexible -- handles
763 spaces in names better, ...
764 - Lots of DVD fixes -- writing DVDs is now reported to work.
765 - Fix opening of database in a restricted console to respect
767 - Much better automatic handling of multiple database catalogs in
769 - Permit multiple console/director resources in bconsole.conf.
770 patch from Carsten Paeth calle@calle.in-berlin.de
771 - Character substitution in Job/JobDefs WriteBootStrap.
772 from Eric Bollengier.
773 - Apply patch supplied in bug #656 to pass priority field
774 in the run dialog to the Director in gnome console.
775 - Add support of encrypted data stream to bscan from Eric.
776 display data_len instead of data content (may be binary).
777 - Add Enabled=xxx on update slots command.
778 - Add host:port to connect failure messages to FD and SD from Dir/
779 - Add WhereACL to console ACL list. If nothing is specified, only
780 the default is permitted for restore. Otherwise, *all* allows any
781 path, or you can specify permitted paths. This should allow control
782 over where users can restore files. This is untested.
783 - Install man pages with 'make install'.
784 - Add Media.Enabled flag to client backups for dotcmds.c
785 - Enforce Media.Enabled=1 for a current restore to work
786 - Require restore case 3 to have sqlquery permission to work.
787 - Add -n option to bconsole to turn off conio -- used in bweb.
788 - The bytes field in the terminated jobs part of the status
789 command now reports in KB, MB, ... units.
790 - When not descending into a directory, print the File= name that
791 triggered it -- makes why not descending a bit clearer
792 - Do not unload autochanger when doing "update slots"
793 - Implement mount command for autochanger
794 - Fix bug #462 incorrect error message printed when client script called
795 from File= was not found.
796 - Fix bug #558 (waiting for feedback) where Bacula needs too much time to
797 do a rewind on Solaris when no tape is in the drive (Solaris does not
798 have the detailed errno found on Linux). Added Solaris specific code.
799 Note, this may apply to other OSes as well.
800 - The examples directory has a new bacula_mail_summary.sh file that
801 creates a single email summary of any number of jobs. Submitted by
803 - Add nagios plugin to the examples directory. Submitted by
805 - Modify most restore error messages to be queued so that they
806 appear at the end of the job rather than mixed with the restore
807 listing where they could be "lost".
808 - Apply patch supplied by user (slightly modified) to fix
809 correct detection of holes in block devices and FIFOs.
811 - Added a report.pl program to the examples directory from Jonas Bjorklund.
812 - Add two new queries to query.sql provided by Arno. One
813 list volumes known to the Storage device, and the other
814 lists volumes possibly needing replacement (error, ...).
815 - Implement new code for changing userid and group at startup. This
816 should get Bacula into the correct groups.
817 - Implement support for removable filesystems -- device type directive
818 and mount, unmount directives.
819 - Transfer rates are now presented in a more readable format thanks
820 to a user submission.
821 - SD is now aware of what volumes are mounted. More information is printed
822 in the Status report. You must take much more care now to unmount
823 devices prior to removing tapes that Bacula has open or prior to
824 changing a magazine. Don't forget to do a mount afterwards or the
825 device will be blocked.
826 - The Pool Maximum Volumes directive is now respected in all places.
827 - A Storage device can now be specified in a Pool resource. It will override
828 all other Storage specifications.
829 - Most but not all directives accept true/false in place of yes/no.
830 - A patch from Karl Hakimian that reads JobIds, FileIndexes
831 from a database table for restore.
832 - There are a number of new tables. Some such as the Location table are
833 designed for user use in doing Volume Management software.
834 - Maximum Changer Wait, Maximum Open Wait, Maximum Rewind Wait to
835 accept time qualifiers.
836 - Implement jobuid to replace old usage of job in keywords as
837 suggested by Eric Bollengier.
838 - Implement write variables for Python to set Priority (anytime), and
839 Job Level, only during JobInit event.
840 - Use the keyword ujobid to mean the unique job id; job or jobname
841 to mean the Job name given on the Name directive, and jobid to
842 be the numeric (non-unique) job id.
843 - Allow the SD to use multiple drives during a backup/restore (only
845 - Integrate addition of line count limitation to bsmtp -l from
846 Sebastian Stark <stark at tuebingen.mpg.de>
847 - Split the bacula start/start script into four files:
848 bacula -- starts and stops calling other scripts
849 bacula-ctl-dir -- starts/stops the director
850 bacula-ctl-fd -- starts/stops the File daemon
851 bacula-ctl-sd -- starts/stops the Storage daemon
852 - Remove automatic case folding on Windows FDs. You must
853 explicitly use the 'Ignore Case = yes' option.
854 - Implement wild program in tools directory for testing
855 wild-cards. Almost identical to the regex program.
856 - Use the new bregex.c to implement Regex expressions on Win32.
857 - Apply patch from Christopher Hull
858 - Allow multiple connections to database with different
860 - Invalidate the scheduler when doing a reload. Fixes seg
861 fault, but still 60 second window.
862 - Additional info in Reschedule message.
863 - Use set_jcr_job_status() everywhere to prevent loss of
865 - Display peer IP in FD if error from connecting DIR.
866 - Don't increment file count for DIRBEGIN.
867 - Replace illegal characters in Win32 filename by _.
868 - Add SE_CREATE_PERMANENT_NAME privilege in Win32.
869 - Hash hard link filenames rather than linked list (performance).
870 - Fix for security failure in chdir on Win32.
871 - Add CreateDirectoryA/W win32 API entry points.
872 - programs to duplicate Bacula's base64 algorithm using standard
873 routines. This fixes bugs #296, and 565. Patch submitted by
875 - Fixes to reloading the Dir conf file from Eric Bollengier and Christopher
877 - Modify LICENSE to correct some problems pointed out by Debian.
878 - Apply a patch submitted by cesarb in bug #606 to implement O_NOATIME support.
879 O_NOATIME is a open() flag which makes it possible to read a file without
880 updating the inode atime (and also without the inode ctime update which
881 happens if you try to set the atime back to its previous value). It also
882 prevents a race condition when two programs are reading the same file, but
883 only one does not want to change the atime. It's most useful for backup
884 programs and file integrity checkers (and bacula can fit on both
886 You enable it in the Bacula FileSet Options resource by setting:
888 The effect of this option is similar to the keepatime option except
889 it is more efficient and avoids modifying ctime.
890 - Implement a pile of new man pages contributed by Jose Tallon.
891 - Modify the database format for handling Migration jobs:
892 Add PriorJobId, RealEndTime to Job table
894 Remove Stripe from JobMedia record (not used, wasting space)
895 Add ScratchPoolId, RecyclePoolId, Enabled to Media record
896 Add Cost to Location table.
897 Enabled to Media table and Location table.
898 - Security: harden authentication failure in FD by single threading errors
899 and forcing a 6 second wait.
900 - If using GCC (actually g++) add the following compiler flags
901 -fno-strict-aliasing -fno-exceptions -fno-rtti
902 - Turn on new bsnprintf() code. The reason for this code is to
903 eliminate the security problems associated with using the
904 system libraries print routines.
905 - Implement job report that indicates where Storage and Pool
906 came from -- with overrides and Pool storage and NextPool,
907 it is all very complicated.
908 - Add more detail (Storage, Device) to list of volumes printed
910 - Add new VOLMGMT message class. No messages are yet sent with this
912 - Improved Bacula rescue procedures -- see the Disaster Recovery
913 chapter of the manual
914 - Add spooling/despooling info in status output of SD.
915 - Add Comment field to llist of a volume.
916 - Allow true/false in many but not all yes/no directives.
917 - The Bacula source code is now copyrighted by the Free Software
918 Foundation Europe. The Developer's Guide documents the new procedures,
919 and the LICENSE file has been updated.
920 - Apply Jaime Ventura's patch that implements the Messages resource
921 Mail On Success directive.
922 - The Client returns its Version string, which is printed in the Job
924 - The Client returns whether or not VSS and Encryption are used, which
925 are printed in the Job report.
927 Additional Features Added for Win32:
928 - Added DriveType directive to the Director's Include Option FileSet
929 resource. Allowed values are: fixed, removable, cdrom, and remote. There
930 is only an implementation for Windows because it is the only platform that
931 has the concept of drives.
933 - Adds EnhancedWild directive to the Director's Include Option FileSet
934 resource. Allowed values are: yes and no.
936 When EnhancedWild is enabled then the processing of the
937 Wild, WildDir and WildFile is changed in the following ways.
939 Patterns conform to Posix
940 \ is not a special character in character classification []
941 To match a - it must be the first or last character
942 To match a ] it must be the first character
944 fnmatch option FNM_FILE_NAME is specified * doesn't match a /
945 so it won't match multiple directory levels in a path
947 - Relative WildFile patterns (ones without a leading /) match
948 against the filename portion. This in combination with the
949 FNM_FILE_NAME fnmatch() flag makes directives such as WildFile =
950 abc*.def work as expected.
952 - Adds support for the shell's feature of brace expansion.
954 Here is an example where braces allow 24 lines to be expressed in 5.
956 # Exclude directories full of lots and lots of useless little files
957 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Cookies"
958 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Recent"
959 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/History"
960 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temp"
961 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temporary Internet Files"