]> git.sur5r.net Git - bacula/bacula/blob - bacula/ReleaseNotes
Fix typo
[bacula/bacula] / bacula / ReleaseNotes
1
2                Release Notes for Bacula 5.0.0
3
4   Bacula code: Total files = 1,081 Total lines = 217,272 (Using SLOCCount)
5
6
7 =======
8 Changes since 5.0.0
9 -------------------
10 Directives:
11 - Truncate on Purge rewritten.  See New Features section in the manual.
12 - AllowHigherDuplicates disabled. It did not work as documented   
13     and was confusing.
14 - New directive "CancelLowerLevelDuplicates" See New Features
15   section in the manual.
16
17 Bug fixes:
18 1466 1467 1468 1481 1486 1488 1497 1499 1494 1448 1476
19
20 - Fix bug #1488 -- avoid recursion and race conditions in messages.c
21 - Upgrade cats library also to 5.0.0
22 - Fix missing console page in bat
23 - Add bat help files to Window install
24 - Improve Windows upgrade to ensure old FD is shutdown
25 - Fix bug #1481 -- bat consumes all console file descriptors
26 - Backport truncate on purge from 5.1.x
27 - Fix bug #1486 -- bat doesn't show any errors on command-line
28 - Update the bsock error URL
29 - Correct .my.cnf umask in make_catalog_backup.pl
30 - Apply fix for dbcheck use by make_catalog_backup.pl
31 - Fix seg fault in bscan from new comment field
32 - Allow multiple CNs when using TLS
33 - Fix seg fault in SQlite driver
34 - Make shared libs version the same as the Bacula release version
35 - Remove file_index sequential check
36 - Fix #1466 about Bogus pruning message
37
38 For Packagers:
39 1.  The default query.sql file is now, except for some comments, empty.
40 The old file, which we no longer support (it is impossible or difficult to
41 make it work on every backend, and the queries are mostly contributed) can
42 be found in <bacula-source>/examples/sample-query.sql.  The sample file is
43 not installed by the Makefiles
44
45 2.  When you install the mtx-changer script, you must also install
46 mtx-changer.conf if it does not exist.  This new file (mtx-changer.conf) is
47 required for mtx-changer to work, but it is a user configurable file, so on
48 any update, any existing file should not be overwritten.
49
50 3.  Bat should be built on every platform that is capabable of running Qt.
51 However, the Qt code is changing rather quickly and is not always
52 compatible from version to version.  We have built and verified bat on Qt
53 4.3.4.  We strongly recommend that you do not build and distribute bat with
54 any other version of Qt unless you personally test it.  To build against Qt
55 4.3.4, download the depkgs-qt package from the Bacula Source Forge download
56 location, read the README file and follow the instructions.
57
58 If you are building for Bacula version 5.0.0, please ensure that you do not
59 have qmake-qt4 loaded on your system.  If you do, either remove it or
60 rename it before trying to build bat.  If you do not, bat will probably be
61 built using the shared objects on your system.  For Bacula 5.0.1 and later,
62 this problem (bug) does not exist.
63
64 depkgs-qt does not install Qt on your system, nor does it interfere with
65 you having any other version of Qt installed on your system.  Once you
66 build bat with depkgs-qt, it should *not* use the Qt shared objects, but
67 rather they will be linked into the program.  After fully installing bat
68 (make install), you can run "ldd bat" to see what shared objects it will
69 use.  If any Qt shared objects are referenced, something has gone wrong.
70
71 4.  Unless absolutely necessary, we recommend that you do not define any
72 special library environment variables that apply to the ./configure -- for
73 example: LIBDIR=/...  ./configure <your-options> is strongly discouraged.
74 Doing so, could potentially cause Bacula to be linked against the wrong
75 shared objects.
76
77 5.  The Bacula project strongly recommends that you install Bacula into a
78 single directory, with a few minor exceptions such as the MySQL or
79 PostgreSQL databases.  Preferrably this should be /opt/bacula.  The full
80 recommendation is:
81
82 #!/bin/sh
83 # Recommended configure script for Bacula
84 prefix=/opt/bacula
85 email=xxx@yyy.zz
86 CFLAGS="-g -O2 -Wall" \
87   ./configure \
88     --sbindir=${prefix}/bin \
89     --sysconfdir=${prefix}/etc \
90     --docdir=${prefix}/html \
91     --htmldir=${prefix}/html \
92     --with-working-dir=${prefix}/working \
93     --with-pid-dir=${prefix}/working \
94     --with-subsys-dir=${prefix}/working \
95     --with-scriptdir=${prefix}/scripts \
96     --with-plugindir=${prefix}/plugins \
97     --libdir=${prefix}/lib \
98     --enable-smartalloc \
99     --enable-tray-monitor \
100     --enable-bat \
101     --with-mysql \
102     --with-dump-email=${email} \
103     --with-job-email=${email} \
104     --with-smtp-host=localhost \
105     --with-baseport=9101
106
107 Obviously, the email, and some of the minor options (mysql, postgresql,
108 ...) can be changed to suit your distribution, but the directory names
109 defined above are strongly recommended, and over time the default values in
110 the bacula-dir.conf and bacula-sd.conf will reflect these choices.
111
112 If you have any questions about this or would like a detailed document
113 describing our recommendations including packaging requirements, please
114 send an email to the bacula-devel list.
115
116 6.  Starting with Bacula version 3.0.0 up to Bacula 5.0.0, the shared
117 libraries that Bacula uses by default are named xxx-1.0.0.  Starting with
118 Bacula 5.0.1, we are going to name the libraries using the Bacula version.
119 So in Bacula 5.0.1, the libraries will be named xxx-5.0.1.  With future
120 versions, the last digit may or may not change when we distribute patch
121 updates (i.e.  the last digit of the version changes).  This will depend on
122 whether or not we have changed something in the library.  Hopefully this
123 new procedure will resolve some of the incompatibility problems between
124 different versions of the shared objects.
125
126 7.  The default build option for bconsole is conio (my own little console
127 routines).  I did this because some years ago, readline was very difficult
128 to maintain -- it and where it was found seemed to change on every release.
129 This generated at the time a number of support problems.  It seems to me
130 that since then there have been very few problems with readline.  As a
131 consequence, I have no problem if you want to make bconsole with readline
132 enabled.  It will actually give some very nice new bconsole command
133 completion functionality that Eric has written.  Bottom line: feel free to
134 use readline or not as you please.
135
136 ==========================================================
137
138
139 Release Notes for Bacula 5.0.0
140
141 Release Numbering:
142 -----------------------------------------------------------
143 You might be wondering why this release jumps from 3.0.x to 
144 5.0.0 thus skipping version 4.0.0.  We have done this for 
145 several reasons: first, we wanted a way of distinguishing
146 the numbering system for the Bacula System Enterprise version
147 and the Bacula Project version.  So, to do so, we have decided
148 that the first number of the Bacula Project version will always
149 be odd, and the first number of the Enterprise version will always
150 be even. Thus the Bacula Project now moves from 3.0.x to 5.0.x.
151 In addition, we want to keep the Bacula Project version larger
152 than the Enterprise version to indicate that the Bacula Project
153 version is more advanced or has more features than the 
154 Enterprise version. For memory, the current Enterprise version
155 is 2.6.1, and the next release (in a few months -- before June 2010)
156 will be version 4.0.0.
157
158 Warning:
159 --------------------------------------------------------------
160 Please note the three Warnings below before doing any install or
161 upgrade.
162        
163
164 Changes since 3.0.3a (the last Bacula Project release):
165 -------------------------------------------------------
166
167 Bug fixes:
168 1337 1351 1352 1354 1357 1361 1367 1369 1370 1373 
169 1376 1391 1403 1409 1420 1422 1427 1428 1431 1450 
170 1454 1455 1458 1456
171
172 Fixed:
173  - Problem that locks the Director when the SMTP server wasn't 
174    responding to the bsmtp program 
175  - Restore's dir command shows incorrect file sizes 
176  - Fix various problems with the reload command   
177  - Fix problems with conio
178  - Eliminate several deadlocks or potential race conditions from SD
179
180 Enhancements:
181  - Project 5: Truncate volume after purge
182  - Project 6: File Deduplication using Base Jobs 
183  - Project 10: Restore from Multiple Storage Daemons
184  - Project 11: AllowCompression per Device
185  - Project 23: Add Maximum Concurent Jobs for Devices to balance load 
186    between drives
187  - Add Accurate Fileset Options to configure accurate detection. Can use 
188    checksum verification for example.
189  - Allow FD to keep root read but drop write permission (CAP)
190  - Secure handling of passwords for catalog backup
191  - Add Tab-completion for Bconsole when using Readline
192  - Add Bvfs API to query the catalog without building a memory tree
193  - Add new speed test to btape program
194  - Add new Bat screens (Autochanger content, Job view, Media view, ...)
195  - Windows version of Bat
196  - Added Spanish Bacula translation   
197  - New bconsole -u nnn option to have timeout on commands
198  - Allow Migrate, Copy, and Virtual Full to read and write
199    to the same Pool
200  - show disabled   -- shows disabled Jobs
201  - Add Pool File and Job retention periods (take precedence over Client)
202  - Many ACL improvements
203  - Level added to FD status Job entry
204  - Allow turning on/off Block Checksum per device
205  - Set Device Poll interval to 5 minutes -- previously did not poll
206  - Implement lock manager with bad order protection
207
208 Compatibility:
209 As always, both the Director and Storage daemon must be upgraded at
210 the same time, and on any given machine, you must run only one version
211 of Bacula. This means that on the Director and Storage daemon machines,
212 you *must* upgrade your File daemon as well.
213
214 Older 3.0.x and possibly 2.4.x File Daemons are compatible with the 5.0.0
215 Director and Storage daemons. There should be no need to upgrade older File
216 Daemons immediately. However, we recommend that you do so as soon
217 as is reasonable for your situation.
218
219 ================== Warning !!!!!! ==========================
220
221 New Catalog format in version 5.0.0 (3.1.9 or later)
222 -----------------------------------------------------
223
224 This release of Bacula uses a new catalog format. We provide a set of
225 scripts that permit to convert a 3.0.x (version 11) catalog to 5.0.0 (version
226 12).  The Bacula project rpms distributed on Source Forge will automatically
227 detect the database change and do the upgrade for you.  We strongly
228 recommend that you save a copy of your existing database before upgrading
229 using rpms.
230
231 The simplest way to upgrade the database assuming you are building from
232 source:
233 1. Stop any current version of Bacula from running.
234 2. Save a copy of your existing database.
235 3. Configure, build, and install the 5.0.0 version of Bacula
236    Note the new ./configure options in the manuals see the link
237    at the bottom of this file.
238 4. cd <your-scripts-installation-directory>
239 5. ./update_bacula_tables
240 6. If you have multiple catalogs, edit the update_bacula_tables
241    script and put the name of another database, and then
242    execute the script again. Repeat this until all Bacula
243    catalogs have been updated.
244 7. Start the new Bacula.  If everything worked, it should
245    not print any error messages.
246
247 If you start from scratch, you don't need to run the update_bacula_tables
248 script because the create_bacula_tables script automatically creates the new
249 table format.  However, if you are using a version of Bacula older than 3.1.9
250 (e.g.  3.0.3) then you need to run the update_bacula_tables script that will
251 be found in the <bacula>/src/cats directory after you run the ./configure
252 command.  As mentioned above, before running this script, please backup your
253 catalog database, and when you do running it, be sure shutdown Bacula and be
254 aware that running the script can take some time depending on your database
255 size.
256 ================================================================
257
258
259 ================== Warning !!!!!! ==========================
260 If you upgrade a previous Win32 client installation, you must
261 first stop the File daemon, then uninstall it before attempting
262 the upgrade. If you do not do so, the upgrade will probably
263 fail and you will need to manually find and run the 
264 Uninstall.exe file, before you can upgrade to the new version.
265 This is because the file locations are different.  If you want
266 to save your previous bacula-fd.conf file, please do so before
267 uninstalling it.
268 ================================================================
269
270 ================== Warning !!!!!! ==========================
271 Due to permissions problems on Windows Vista and later systems,
272 we no longer require SYSTEM or Administrator permissions to 
273 access the binaries and configuation files.  If you wish
274 to restrict access to these files, please see the New Features
275 section of the manual for how to set access control lists.
276 ================================================================
277
278 Note, the Win32 Installer no longer installs the Bacula Servers
279 (Director and Storage daemon). See the New Features section of
280 the manual for more details.
281
282 ============ Documentation improvements needed ==================
283
284 Note!!!!! The 5.0.0+ documentation has a number of known problems:
285
286 1. We have reduced the number of manuals, which has fixed many
287    of the broken links found in the old 3.0.x version, but there
288    are still some that need fixing.
289
290 2. Integration of the 3.0.x features into the main manuals has
291    not yet been done.
292
293 The documentation will not be completed in the near future due to lack
294 manpower.  If you are unhappy with this situation as we are, we suggest
295 you help by submitting patches to the documentation.  Thanks.
296 =====
297
298
299 This release includes large number of new features and changes.
300 It should be more or less compatible with previous xx.conf files
301 and File daemons providing that you are not using any of the new
302 features.
303
304 Please see the New Features chapter of the new manual, which documents
305 some but not all the new features (we are still working on it):
306
307 http://www.bacula.org/5.0.x-manuals/en/main/main/New_Features_in_5_0_0.html
308   
309 The ChangeLog has more details.