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