2 Release Notes for Bacula 2.2.9
4 Bacula code: Total files = 498 Total lines = 167,596 (*.h *.c *.in)
5 82 new files, 41,221 new lines of code, 208,380 lines of change from 2.0.3
7 This Director and Storage daemon must be upgraded at the same time,
8 but they should be compatible with all 2.0.x File daemons, unless you
9 use some of the new features that affect the FD. In other words, you should
10 not have to upgrade all your File daemons when you upgrade. There is
11 no database upgrade needed from version 2.0.x to 2.2.0.
13 Version 2.2.9 is a bug fix to version 2.2.8:
14 - Close bat console windows first to eliminate error message
16 - Remove useless code in Scheduler that causes seg fault on
18 - Correct some SD catalog request error messages.
19 - Don't allow pruning of any running job.
20 - Turn off code in read_record that causes a seg fault in the SD
21 when reading past an EOS_LABEL.
22 - Turn off unloading the autochanger in reserve.c as it just
24 - Lock volumes when unreserving a device.
25 - Do not mark volume unused when recycling.
26 - Fix bug #1068 fixes a SD crash when using Virtual autochanger.
27 - Generate correct JobMedia records during spooling/despooling when
28 running concurrent jobs. Thanks to Tom Ivar Helbekkmo
29 <tih@hamartun.priv.no> for excellent analysis and testing.
30 - *Massive* commit of all fixes and back ports to create 2.2.9
31 Mostly SD reservations enhancements.
32 - Fix Win32 FD backup/restore memory leak due to improper termination
33 of BackupRead/Write. This fixes bug# 1038.
34 - Fixes a StorageId problem with volumes after migration.
35 - Implements autostart scripts for Debian
36 - Fix mtx-changer.in for broken Debian mt program.
37 - Apply doc fix from bug #1062.
38 - Resolve crash and improper restore wx-console Win32 restore
40 - Update Win32 wxWidgets to latest version.
41 - Attempt to do correct handling of Win32 mount points. Should
43 - Add const to AIX prototype for initgroups()
44 - Undo bug #1047 heap overrun fix as it is not correct.
45 - Fix to the JobMedia patch, which introduced a new problem.
46 - Fix creating first JobMedia record during Migration to include
47 proper index. This caused slow restores of migrated jobs.
48 - Fix bug #1047, do not strip paths on symbolic links.
49 - Set catalog backup database and user name from values specified on
51 - Apply patch to correct bug #1031, about wrong pool source information
54 Version 2.2.8 is a bug fix to version 2.2.7:
55 - It fixes bugs: 1036, 1033(doc), 1028, 1040, 1045(doc), 1030,
56 1042(partially), and possibly bugs 1018 and 1032.
57 Bugs 1018 and 1032 involve problems with multiple-drive autochangers,
58 and are difficult to reproduce.
59 See the ChangeLog for more details.
61 Version 2.2.7 has several new features and several important bug fixes
63 - It fixes bugs: 1009, 1022, 1024, 1019, 1012, 1021, 1020
64 1007, 1008. For more details, please see the technotes-2.1 file.
65 - Fixed a seg fault reported by Frank Sweetser that depended on
66 exact path lengths, but the problem was in bsnprintf.c
67 - Double quoting include filenames (@xxx) in Bacula conf files is now
68 possible, thanks to a patch by Michael Stapelberg.
69 - You can pipe input to include filenames (@|prog) by using a vertical
70 bar, thanks to the above patch.
71 - A daylight savings time bug in the Win32 bsmpt was fixed by a patch from
73 - Marc Cousins submitted a patch that permits building the PostgreSQL
74 driver with version 8.3.
75 - The configure option --archivedir has been changed to --with-archivedir
77 Version 2.2.6 is a minor bug fix release to version 2.2.5
78 - It fixes bugs: #1003, 942, 982, 990(response only), 991,
80 - Fix bat crash wen it cannot connect to Director.
81 - Fix joblist failure bug in bat.
83 Version 2.2.5 is a major bug fix release to version 2.2.4
84 - It fixes the following bugs: #961, 962, 963, 969, 968, 960,
85 964, (possibly 935 and 903), 953, 953, 967, 966, 965, 954,
86 957, 908, 958, and 955.
87 - It also improves listing performance problems in bat pointed
90 Version 2.2.4 is a minor bug fix release to version 2.2.3
91 - Possible fix for authorization problems bug #953.
92 - Possible fix for bug #908.
93 - Add waits to multiple exit detection code to try to force pid
94 file to always be deleted.
95 - Restore good dev.tar.gz to rescue set appropriate binary property.
97 - Fix seg fault in error exit of acquire_for_read after unsuccessfully
98 trying to switch drives by checking for blocking before unblocking.
100 - Cancel storage daemon in all cases where FD reports error. This
101 should fix virtually all cases of bug #920 and will ensure that Devices
102 are released as soon as possible.
103 - Fix error message that was clobbered when Dir tells SD it does not
104 have write permission on Volume. This should fix a minor point
105 in bug #942, but not the main problem.
106 - Fix migration code to get correct Volume name with multiple volumes
107 by skipping |. Fixes bug #936.
108 - Implement patch supplied by Landon to fix bug #944 where using
109 TLS with bconsole uses 99+% of the CPU.
110 - Fix bug #946 about "bacula-dir -t" which doesn't works
112 - Using "m" in bconsole will show messages as in prior versions
113 and not memory usage.
115 - Note, you need GTK >= 2.10 to be able to link the Tray Monitor
118 Version 2.2.3 is a critical bug fix release to version 2.2.2
119 - Fix bug #935, and possibly also bug #903 where files were not
120 restored. MediaId was not properly set in JobMedia record after
121 a Volume change. This bug is known to affect all versions from
122 2.0.0 on, and probably versions prior to that. A detailed analysis
123 of the bug can be found at:
125 http://www.bacula.org/downloads/bug-395.txt
127 - Add ./configure search in qwt-qt4 for qwt package
128 - Apply Martin Simmons patch that should turn off the new API usage
129 when batch insert is turned off allowing building on older
131 - Note, you need GTK >= 2.10 to be able to link the Tray Monitor
134 Version 2.2.2 is a minor bug fix release to 2.2.1
135 - Detect if new PosgreSQL batch insert API is present.
136 - Correct incorrect mempool call causing Director crash on older
137 systems that do not have va_copy().
138 - Update spec files for 2.2.1 release
140 Version 2.2.1 is mainly a minor bug fix release to version 2.2.0,
141 the main changes since 2.2.0 are:
142 - Fixed bugs #921, 930, and 923.
143 - More portable timezone offset in bsmtp thaks to Attila Fülöp.
144 - Fix several bat issues.
145 - Use GTK+ calls instead of egg files in tray-monitor.
146 - Win32 service routines rewritten
147 - Updated projects file
148 Please see the ChangeLog for details.
150 Notes on 2.2.0 release follow:
152 Areas requiring caution or testing:
153 - You must have the thread safe version of MySQL client libraries loaded
154 to build with MySQL enabled.
155 - Volumes are pruned only when absolutely necessary -- this may cause
156 your database to grow compared to prior Bacula versions.
157 - Solaris door and even port files are no longer restored (equivalent
158 to what we do with sockets).
159 - SQLite is no longer supported for Solaris -- it fails too often with
160 bus errors. SQLite3 should work on Solaris.
161 - The default setting for SQLite3 is now 'PRAGMA synchronous=OFF'.
162 This makes it run 30 times faster, but increases the possiblity
163 of a corrupted database if your server shuts down unexpectedly.
164 The default behavior can be changed in src/version.h
165 - Restore on Win32, and in particular on Vista is untested. Please
166 test before relying on it. It should backup and restore reparse
168 - Win32 servers are untested, and very likely not to work.
170 The major new features are:
171 - Much faster insertion of attributes (somewhere around 10 times),
172 many thanks to Eric Bollengier and Marc Cousin.
173 - First release of bat (Bacula Administration Tool). Note to build
174 bat you must explicitly enable it on the ./configure line, you
175 must have the Qt4 version 4.2 or later libraries loaded, the qwt
176 (Qt Graphics) package loaded, and qmake and the other Qt4 tools
177 must be available. Most of the implementation was done by Dirk Bartley.
178 - Red/Black restore in memory tree (500 times faster loading).
179 - The Regex Where code to allow easier relocation of restored files
181 - Socket level heartbeat for all connections (untested).
182 - posix_fadvise() use in the FD to improve performance reduces
183 swapping due to opening/reading lots of files. Win32 equivalent
185 - Much improved Volume reservation code that should eliminate most
186 conflicts experienced in multiple drive autochangers.
187 - Simpler locking in the SD in the reservation system.
188 - Detection of file size/date change during backup if enabled.
189 - New Recycle Pool feature -- thanks to Eric.
190 - Efficient implementation of very large include/exclude lists.
191 - Volumes are no longer pruned during 'status dir'
192 - Pruning is now more efficient, and if a Volume is purged,
193 during pruning, it is immediately discovered.
194 - License is now GPL v2 without modifications, fix a few copyright
195 mistakes made when adding FSFE copyright notice.
197 New ./configure options:
198 - --enable-bwx-console
203 - --enable-batch-insert
205 New bconsole commands:
211 - .pwd (in restore tree)
212 - restoreclient (keyword)
213 - backupclient (keyword)
214 - regexwhere (keyword)
215 - update jobid (new command)
216 - recyclepool (keyword)
219 - Heartbeat Interval (bconsole.conf)
220 - Heartbeat Interval (bacula-dir.conf in Director, Client, Storage)
221 - TLS Allowed CN (bacula-dir.conf in Client)
222 - Regex Where (bacula-dir.conf in Job)
223 - Strip Prefix (bacula-dir.conf in Job)
224 - Add Prefix (bacula-dir.conf in Job)
225 - Add Suffex (bacula-dir.conf in Job)
226 - Recycle Pool (bacula-dir.conf in Pool)
227 - FailJobOnError (bacula-dir.conf in RunScript)
228 - CheckFileChanges (bacula-dir.conf in FileSet)
229 - StripPath (bacula-dir.conf in FileSet)
231 Other features or bug fixes:
232 - Fixed bugs: 916, 910, 917, 914, 906, 907,
233 842, 830, 893, 861, 888, 886, 807, 877, 872
234 885, 887, 864, 874, 882, 881, 863, 859,
235 856, 854, 845, 847, 846, 809, 772,
236 822, 825, 824, 808, 802, 797, 798, 795, 789, 791,
237 788, 780, 763, 782, 612, 767, 775, 621, 772, 764,
238 766, 621, 761, 755, 750, 741, 747, 742, 744, and 743.
239 - Configure bat with --enable-bat. Define qwt libraries with
240 --with-qwt=<dir>. See Installation chapter of manual for details.
241 - Create a depkgs-qt package that has both Qt4 and qwt, which are
242 needed to build bat. Most modern Linux systems will have both
243 these packages in the distro.
244 - Storage overrides delete all previous storage definitions instead
246 - One should be able to mount and unmount removable devices if the
247 Device resource has Removeable Media set and the mount and unmount
248 directives are defined.
249 - ./configure will do a better job of searching for qwt libraries.
250 - The Win32 version can no longer be shutdown from the tray monitor.
251 Use the command line or the Services panne.
252 - Keep prune_volumes() from pruning the whole Scratch pool.
253 - More debug output in status storage.
254 - Correct moving a Scratch volume from pool to pool (some
255 critical columns were lost).
256 - Different locking in reservations and despooling systems,
257 which means more micro-locking and less macro-locking, which
258 should give a lot more concurrency at the expense of slightly
259 (<0.1%) more overhead due to more locking/unlocking, but
260 concurrent jobs should run much faster.
261 - Additional drive reservation algorithm that should solve a lot of
262 the problems experienced with multiple drive autochangers.
263 - Storage daemon status command enhanced to more clearly show Volume,
264 pool and media type when a job is waiting.
265 - Made bsmtp work with more strict SMTP servers.
266 - Detect doubly freed buffers in smartall.c
267 - wx-console renamed to bwx-console (Fedora request)
268 - gnome-console renamed to bgnome-console (Fedora request)
269 - Migration preserves original job's FileSetId
270 - Spooling implemented for migration jobs.
271 - Config files can be read through a pipe, by specifying a leading |
272 in front of the configuration path/filename.
273 - New memory command (bconsole) that will print the current Director's
274 memory usage, and an in use buffer dump.
275 - Console name changed from *Console* to -Console- to accomodate Win32
276 filename restrictions.
277 - Corrected the Win32 ftruncate bug.
278 - Additional version information added to Job reports.
279 - New -8 option for bsmtp to specify UTF-8 encoding type.
280 - bsmtp will no longer add < > to target (from, to, cc) if there
281 is already a < in the target.
282 - Prefer Mounted Volumes extended to mean a volume that is being
283 mounted by another job.
284 - Runscript timing set to same as version 1.38.11
285 - New TLS Allowed CN directive(s) permitted.
286 - New bconsole 'exec' command to run external script/command.
287 - Turn on FreeBSD/OpenBSD code to set EOT model on tape.
288 - Drop from root done before database is opened.
289 - Database user and name can be configured with:
290 --with-db-name=name --with-db-user=user
291 - Turn on wait_for_drive in mtx-changer script.
292 - Rework how bar codes are handled in mtx-changer script.
293 This appears to have been an unreported bug.
294 - Updated nagios plugin supplied by Christian Masopust
295 - Better restricted console ACL checking.
296 - New Client Connect Wait directive in Storage daemon so that
297 users can configure how long SD waits for FD connection.
298 - Bacula will no longer permit pruning of the currently running
299 job (note, if other jobs are running, they may be pruned).
300 - Sockets are no longer restored.
301 - dbcheck works in 300K chunks so will typically run faster.
302 - Include/Exclude lists can now be efficiently handled for quite
303 large sizes -- tens of thousands of entries.
304 - Several memory leaks in migration and database usage were fixed.
305 - New console keyword restoreclient, which specifies the client to
306 which the restore will be sent. The client keyword specifies
307 the backup client. The restoreclient keyword is optional if it is
308 not specified, the backup client will also be the restore client.
309 - The disk file size is now checked to ensure that it agrees with the
310 catalog value before Bacula will append to the disk (same as tape