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