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