]> git.sur5r.net Git - bacula/bacula/blob - bacula/ReleaseNotes
Update docs
[bacula/bacula] / bacula / ReleaseNotes
1
2           Release Notes for Bacula 2.2.10
3
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
6
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.
12
13 Beta Release Version 2.2.10-b3
14 12May08
15 kes  Implement --without-qwt
16 kes  Fix layout of restore tree dialog
17 kes  Add configure bat QWT libraries, so that bat can be built
18      with or without the QWT libaries.
19 11May08
20 kes  Apply batfix bat cleanup patch from Riccardo.
21 kes  Make sure we unload the right slot when swapping.
22 08May08
23 kes  Improve SD reserve debug code.
24 kes  Testing an improvement to free up volumes no longer in use.
25
26 Beta Release Version 2.2.10-b2
27 03May08
28 kes  Rework SD acquire for read to handle autochanger Volume
29      swapping.
30 kes  Implement regression that explicitly tests swapping a Volume
31      from one drive to another.
32 kes  Enhance disk-changer to detect most error conditions.
33 kes  Fix SD code so that it properly swaps a Volume between drives.
34      This fixes bug #1083.
35 01May08
36 kes  Prevent a Volume that is being swapped from being freed from
37      the volume list. This will most likely fix, at least partially,
38      bug #1083.
39 kes  Fix strippath so that it does not get a buffer overrun and crash FD.
40      This fixes bug #1078.
41 kes  Make inability to change owner/group when creating a dir only a
42      warning rather than an error.
43 28Apr08
44 ebl  Fix SQL query in migration code
45 19Apr08
46 kes  Force unload of volume when wrong volume mounted in SD.
47 17Apr08
48 kes  Fix bat seg fault at termination.
49 kes  Add Bacula generated version to bat about box.
50
51
52 Version 2.2.10-b1 is primarily a Storage daemon reservations system
53   enhancement to 2.2.9-beta
54 16Apr08
55 kes  Permit multiple simultaneous restores -- experiment.
56 15Apr08
57 kes  Backport development stream SD reservation system changes.
58      See below:
59 ===
60 16Apr08
61 kes  Move final volume swapping code to DCR method and
62      call it from acquire_for_read().
63 kes  When wrong volume is mounted during read, unload_autochanger.
64 14Apr08
65 kes  Stop searching for Volumes in SD askdir if DIR returns the
66      same volume name twice in a row.
67 13Apr08
68 kes  Tweak the swap Volume from one drive to another code so that
69      it now seems to work.
70 kes  Resolve several problems with recycling that broke the new
71      code (these problems are in 2.2.9 as well).
72 kes  Remove the volume lock when calling the sysop code.   
73 kes  Don't mark a reserved volume with no writers as unused otherwise
74      jobs fail.
75 12Apr08
76 kes  Rework class structures for VOLRES, DCR, and DEVICE to make
77      the method names a bit more logical, and for more logically
78      handling the responsibilities.
79 11Apr08
80 kes  Remove redundant code in terminating the scheduler that just
81      causes a seg fault in many cases.
82 kes  Cleanup releasing a volume and make it a DCR method.
83 kes  Improve algorithm for detecting pre-reserved volume and
84      swapping volumes.
85 10Apr08
86 kes  Tweak volume swapping code so it works.
87 kes  Correct name overloading in mount.c
88 kes  Replace released flag in VOLRES with reserved and add access
89      methods for the VOLRES class.
90 kes  Prevent volume from being released while being swapped.
91 kes  Refactor parts of stored/mount.c
92 09Apr08
93 ebl  Add sanity checks for VolWriteTime and VolReadTime
94 ebl  Take care of bad clock changes while computing VolWriteTime
95      and VolReadTime. This should fix or limit #1066
96 kes  Correct error string numbers in dird/catreq.c
97 kes  Restructure reserving, acquiring, and mounting volumes. Calls to
98      autochanger are deferred for mount.c -- simplifes the code.
99 08Apr08
100 kes  Do not prune any running job. It just fails the job.
101 kes  Lock the volumes when changing dev->reserved_device and marking
102      the volume unused otherwise the device can get reserved by
103      another job before the volume is released, thus blocking it.
104 ===                                        
105
106 Version 2.2.9 is a bug fix to version 2.2.8:
107 - Close bat console windows first to eliminate error message
108   from the notifier.
109 - Remove useless code in Scheduler that causes seg fault on
110   termination.
111 - Correct some SD catalog request error messages.
112 - Don't allow pruning of any running job.
113 - Turn off code in read_record that causes a seg fault in the SD
114   when reading past an EOS_LABEL.
115 - Turn off unloading the autochanger in reserve.c as it just
116    causes problems.
117 - Lock volumes when unreserving a device.
118 - Do not mark volume unused when recycling.
119 - Fix bug #1068 fixes a SD crash when using Virtual autochanger.
120 - Generate correct JobMedia records during spooling/despooling when
121   running concurrent jobs.  Thanks to Tom Ivar Helbekkmo
122   <tih@hamartun.priv.no> for excellent analysis and testing.
123 - *Massive* commit of all fixes and back ports to create 2.2.9
124   Mostly SD reservations enhancements.
125 - Fix Win32 FD backup/restore memory leak due to improper termination
126   of BackupRead/Write. This fixes bug# 1038.
127 - Fixes a StorageId problem with volumes after migration.
128 - Implements autostart scripts for Debian 
129 - Fix mtx-changer.in for broken Debian mt program.
130 - Apply doc fix from bug #1062.
131 - Resolve crash and improper restore wx-console Win32 restore
132   GUI. Fixes bug #1065.
133 - Update Win32 wxWidgets to latest version.
134 - Attempt to do correct handling of Win32 mount points. Should
135   fix bug #1046.
136 - Add const to AIX prototype for initgroups()
137 - Undo bug #1047 heap overrun fix as it is not correct.
138 - Fix to the JobMedia patch, which introduced a new problem.
139 - Fix creating first JobMedia record during Migration to include
140   proper index. This caused slow restores of migrated jobs.
141 - Fix bug #1047, do not strip paths on symbolic links.
142 - Set catalog backup database and user name from values specified on 
143   the ./configure line.
144 - Apply patch to correct bug #1031, about wrong pool source information
145   in job report.
146
147 Version 2.2.8 is a bug fix to version 2.2.7:
148 - It fixes bugs: 1036, 1033(doc), 1028, 1040, 1045(doc), 1030,
149   1042(partially), and possibly bugs 1018 and 1032.
150   Bugs 1018 and 1032 involve problems with multiple-drive autochangers,
151   and are difficult to reproduce.         
152   See the ChangeLog for more details.
153
154 Version 2.2.7 has several new features and several important bug fixes
155   since version 2.2.6:
156 - It fixes bugs: 1009, 1022, 1024, 1019, 1012, 1021, 1020
157   1007, 1008.  For more details, please see the technotes-2.1 file.
158 - Fixed a seg fault reported by Frank Sweetser that depended on
159   exact path lengths, but the problem was in bsnprintf.c
160 - Double quoting include filenames (@xxx) in Bacula conf files is now
161   possible, thanks to a patch by Michael Stapelberg.
162 - You can pipe input to include filenames (@|prog) by using a vertical
163   bar, thanks to the above patch.
164 - A daylight savings time bug in the Win32 bsmpt was fixed by a patch from 
165   Nerijus Baliunas.
166 - Marc Cousins submitted a patch that permits building the PostgreSQL
167   driver with version 8.3.
168 - The configure option --archivedir has been changed to --with-archivedir
169
170 Version 2.2.6 is a minor bug fix release to version 2.2.5
171 - It fixes bugs: #1003, 942, 982, 990(response only), 991,   
172   993, 986, 976.
173 - Fix bat crash wen it cannot connect to Director.
174 - Fix joblist failure bug in bat.
175
176 Version 2.2.5 is a major bug fix release to version 2.2.4 
177 - It fixes the following bugs: #961, 962, 963, 969, 968, 960,
178   964, (possibly 935 and 903), 953, 953, 967, 966, 965, 954, 
179   957, 908, 958, and 955.
180 - It also improves listing performance problems in bat pointed
181   out by Chris Howells.
182
183 Version 2.2.4 is a minor bug fix release to version 2.2.3
184 - Possible fix for authorization problems bug #953.
185 - Possible fix for bug #908.
186 - Add waits to multiple exit detection code to try to force pid
187   file to always be deleted.
188 - Restore good dev.tar.gz to rescue set appropriate binary property.
189   This fixes bug #950.
190 - Fix seg fault in error exit of acquire_for_read after unsuccessfully
191   trying to switch drives by checking for blocking before unblocking.
192   Fixes bug #906.
193 - Cancel storage daemon in all cases where FD reports error. This
194   should fix virtually all cases of bug #920 and will ensure that Devices
195   are released as soon as possible.
196 - Fix error message that was clobbered when Dir tells SD it does not
197   have write permission on Volume.  This should fix a minor point
198   in bug #942, but not the main problem.
199 - Fix migration code to get correct Volume name with multiple volumes 
200   by skipping |.  Fixes bug #936.
201 - Implement patch supplied by Landon to fix bug #944 where using
202   TLS with bconsole uses 99+% of the CPU.
203 - Fix bug #946 about "bacula-dir -t" which doesn't works
204   as expected.
205 - Using "m" in bconsole will show messages as in prior versions
206   and not memory usage.
207
208 - Note, you need GTK >= 2.10 to be able to link the Tray Monitor
209   program.
210
211 Version 2.2.3 is a critical bug fix release to version 2.2.2
212 - Fix bug #935, and possibly also bug #903 where files were not
213   restored. MediaId was not properly set in JobMedia record after 
214   a Volume change. This bug is known to affect all versions from 
215   2.0.0 on, and probably versions prior to that.  A detailed analysis
216   of the bug can be found at:
217     
218       http://www.bacula.org/downloads/bug-395.txt
219       
220 - Add ./configure search in qwt-qt4 for qwt package
221 - Apply Martin Simmons patch that should turn off the new API usage
222   when batch insert is turned off allowing building on older
223   PostgreSQLs.
224 - Note, you need GTK >= 2.10 to be able to link the Tray Monitor 
225   program.
226
227 Version 2.2.2 is a minor bug fix release to 2.2.1
228 - Detect if new PosgreSQL batch insert API is present.
229 - Correct incorrect mempool call causing Director crash on older
230   systems that do not have va_copy().
231 - Update spec files for 2.2.1 release
232
233 Version 2.2.1 is mainly a minor bug fix release to version 2.2.0,
234   the main changes since 2.2.0 are:
235 - Fixed bugs #921, 930, and 923.
236 - More portable timezone offset in bsmtp thaks to Attila Fülöp.
237 - Fix several bat issues.                           
238 - Use GTK+ calls instead of egg files in tray-monitor.
239 - Win32 service routines rewritten
240 - Updated projects file
241 Please see the ChangeLog for details.
242
243 Notes on 2.2.0 release follow:
244
245 Areas requiring caution or testing:
246 - You must have the thread safe version of MySQL client libraries loaded
247   to build with MySQL enabled.
248 - Volumes are pruned only when absolutely necessary -- this may cause
249   your database to grow compared to prior Bacula versions.
250 - Solaris door and even port files are no longer restored (equivalent
251     to what we do with sockets).
252 - SQLite is no longer supported for Solaris -- it fails too often with
253   bus errors.  SQLite3 should work on Solaris.
254 - The default setting for SQLite3 is now 'PRAGMA synchronous=OFF'.
255   This makes it run 30 times faster, but increases the possiblity
256   of a corrupted database if your server shuts down unexpectedly.
257   The default behavior can be changed in src/version.h
258 - Restore on Win32, and in particular on Vista is untested. Please
259   test before relying on it.  It should backup and restore reparse
260   points.
261 - Win32 servers are untested, and very likely not to work.
262
263 The major new features are:
264 - Much faster insertion of attributes (somewhere around 10 times),
265   many thanks to Eric Bollengier and Marc Cousin. 
266 - First release of bat (Bacula Administration Tool).  Note to build
267   bat you must explicitly enable it on the ./configure line, you
268   must have the Qt4 version 4.2 or later libraries loaded, the qwt
269   (Qt Graphics) package loaded, and qmake and the other Qt4 tools 
270   must be available. Most of the implementation was done by Dirk Bartley.
271 - Red/Black restore in memory tree (500 times faster loading).
272 - The Regex Where code to allow easier relocation of restored files 
273   thanks to Eric.
274 - Socket level heartbeat for all connections (untested).
275 - posix_fadvise() use in the FD to improve performance reduces
276   swapping due to opening/reading lots of files. Win32 equivalent
277   implemented.
278 - Much improved Volume reservation code that should eliminate most
279   conflicts experienced in multiple drive autochangers.
280 - Simpler locking in the SD in the reservation system.
281 - Detection of file size/date change during backup if enabled.
282 - New Recycle Pool feature -- thanks to Eric.
283 - Efficient implementation of very large include/exclude lists.
284 - Volumes are no longer pruned during 'status dir'
285 - Pruning is now more efficient, and if a Volume is purged,
286   during pruning, it is immediately discovered.
287 - License is now GPL v2 without modifications, fix a few copyright
288   mistakes made when adding FSFE copyright notice.
289
290 New ./configure options:
291 - --enable-bwx-console    
292 - --enable-bat
293 - --with-qwt=
294 - --with-db-name=
295 - --with-db-user=
296 - --enable-batch-insert
297
298 New bconsole commands:
299 - exec
300 - memory
301 - update recyclepool
302 - .sql
303 - .api
304 - .pwd (in restore tree)
305 - restoreclient (keyword)
306 - backupclient  (keyword)
307 - regexwhere    (keyword)
308 - update jobid  (new command)
309 - recyclepool   (keyword) 
310
311 New directives:
312 - Heartbeat Interval (bconsole.conf)
313 - Heartbeat Interval (bacula-dir.conf in Director, Client, Storage)
314 - TLS Allowed CN     (bacula-dir.conf in Client)
315 - Regex Where        (bacula-dir.conf in Job)
316 - Strip Prefix       (bacula-dir.conf in Job)
317 - Add Prefix         (bacula-dir.conf in Job)
318 - Add Suffex         (bacula-dir.conf in Job)
319 - Recycle Pool       (bacula-dir.conf in Pool)
320 - FailJobOnError     (bacula-dir.conf in RunScript)
321 - CheckFileChanges   (bacula-dir.conf in FileSet)
322 - StripPath          (bacula-dir.conf in FileSet)
323
324 Other features or bug fixes:
325 - Fixed bugs: 916, 910, 917, 914, 906, 907, 
326   842, 830, 893, 861, 888, 886, 807, 877, 872
327   885, 887, 864, 874, 882, 881, 863, 859, 
328   856, 854, 845, 847, 846, 809, 772, 
329   822, 825, 824, 808, 802, 797, 798, 795, 789, 791, 
330   788, 780, 763, 782, 612, 767, 775, 621, 772, 764, 
331   766, 621, 761, 755, 750, 741, 747, 742, 744, and 743.
332 - Configure bat with --enable-bat. Define qwt libraries with
333   --with-qwt=<dir>. See Installation chapter of manual for details.
334 - Create a depkgs-qt package that has both Qt4 and qwt, which are
335   needed to build bat. Most modern Linux systems will have both
336   these packages in the distro.
337 - Storage overrides delete all previous storage definitions instead
338   of prepending.
339 - One should be able to mount and unmount removable devices if the
340   Device resource has Removeable Media set and the mount and unmount
341   directives are defined.
342 - ./configure will do a better job of searching for qwt libraries.
343 - The Win32 version can no longer be shutdown from the tray monitor.
344   Use the command line or the Services panne.
345 - Keep prune_volumes() from pruning the whole Scratch pool.
346 - More debug output in status storage.
347 - Correct moving a Scratch volume from pool to pool (some
348   critical columns were lost).
349 - Different locking in reservations and despooling systems,
350   which means more micro-locking and less macro-locking, which
351   should give a lot more concurrency at the expense of slightly
352   (<0.1%) more overhead due to more locking/unlocking, but     
353   concurrent jobs should run much faster.
354 - Additional drive reservation algorithm that should solve a lot of
355   the problems experienced with multiple drive autochangers.
356 - Storage daemon status command enhanced to more clearly show Volume,
357   pool and media type when a job is waiting.
358 - Made bsmtp work with more strict SMTP servers.
359 - Detect doubly freed buffers in smartall.c
360 - wx-console renamed to bwx-console (Fedora request)
361 - gnome-console renamed to bgnome-console (Fedora request)
362 - Migration preserves original job's FileSetId
363 - Spooling implemented for migration jobs.
364 - Config files can be read through a pipe, by specifying a leading |
365   in front of the configuration path/filename.
366 - New memory command (bconsole) that will print the current Director's
367   memory usage, and an in use buffer dump.
368 - Console name changed from *Console* to -Console- to accomodate Win32
369   filename restrictions.  
370 - Corrected the Win32 ftruncate bug.
371 - Additional version information added to Job reports.
372 - New -8 option for bsmtp to specify UTF-8 encoding type.
373 - bsmtp will no longer add < > to target (from, to, cc) if there
374   is already a < in the target.
375 - Prefer Mounted Volumes extended to mean a volume that is being
376   mounted by another job.
377 - Runscript timing set to same as version 1.38.11
378 - New TLS Allowed CN directive(s) permitted.
379 - New bconsole 'exec' command to run external script/command.
380 - Turn on FreeBSD/OpenBSD code to set EOT model on tape.
381 - Drop from root done before database is opened.
382 - Database user and name can be configured with:
383   --with-db-name=name --with-db-user=user
384 - Turn on wait_for_drive in mtx-changer script.
385 - Rework how bar codes are handled in mtx-changer script.
386   This appears to have been an unreported bug.
387 - Updated nagios plugin supplied by Christian Masopust
388 - Better restricted console ACL checking.
389 - New Client Connect Wait directive in Storage daemon so that
390   users can configure how long SD waits for FD connection.
391 - Bacula will no longer permit pruning of the currently running
392   job (note, if other jobs are running, they may be pruned).
393 - Sockets are no longer restored.
394 - dbcheck works in 300K chunks so will typically run faster.
395 - Include/Exclude lists can now be efficiently handled for quite
396   large sizes -- tens of thousands of entries.
397 - Several memory leaks in migration and database usage were fixed.
398 - New console keyword restoreclient, which specifies the client to
399   which the restore will be sent. The client keyword specifies 
400   the backup client. The restoreclient keyword is optional if it is
401   not specified, the backup client will also be the restore client.
402 - The disk file size is now checked to ensure that it agrees with the
403   catalog value before Bacula will append to the disk (same as tape
404   and DVD).