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