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