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