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