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