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