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