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