]> git.sur5r.net Git - bacula/docs/blob - docs/home-page/es/news.txt
Tweak fix incorrect year
[bacula/docs] / docs / home-page / es / news.txt
1 Kern;;;30 October 2011 at 14:50 CET
2 We have released Bacula Version 5.2.1 to Source Forge
3
4
5                Release Notes for Bacula 5.2.1
6
7   Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)
8
9 General:
10 --------
11
12 This 5.2.1 version is a major release since the last version 5.0.3.
13 It includes well over 299,387 lines of changes made by 20 contributors,
14 lots of bug fixes (see below), 1,851 software commits,and a 
15 number of important new features:
16
17 Version 5.2.0
18 -------------
19 Version 5.2.0 was short lived, because Marco (thanks) found
20 a number of last minute bugs. So the first official release of 5.2
21 is 5.2.1.
22
23 Compatibility:
24 --------------
25  As always, both the Director and Storage daemon must be upgraded at
26  the same time.
27
28  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.1
29  Director and Storage daemons. There should be no need to upgrade older File
30  Daemons.
31
32 Main New Features:
33 ------------------
34 - LZO Compression
35 - New Tray Monitor
36 - Purge Migration Job
37 - Changes in Bvfs (Bacula Virtual FileSystem)
38 - Changes in the Pruning Algorithm
39 - Ability to Verify any specified Job
40 - Additions to RunScript variables
41 - Additions to the Plugin API
42 - ACL enhancements
43 - XATTR enhancements
44 - Class Based Database Backend Drivers
45 - Hash List Enhancements
46
47 Some of the above are described below; all the above are
48 described in more detail in the New Features chapter of the
49 manual.
50
51 Closed Bugs since 5.0.3:
52 ---------------------
53 1389 1444 1448 1466 1467 1468 1476 1481 1486 1488 1493 1494 1497 1499 1501
54 1502 1504 1509 1511 1513 1516 1524 1526 1527 1532 1536 1538 1541 1542 1549
55 1551 1553 1554 1558 1559 1560 1564 1567 1568 1569 1571 1574 1577 1581 1582
56 1584 1587 1594 1595 1600 1601 1602 1603 1604 1606 1608 1610 1612 1623 1624
57 1633 1643 1648 1655 1661 1664 1666 1669 1672 1675 1684 1685 1695 1696 1699
58 1700 1703 1735 1741 1749 1751 1761 1762 1764 1768 1770 1771 2710
59
60
61 ================== Warning !!!!!! ==========================
62
63  The new pruning algorithm will not allow pruning of jobs that are essential to
64  restore since the last Full backup. This is, of course, correct and desirable,
65  but it is different from older Bacula versions that could inappropriately
66  prune jobs. Pruning of volumes is not affected.
67
68 Building Bat:
69 -------------
70 To build Bat, you need Qt4 version 4.6.2.  If you build with any other
71 version it is likely not to work.  If you do not have version 4.6.2, on
72 your system, you can download the Bacula depkgs_qt version 16Dec10.
73
74 Packaging the SQL backend:
75 --------------------------
76 The main Bacula Director code is independent of the SQL backend
77 in this version. This means that the Bacula Director can be packaged
78 by itself, then each of the different SQL backends supported can
79 be packaged separately.  It is possible to build all the DB backends
80 at the same time.
81
82 - configure can be run with multiple database configure options.
83    --with-sqlite3
84    --with-mysql
85    --with-postgresql
86
87 Order of testing for database is
88 - postgresql
89 - mysql
90 - sqlite3
91
92 Each configured backend generates a libbaccats-<backend_name>-<version>.so
93 A dummy catalog library is created named libbaccats-version.so
94
95 At configure time the first detected backend is used as the so called default
96 backend and at install time the dummy libbaccats-<version>.so is replaced with
97 the default backend type.
98
99 If you configure all 3 backends you get 3 backend libraries and the postgresql
100 gets installed as the default.  When you want to switch the default you can
101 copy one of the 3 backend libraries over the libbaccats-<version>.so e.g.
102
103 cp libbaccats-postgresql-<version>.so libbaccats-<version>.so
104
105 And update the default backend in the following files:
106
107 create_bacula_database
108 drop_bacula_database
109 drop_bacula_tables
110 grant_bacula_privileges
111 make_bacula_tables
112 make_catalog_backup
113 update_bacula_tables 
114
115 New Catalog format in version 5.2.0 and greater
116 -----------------------------------------------
117 This release of Bacula uses a new catalog format. We provide a set of
118 scripts that permit to convert a 5.0.x (version 12) catalog to 5.2.1 (version
119 14).  The Bacula project rpm spec files have been modified to
120 detect the database change and do the upgrade for you.  We strongly
121 recommend that you save a copy of your existing database before upgrading
122 using rpms.
123
124 The simplest way to upgrade the database assuming you are building from
125 source (i.e. manually):
126 1. Stop any current version of Bacula from running.
127 2. Save a copy of your existing database.
128 3. Configure, build, and install the 5.2.1 version of Bacula
129    Note the new ./configure options in the manuals see the link
130    at the bottom of this file.
131 4. cd <your-scripts-installation-directory>
132 5. ./update_bacula_tables
133 6. If you have multiple catalogs, edit the update_bacula_tables
134    script and put the name of another database, and then
135    execute the script again. Repeat this until all Bacula
136    catalogs have been updated.
137 7. Start the new Bacula.  If everything worked, it should
138    not print any error messages.
139
140 If you start from scratch, you don't need to run the update_bacula_tables
141 script because the create_bacula_tables script automatically creates the new
142 table format.  However, if you are using a version of Bacula older than 5.0.0
143 (e.g.  3.0.3) then you need to run the update_bacula_tables script that will
144 be found in the <bacula>/src/cats directory after you run the ./configure
145 command.  As mentioned above, before running this script, please backup your
146 catalog database, and when you do running it, be sure shutdown Bacula and be
147 aware that running the script can take some time depending on your database
148 size.
149
150 ================================================================
151
152 Changes:
153
154 Speed and Memory Usage Enhancements:
155 - Implement LZO compression algorithm (need lzo2 headers to activate this option)
156 - New Pruning algoritm -- safer and faster
157 - Use of PostgreSQL cursor when doing large queries, should reduce the
158   memory usage during restore and accurate backups.
159 - limit command in some list commands
160 - Bacula Virtual File System for fast catalog access
161 - Faster crc32 algorithm
162
163 Security Enhancements:
164 - Additional security against injection of illegal characters
165 - Fix possible fnmatch problem
166
167 Features Enhancements:
168 - Improvements in ACL and xattr handling on additional platforms:
169   AIX, Darwind, FreeBSD, HPUX, IRIX, Solaris, Tru64
170 - Tray monitor for Windows
171 - New SQL backend and ./configure that permits building multiple catalog
172   backends in one build, and has the main Bacula core code totally independent
173   of the SQL backend, which should simplify packaging (only the
174   libbacsql.so/dll needs to be changed to switch from one database backend
175   to another (e.g. MySQL to PostgreSQL).
176 - Indent lsmark during restore
177 - Disable batch insert config item
178 - Director selection option in bconsole
179 - restorejob command in bconsole
180 - Many additional features for bat such as "brestore" panel
181 - The old bat version browser has been turned off since it does not
182   work correctly and the brestore panel provides the same functionality
183 - Improved hash table for hard links
184 - Additional script variable editing such as %b (JobBytes), %F (JobFiles) 
185   and %h (Client Address)
186
187 Other Enhancements:
188 - Includes better handling for Windows repares points, mount points, and 
189   junction points.
190 - New database format
191 - Many new plugin API features
192 - Improved memory handling for restores
193 - Significant stability enhancements to bat
194 - xattr/ACL restore failure are now printed as Warning
195 - A few path name length limits in Windows have been removed.
196
197
198 ===========================================================================
199 ;;;;
200
201 Kern;;;06 August 2010 at 19:15 CET
202 We have released Bacula Version 5.0.3 to Source Forge
203
204 This 5.0.3 version is significant bug fix update to version 5.0.2.
205 It includes new code and some new features.
206 There is no database change since prior versions of 5.0.
207
208 Note, if you are running 5.0.0, read the 5.0.1 and 5.0.2 release notes below in
209   the 5.0.1 release section.
210   Important!!!
211
212 Compatibility:
213 --------------
214  As always, both the Director and Storage daemon must be upgraded at
215  the same time.
216
217  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.0.3
218  Director and Storage daemons. There should be no need to upgrade older File
219  Daemons.
220
221 Changes and New Features:
222 - If a VSS (Windows) snapshot fails, the whole Job is failed, previously
223   it printed a warning message and continued.
224 - New editing codes %b = Job Bytes and %f = Job Files for runscripts
225 - Any non-Bacula project plugins (i.e. third party plugins) 
226   must be upgraded to specify AGPLv3 in place of the GPLv2 used previously 
227   for the PLUGIN_LICENSE.
228 - The bat Media page text columns can be sorted by clicking on the column.
229 - If possible, the SD will automatically update the catalog Volume size if 
230   it does not match the Volume size. The mismatch between the Volume sizes
231   typically occurs when the FD has a comm line drop or the FD crashes.
232
233
234 Bug fixes
235 1538 1554 1564 1567 1568 1569 1571 1577 1581 1582 1587 1594 1595 1606 1610
236
237 - Change license from GPLv2 to AGPLv3
238 - Make Win32 no filesystem change more explicit
239 - Backport Branch-4.0 release to Branch-5.0
240 - Massive backport from Branch-5.1 to Branch-5.0
241 - Fix postgresql catalog creation when version is not on the first line
242 - Fix bug #1610 handle empty xattr values on Linux and xBSD.
243 - Garbage collect memory pool at end of job and before sm_dump
244 - Add xattr seg fault protection suggested by Marco for bug #1610
245 - Add archlinux to os.m4
246 - More fixes for 32/64 bit problems in smartall
247 - Fix 32/64 bit problem in smartalloc dump routine
248 - Fix bad copy/paste in commit c88dccb88 prably a seg fault
249 - Add .dump and .exit commands for daemons
250 - Make SD automatically fix the Volume size in the Catalog when out of sync
251 - Use Pmsg in smartall.c rather than printf for tracing Windows
252 - Up maximum block size to 20M
253 - Fix for TLS bugs #1568 and #1599
254 - Improve comm line error handling for TLS, may fix bug #1568 and #1599
255 - Fix problem when sending Cancel event to plugin
256 - Convert all Jmsg on the watchdog thread to Qmsg
257 - Fix SD crash due to mismatched lock/unlock in error condition
258 - Fix bug #1587 if you have clients with different catalogs configured, both 
259   catalogs contains all clients after a reload or restart of the dir
260 - Fix bug #1577 During migration: ERROR in block.c:950 Failed ASSERT: dev->is_open() 
261   by moving and commenting out the ASSERT()
262 - Skip HB kill in FD if HB thread terminated
263 - Fix crash from unequal volume_lock/unlock calls
264 - New prunning algorithm -- should be more accurate
265 - Save any dumps during regression to dumps directory
266 - Fix crash from rw_lock/unlock miss match
267 - Attempt to fix duplicate job kill seg fault
268 - Replace pthread_kill by my_thread_send_signal() in jcr.c
269 - fix #1595 about batch mode detection problem for postgresql with non standard 
270   install dir
271 - Fix #1594 about prune copy jobs
272 - Apply literal string fix in printf submitted by Luca Berra
273 - Fix bug #1582 Restore from multiple storage daemons breaks subsequent backups
274 - Fix segfault on "cancel jobid=" command
275 - Fix bug #1554 Windows installer doesn't honor /S flag
276 - Remove pool zap code that breaks 2drive-concurrent-test
277 - Fix #1571 and install libraries with 755 perms
278 - Fix bug #1581 ASSERTs in src/dird/jobq.c can never trigger
279 - Fix problem with BaseJob and Accurate FileSet options on client side
280 - Fix for bug #1569 deadlock/crash in Dir
281 - Fix segfault when loading Plugins
282 - Fix #1567 about display of long volume names truncated during restore
283 - Added new bacula-libs package.
284 - Fix bug #1538 Start Scripts return incorrect value
285 - Fix bug #1564 init scripts not LSB compliant
286
287 See ChangeLog for more details.
288
289 ;;;;
290 Kern;;;01 August 2010 at 17:23 CET
291 Welcome to our new bacula.org server
292
293 This is our new bacula.org server, graciously provided
294 by UKFast.  Our previous server, also hosted by UKFast, was
295 getting to be a bit old, so they furnished us a new one,
296 and we are very pleased.
297
298 ;;;;
299 Kern;;;28 April 2010 at 19:15 CET
300 Eric has released Bacula Version 5.0.2 to Source Forge
301
302 This 5.0.2 version is primarily a important bug fix update to version 5.0.1.
303
304 Note, if you are running 5.0.0, read the 5.0.1 release notes below.
305   Important!!!
306
307 Compatibility:
308 --------------
309  As always, both the Director and Storage daemon must be upgraded at
310  the same time.
311
312  Older 5.0.x and 3.0.x File Daemons are compatible with the 5.0.2
313  Director and Storage daemons. There should be no need to upgrade older File
314  Daemons.
315
316 Changes since 5.0.1
317 -------------------
318
319 Bug fixes
320 1502 1511 1517 1524 1527 1532 1536 1541 1549 1551 1553 1559 1560
321
322 - Probable fix for SD crash bug #1553
323 - Fix #1559 problem when restoring pruned jobs with a regexp
324 - Fix for bug #1560 bcopy cannot find Volume
325 - Fix cancel crash bug #1551
326 - Check if sql backend is thread-safe
327 - Correct Pool display in SD status. Fixes bug #1541
328 - Fix cancel crash reported by Stephen Thompson
329 - Rewind on close to fix #1549
330 - Remove closelog() in bpipe fixes bug #1536
331 - Fix #1517 about missing Base level in .level command
332 - Replace ASSERT in block.c with fail Job
333 - Fix database locking calling db_lock and returning from function without
334   calling db_unlock.
335 - Add missing db_unlock to bvfs_update_cache.
336 - Fix #1532 about permission on binaries
337 - Fix #1527 about deadlock during migration
338 - Another fix for OpenSSLv1
339 - Add -lrt to Solaris links
340 - Fix tls.c for OpenSSLv1
341 - Fix #1511 when trying to insert more than 50.000 directories in bvfs
342 - Fix plugin load not to stop if one plugin bad -- pointed out by James
343 - Remove --without-qwt from configure statement.
344 - Second correct fix to bug #1524 verify fails after adding or removing files
345 - Fix bug #1524 verify fails after adding or removing files
346 - Apply fix suggested by Andreas in bug #1502 for mediaview column sort problem
347 - Fix OpenSSL 1.x problem in crypto.c on Fedora 12
348 - Display AllowCompress warning message only if compression used in FileSet
349
350 ;;;;
351
352 Kern;;;25 February 2010 at 15:35
353 Bacula Version 5.0.1 has been released to Source Forge
354
355 Bacula version 5.0.1 source code and Windows (32/64 bit) binaries have been 
356 released to Source Forge (thanks Eric).  
357
358 This is a major bug fix release including a few directives that have been 
359 rewritten, one new directive, and some different directive behavior (see the 
360 release notes below).  As is usual for a patch release (last digit changes by 
361 one), this version is compatible with the 5.0.0 database and with prior 
362 clients.  However, you *must* upgrade all components that are on any one 
363 machine (that is you must upgrade your Director, Storage daemon, and File 
364 daemon at the same time, if they reside on the same machine).
365
366 Note, Bacula does not normally uninstall previous versions, and we have 
367 changed the shared object naming convention, so you might want to first save 
368 your configuration files then uninstall the old Bacula using the old Bacula 
369 uninstall prior to installing the new one.  If you do not, it should not be 
370 serious, but you may be left with some older Bacula shared objects that are 
371 not used and hence wasting a small amount of disk space.
372
373 If you are upgrading from version 3.0.x or prior, please see the full release 
374 notes as you must do a database upgrade.  When updating from 5.0.0 to this 
375 release there is no database upgrade needed.
376
377 Scott has made a number of changes and improvements in the rpm packaging over 
378 the past few weeks since version 5.0.0 was released, so he will probably be 
379 releasing the 5.0.1 rpms quite soon.
380
381 Thanks for using Bacula :-)
382
383 Best regards,
384
385 Kern
386
387 =============  Performance Note ==================
388
389 Some of you have encountered performance problems with your
390 database (mainly with MySQL) with Bacula version 5.0.0.  This is
391 mainly because we've changed the SQL query used for restore,
392 accurate jobs and base jobs.  We have extensively tested this
393 change, and though it should be a little bit slower than the previous
394 versions, on a well configured database it should run
395 extremely well.  
396
397 We strongly recommend to avoid the temptation to add new indexes.
398 In general, these will cause very significant performance
399 problems in other areas.  A better approch is to carefully check
400 that all your MySQL memory configuation parameters are are
401 suitable for the size of your installation.  If you backup
402 millions of files, you need to adapt the database memory
403 configuration parameters concerning sorting, joining and global
404 memory.  By default, sort and join parameters are very small
405 (sometimes 8Kb), and having sufficient memory specified by those
406 parameters is extremely important to run fast.  
407
408 If adjusting your MySQL memory configuration values does not
409 solve your problem, you can also consider switching to
410 PostgreSQL, which performs much better with Bacula on big
411 installations (many millions of files per Job).  However for
412 large installations, you will also need to adjust the default
413 PostgreSQL memory configuration parameters.
414
415 ==========================================
416
417
418                Release Notes for Bacula 5.0.1
419
420   Bacula code: Total files = 1,081 Total lines = 217,272 (Using SLOCCount)
421
422 !!!!!!!!!!!!!!!!!!!!! NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
423 The Allow Duplicate Jobs directive has been significantly 
424 reworked, and the default value has changed. See below.
425
426 Truncate On Purge has been totally rewritten. See the new
427 features section of the manual.
428
429 When Volume Poll Interval is set in the SD DEVICE configuration,
430 (default 5 mins), after a certain number of polling tries (approx
431 10) polling will stop and the operator will be asked to
432 resolve the problem.  Previously there was no limit, and an
433 error message could be produced at each poll attempt.
434 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
435
436 Changes since 5.0.0
437 -------------------
438 - We believe that we have resolved most of the problems
439   concerning canceled or failed jobs being "stuck" in the
440   Director.  There is one outstanding problem in the SD when
441   canceling jobs that we will fix in the next major release.
442   If you see jobs that seem to be stuck, in general issuing
443   a cancel command in bconsole should now make them go away.
444
445 Directives:
446 - The default for "Allow Duplicate Jobs" has been changed from 
447   no to yes.  If you use this directive, please check your
448   conf file, and note the next two items !!!!!!!!!!!!!!!!!!!
449 - AllowHigherDuplicates disabled. It did not work as documented   
450     and was confusing.
451 - New directive "CancelLowerLevelDuplicates" See New Features
452   section in the manual.
453 - Truncate on Purge rewritten.  See New Features section in the manual.
454
455 Bug fixes:
456 1448 1466 1467 1468 1476 1481 1486 1488 1494 1497 
457 1499 1501 1505 1509 1513
458
459 - Ensure SD asks for help when looping even if poll set. Fixes bug #1513.
460 - Fix three-pool regress bug
461 - Modify bacula.spec fixes bug #1505
462 - This version fixes an issue where the console window would start out
463   docked. It is fixed by initiating the variables in the Pages class wi
464   constructor.
465 - Fix make_catalog_backup.pl fails when catalog db is on other host
466 - Apply MacOSX installer patch from bug #1509
467 - Apply fix to previous fix of Copy problem. Fix proposed by reporter o
468   #1476
469 - Fix bug #1501 -t does not print errors
470 - Apply SQLite3 update fix from bug #1497
471 - Apply bashism fix for diskchanger.in script from bug #1499
472 - Apply rpm fix for Sci Linux from bug #1494
473 - Take most recent Ukranian po from bug #1448
474 - Probable fix for Copy/Migration bug #1476
475 - Fix bug #1488 -- avoid recursion and race conditions in messages.c
476 - Upgrade cats library also to 5.0.0
477 - Fix missing console page in bat
478 - Add bat help files to Window install
479 - Improve Windows upgrade to ensure old FD is shutdown
480 - Fix bug #1481 -- bat consumes all console file descriptors
481 - Backport truncate on purge from 5.1.x
482 - Fix bug #1486 -- bat doesn't show any errors on command-line
483 - Update the bsock error URL
484 - Correct .my.cnf umask in make_catalog_backup.pl
485 - Apply fix for dbcheck use by make_catalog_backup.pl
486 - Fix seg fault in bscan from new comment field
487 - Allow multiple CNs when using TLS
488 - Fix seg fault in SQlite driver
489 - Make shared libs version the same as the Bacula release version
490 - Remove file_index sequential check
491 - Fix #1466 about Bogus pruning message
492
493 For Packagers:
494 1.  The default query.sql file is now, except for some comments, empty.
495 The old file, which we no longer support (it is impossible or difficult to
496 make it work on every backend, and the queries are mostly contributed) can
497 be found in <bacula-source>/examples/sample-query.sql.  The sample file is
498 not installed by the Makefiles
499
500 2.  When you install the mtx-changer script, you must also install
501 mtx-changer.conf if it does not exist.  This new file (mtx-changer.conf) is
502 required for mtx-changer to work, but it is a user configurable file, so on
503 any update, any existing file should not be overwritten.
504
505 3.  Bat should be built on every platform that is capabable of running Qt.
506 However, the Qt code is changing rather quickly and is not always
507 compatible from version to version.  We have built and verified bat on Qt
508 4.3.4.  We strongly recommend that you do not build and distribute bat with
509 any other version of Qt unless you personally test it.  To build against Qt
510 4.3.4, download the depkgs-qt package from the Bacula Source Forge download
511 location, read the README file and follow the instructions.
512
513 If you are building for Bacula version 5.0.0, please ensure that you do not
514 have qmake-qt4 loaded on your system.  If you do, either remove it or
515 rename it before trying to build bat.  If you do not, bat will probably be
516 built using the shared objects on your system.  For Bacula 5.0.1 and later,
517 this problem (bug) does not exist.
518
519 depkgs-qt does not install Qt on your system, nor does it interfere with
520 you having any other version of Qt installed on your system.  Once you
521 build bat with depkgs-qt, it should *not* use the Qt shared objects, but
522 rather they will be linked into the program.  After fully installing bat
523 (make install), you can run "ldd bat" to see what shared objects it will
524 use.  If any Qt shared objects are referenced, something has gone wrong.
525
526 4.  Unless absolutely necessary, we recommend that you do not define any
527 special library environment variables that apply to the ./configure -- for
528 example: LIBDIR=/...  ./configure <your-options> is strongly discouraged.
529 Doing so, could potentially cause Bacula to be linked against the wrong
530 shared objects.
531
532 5.  The Bacula project strongly recommends that you install Bacula into a
533 single directory, with a few minor exceptions such as the MySQL or
534 PostgreSQL databases.  Preferrably this should be /opt/bacula.  The full
535 recommendation is:
536
537 #!/bin/sh
538 # Recommended configure script for Bacula
539 prefix=/opt/bacula
540 email=xxx@yyy.zz
541 CFLAGS="-g -O2 -Wall" \
542   ./configure \
543     --sbindir=${prefix}/bin \
544     --sysconfdir=${prefix}/etc \
545     --docdir=${prefix}/html \
546     --htmldir=${prefix}/html \
547     --with-working-dir=${prefix}/working \
548     --with-pid-dir=${prefix}/working \
549     --with-subsys-dir=${prefix}/working \
550     --with-scriptdir=${prefix}/scripts \
551     --with-plugindir=${prefix}/plugins \
552     --libdir=${prefix}/lib \
553     --enable-smartalloc \
554     --enable-tray-monitor \
555     --enable-bat \
556     --with-mysql \
557     --with-dump-email=${email} \
558     --with-job-email=${email} \
559     --with-smtp-host=localhost \
560     --with-baseport=9101
561
562 Obviously, the email, and some of the minor options (mysql, postgresql,
563 ...) can be changed to suit your distribution, but the directory names
564 defined above are strongly recommended, and over time the default values in
565 the bacula-dir.conf and bacula-sd.conf will reflect these choices.
566
567 If you have any questions about this or would like a detailed document
568 describing our recommendations including packaging requirements, please
569 send an email to the bacula-devel list.
570
571 6.  Starting with Bacula version 3.0.0 up to Bacula 5.0.0, the shared
572 libraries that Bacula uses by default are named xxx-1.0.0.  Starting with
573 Bacula 5.0.1, we are going to name the libraries using the Bacula version.
574 So in Bacula 5.0.1, the libraries will be named xxx-5.0.1.  With future
575 versions, the last digit may or may not change when we distribute patch
576 updates (i.e.  the last digit of the version changes).  This will depend on
577 whether or not we have changed something in the library.  Hopefully this
578 new procedure will resolve some of the incompatibility problems between
579 different versions of the shared objects.
580
581 7.  The default build option for bconsole is conio (my own little console
582 routines).  I did this because some years ago, readline was very difficult
583 to maintain -- it and where it was found seemed to change on every release.
584 This generated at the time a number of support problems.  It seems to me
585 that since then there have been very few problems with readline.  As a
586 consequence, I have no problem if you want to make bconsole with readline
587 enabled.  It will actually give some very nice new bconsole command
588 completion functionality that Eric has written.  Bottom line: feel free to
589 use readline or not as you please.
590
591
592 ;;;;
593 Eric;;;25 January 2010 at 10:00
594 Bacula Version 5.0.0 has been released to Source Forge
595
596 Release Numbering:
597 -----------------------------------------------------------
598 You might be wondering why this release jumps from 3.0.x to 
599 5.0.0 thus skipping version 4.0.0.  We have done this for 
600 several reasons: first, we wanted a way of distinguishing
601 the numbering system for the Bacula System Enterprise version
602 and the Bacula Project version.  So, to do so, we have decided
603 that the first number of the Bacula Project version will always
604 be odd, and the first number of the Enterprise version will always
605 be even. Thus the Bacula Project now moves from 3.0.x to 5.0.x.
606 In addition, we want to keep the Bacula Project version larger
607 than the Enterprise version to indicate that the Bacula Project
608 version is more advanced or has more features than the 
609 Enterprise version. For memory, the current Enterprise version
610 is 2.6.1, and the next release (in a few months -- before June 2010)
611 will be version 4.0.0.
612
613 Warning:
614 --------------------------------------------------------------
615 Please note the three Warnings below before doing any install or
616 upgrade.
617        
618
619 Changes since 3.0.3a (the last Bacula Project release):
620 -------------------------------------------------------
621
622 Bug fixes:
623 1337 1351 1352 1354 1357 1361 1367 1369 1370 1373 
624 1376 1391 1403 1409 1420 1422 1427 1428 1431 1450 
625 1454 1455 1458 1456
626
627 Fixed:
628  - Problem that locks the Director when the SMTP server wasn't 
629    responding to the bsmtp program 
630  - Restore's dir command shows incorrect file sizes 
631  - Fix various problems with the reload command   
632  - Fix problems with conio
633  - Eliminate several deadlocks or potential race conditions from SD
634
635 Enhancements:
636  - Project 5: Truncate volume after purge
637  - Project 6: File Deduplication using Base Jobs 
638  - Project 10: Restore from Multiple Storage Daemons
639  - Project 11: AllowCompression per Device
640  - Project 23: Add Maximum Concurrent Jobs for Devices to balance load 
641    between drives
642  - Add Accurate Fileset Options to configure accurate detection. Can use 
643    checksum verification for example.
644  - Allow FD to keep root read but drop write permission (CAP)
645  - Secure handling of passwords for catalog backup
646  - Add Tab-completion for Bconsole when using Readline
647  - Add Bvfs API to query the catalog without building a memory tree
648  - Add new speed test to btape program
649  - Add new Bat screens (Autochanger content, Job view, Media view, ...)
650  - Windows version of Bat
651  - Added Spanish Bacula translation   
652  - New bconsole -u nnn option to have timeout on commands
653  - Allow Migrate, Copy, and Virtual Full to read and write
654    to the same Pool
655  - show disabled   -- shows disabled Jobs
656  - Add Pool File and Job retention periods (take precedence over Client)
657  - Many ACL improvements
658  - Level added to FD status Job entry
659  - Allow turning on/off Block Checksum per device
660  - Set Device Poll interval to 5 minutes -- previously did not poll
661  - Implement lock manager with bad order protection
662
663 Compatibility:
664 As always, both the Director and Storage daemon must be upgraded at
665 the same time, and on any given machine, you must run only one version
666 of Bacula. This means that on the Director and Storage daemon machines,
667 you *must* upgrade your File daemon as well.
668
669 Older 3.0.x and possibly 2.4.x File Daemons are compatible with the 5.0.0
670 Director and Storage daemons. There should be no need to upgrade older File
671 Daemons immediately. However, we recommend that you do so as soon
672 as is reasonable for your situation.
673
674 ================== Warning !!!!!! ==========================
675
676 New Catalog format in version 5.0.0 (3.1.9 or later)
677 -----------------------------------------------------
678
679 This release of Bacula uses a new catalog format. We provide a set of
680 scripts that permit to convert a 3.0.x (version 11) catalog to 5.0.0 (version
681 12).  The Bacula project rpms distributed on Source Forge will automatically
682 detect the database change and do the upgrade for you.  We strongly
683 recommend that you save a copy of your existing database before upgrading
684 using rpms.
685
686 The simplest way to upgrade the database assuming you are building from
687 source:
688 1. Stop any current version of Bacula from running.
689 2. Save a copy of your existing database.
690 3. Configure, build, and install the 5.0.0 version of Bacula
691    Note the new ./configure options in the manuals see the link
692    at the bottom of this file.
693 4. cd <your-scripts-installation-directory>
694 5. ./update_bacula_tables
695 6. If you have multiple catalogs, edit the update_bacula_tables
696    script and put the name of another database, and then
697    execute the script again. Repeat this until all Bacula
698    catalogs have been updated.
699 7. Start the new Bacula.  If everything worked, it should
700    not print any error messages.
701
702 If you start from scratch, you don't need to run the update_bacula_tables
703 script because the create_bacula_tables script automatically creates the new
704 table format.  However, if you are using a version of Bacula older than 3.1.9
705 (e.g.  3.0.3) then you need to run the update_bacula_tables script that will
706 be found in the <bacula>/src/cats directory after you run the ./configure
707 command.  As mentioned above, before running this script, please backup your
708 catalog database, and when you do running it, be sure shutdown Bacula and be
709 aware that running the script can take some time depending on your database
710 size.
711 ================================================================
712
713
714 ================== Warning !!!!!! ==========================
715 If you upgrade a previous Win32 client installation, you must
716 first stop the File daemon, then uninstall it before attempting
717 the upgrade. If you do not do so, the upgrade will probably
718 fail and you will need to manually find and run the 
719 Uninstall.exe file, before you can upgrade to the new version.
720 This is because the file locations are different.  If you want
721 to save your previous bacula-fd.conf file, please do so before
722 uninstalling it.
723 ================================================================
724
725 ================== Warning !!!!!! ==========================
726 Due to permissions problems on Windows Vista and later systems,
727 we no longer require SYSTEM or Administrator permissions to 
728 access the binaries and configuation files.  If you wish
729 to restrict access to these files, please see the New Features
730 section of the manual for how to set access control lists.
731 ================================================================
732
733 Note, the Win32 Installer no longer installs the Bacula Servers
734 (Director and Storage daemon). See the New Features section of
735 the manual for more details.
736
737 ============ Documentation improvements needed ==================
738
739 Note!!!!! The 5.0.0+ documentation has a number of known problems:
740
741 1. We have reduced the number of manuals, which has fixed many
742    of the broken links found in the old 3.0.x version, but there
743    are still some that need fixing.
744
745 2. Integration of the 3.0.x features into the main manuals has
746    not yet been done.
747
748 The documentation will not be completed in the near future due to lack
749 manpower.  If you are unhappy with this situation as we are, we suggest
750 you help by submitting patches to the documentation.  Thanks.
751 =====
752
753
754 This release includes large number of new features and changes.
755 It should be more or less compatible with previous xx.conf files
756 and File daemons providing that you are not using any of the new
757 features.
758
759 Please see the New Features chapter of the new manual, which documents
760 some but not all the new features (we are still working on it):
761
762 http://www.bacula.org/5.0.x-manuals/en/main/main/New_Features_in_5_0_0.html
763   
764 The ChangeLog has more details.
765
766 ;;;;
767
768
769 Kern;;;18 October 2009 at 21:00
770 Bacula Version 3.0.3 has been released to Source Forge
771
772 Note, if you are not already running 3.0.x, read the 3.0.x release notes 
773   below.  Important!!!
774
775 Version 3.0.3 is primarily a important bug fix update to version 3.0.2.
776
777 Changes since 3.0.2:
778 Bug fixes:
779  1391, 1288, 1346, 1352, 1359, 1355, 1363, 1364, 1365, 1366, 1368, 
780  1369, 1370, 1371, 1382
781
782 Fixes:
783      Apply James' fix for some Exchange plugin crashes
784      Integrate patch for building dmg on OSX from Lorenz Schori <lo@znerol.ch>
785      Fix bug #1391 Job status improperly set due to subtle variable overload problem
786      Fix #1352 about double free with regexp and big filenames on windows
787      Apply Graham's idea for recovering from disk full by recursing
788        when doing fixup_write_error ...
789      Make fix for VirtualFull changing device based on suggestion by
790        Nicolae Mihalache <mache@abcpages.com>
791      Fix concurrent Job recycle bug #1288
792      Backport part of one possible fix from bug #1346
793      Fix bug #1382 newly created disk volumes -> file not found warning
794      Fix Alpha ifdefing -- should fix bug #1359
795      Use old code for selecting file during restore.
796      Cherry-pick 3.1.x commits
797      tweak space on projects file
798      Fix seg fault in ignoredir code
799      Apply Frank's slash patch
800      Fix seg fault in SD bug #1371
801        3.0.2-Fix-seg-fault-in-SD-bug-1371.patch 
802      Add more info when SD connection refused
803        3.0.2-Add-more-info-when-SD-connection-refused.patch
804      Fix bug #1355 Director crashes with double free in Accurate SQL query
805        3.0.2-accurate.patch
806      Fixes bug #1368 ASSERT Failure on MacOS.
807        3.0.2-mac-path-len.patch
808      Fix #1364 and #1363 about compression buffer error.
809        3.0.2-zlib-buffer.patch
810      Fixes bug #1365 and #1366 about MacOSX resource forks. 
811        3.0.2-bug-1365.patch and 3.0.2-bug-1366.patch
812      Fix "Exclude Dir Containing" fileset option
813        3.0.2-exclude-dir-containing-fd.patch
814        3.0.2-exclude-dir-containing.patch
815        3.0.2-exclude-dir-containing-top_level.patch
816
817 Compatibility:
818  As always, both the Director and Storage daemon must be upgraded at
819  the same time.
820
821  Older 3.0.x and possibly 2.4.x File Daemons are compatible with the 3.0.3
822  Director and Storage daemons. There should be no need to upgrade older File
823  Daemons.
824
825 ;;;;
826
827 Kern;;;20 July 2009 at 14:49
828 Bacula Version 3.0.2 has been released to Source Forge
829 Note, if you are not already running 3.0.x, read the 3.0.x release notes
830 below.  Important!!!
831
832 Version 3.0.2 is primarily a important bug fix update to version 3.0.1 with
833 some enhancements (see below).
834
835 Changes since 3.0.1:
836
837 Bug fixes:
838   1029, 1285, 1298, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1311, 1315
839   1317, 1318, 1323, 1325, 1331, 1333, 1335
840
841 Fixed:
842  - Fix problem with the Postgresql driver that sometime displays <NULL> values
843  - Cleanup old job records when starting the Director
844  - Fix bugs in xattr code
845  - Fix encoding problem with Postgresql
846  - Fix that prevents restore by file selection from using Copy job
847
848 Enhancements:
849  - Security enhancement for the File Daemon
850  - New directive to specify source address for outgoing connexions
851  - Show volume availability in autochanger when doing restore.
852    This is project 31 in the projects file.
853  - Add accurate=yes/no option to estimate command
854  - Add --with-hostname, --with-bsrdir, --with-logdir to ./configure
855  - Add a restore menu that contructs a full restore when entering a JobId.
856    This is project 2 in the projects file.
857  - Add new Nagios plugin
858
859 Compatibility:
860 Like always, both the Director and Storage daemon must be upgraded at
861 the same time.
862
863 Older 3.0.x and possibly 2.4.x File Daemons are compatible with the 3.0.2
864 Director and Storage daemons. It should be no need to upgrade older File
865 Daemon.
866 ;;;;
867
868 Kern;;;30 April 2009 at 17:49
869 Bacula Version 3.0.1 has been released to Source Forge.
870
871 Note, if you are not already running 3.0.0, please read the 3.0.0 release notes.  Important!!!
872
873 Version 3.0.1 is primarily a minor bug fix update to version 3.0.0 with
874 one enhancement (see below).
875
876 Changes since 3.0.0:
877 Bug fixes:
878   1276, 1274, 1275, 1272 1246, 1268, 1281, 1282.
879
880 Fixed:
881 - Check for job_canceled() in fd_plugin code.
882 - Update Win32 table creation to have new DB version 11 format
883 - Remove illegal Options in Exclude of default Win32/64 bacula-dir.conf
884 - Remove 'Reposition' messages when restoring
885 - Updated projects file
886 - Tweak version string to display versionid field at the end
887   and keep fields order.
888   - Add additional mysql connection debug code submitted by:
889     Chandranshu <chandranshu@gmail.com>
890
891 Enhancement:
892 - Modify insertion of read Volumes in SD to be done *before* the
893   drive reservation. This ensures that a Volume to be read will not
894     be reserved for writing. Significant improvement in eliminating
895       tape deadlock situations.
896
897 Note, both the Director and Storage daemons must be upgraded at the
898 same time. The 3.0.1 File daemons are compatible with 3.0.0 file
899 daemons and as noted below in the 3.0.0 release notes the Director
900 and Storage daemon should be compatible with 2.4.x File daemons.
901 In general, we do not expect any of the 3.0.x File daemons to work with older
902 Directors and Storage daemons (as has always been the case for Bacula
903 releases).
904
905 ============ Documentation improvements needed ==================
906
907 Note!!!!! The 3.0.0+ documentation needs rather extensive modifications in the
908 following areas:
909
910 1. Missing documentation.
911 2. Correction of links within various manuals -- most fail.
912 3. Integration of the new features into the main documents.
913 4. Much more.
914
915 The documentation will not be completed in the near future due to lack
916 manpower.  If you are unhappy with this situation as we are, we suggest
917 you help by submitting patches to the documentation.  Thanks.
918 =====
919 ;;;
920
921 Kern;;;09 April 2009 at 22:30
922 Bacula Version 3.0.0 has been released to Source Forge.
923
924 This is to inform you that we have uploaded the Bacula version 3.0.0 source 
925 tar files and the Win32/64 installer files to the Bacula Source Forge 
926 download location.
927
928 There are quite a number of new features in this release, and upgrading to it 
929 requires a database upgrade, so please read the release notes carefully 
930 (included below) and the documentation for the new features at:
931
932 http://www.bacula.org/manuals/en/concepts/concepts/New_Features.html
933
934 There is still a good deal of work to do to finish the release process (mainly 
935 reorganizing the web site manuals ...), but at least the source files are 
936 released.  The rpms should follow shortly (probably this weekend).
937
938 If you are currently using 2.4.4, please note that within a few months that 
939 version will no longer be supported, so please consider the possibility of 
940 upgrading.
941
942 This release probably has the most new features that we have ever released, 
943 and it has taken a long time to produce it.  The basic code is very well 
944 tested, and if you stick to 2.4.4 features, you are unlikely to experience 
945 problems.  However, many of the new features have not been well tested, so 
946 your help will be appreciated.
947
948 The following issues with 3.0.0 are known and we are working on them:
949
950 1. The documentation is not 100% complete (there are so many new features that 
951 we missed documenting some).  
952
953 2. All the new documentation is in the New Features chapter, but not all of it 
954 has yet been integrated back into the appropriate chapters.
955
956 3. James has reported that the Exchange plugin may crash if you cancel a job 
957 while it is running.  He is working on this.
958
959 4. The SD has many new features that will make it more stable. One in 
960 particular is that it knows what Volumes will be read during a migration, 
961 copy, or Virtual backup job, and will ensure that they are not selected for 
962 writing (something easy to do if you are using disk files and the same pool 
963 for reading an writing).  However, the day after the release was cut, I found 
964 a problem with this code that prevents it from working properly during 
965 certain pre-allocations of the write tape.
966
967 5. There is still an outstanding bug report on VSS failing (it seems to be a 
968 bit of a rare case).
969
970 As I previously announced, we will now make 3.0.0 our main release source code 
971 stream, and we hope to release new version every six months and bug fix 
972 updates even sooner.  To be able to do this, we will support version 2.4.4 
973 only for a few more months.  There after the project will only support the 
974 most current release ...
975
976 This release comprises a lot of work by a lot of different people and many 
977 contributions.  Normally I hesitate to mention particular people or 
978 contributions because I always forget someone, but since this was such a big 
979 release, I would like to mention at least the big contributions:
980
981 Sponsor Company(s)  -  Programmer - Project
982 Bacula Systems - Eric Bollengier - Accurate Backup
983 Bacula Systems - Eric Bollengier - Catalog format enhancements
984 Bacula Systems - Eric Bollengier - bextract non-portable Win32 data
985 Bacula Systems - Eric Bollengier - Win64 File daemon
986 Bacula Systems - Eric Bollengier - SD deadlock detection + postmortum dump
987 Bacula Systems - Eric Bollengier - Faster Attribute despooling if DIR & FD on 
988                                                      same machine
989 Bacula Systems - Eric Bollengier - Virtual tape emulation
990 Bacula Systems - Kern Sibbald - USB rescue key
991 Equiinet funded development - James Harper - MS Exchange plugin
992
993 Personal contributions:
994 Kjetil Torgrim Homme - Regex expressions for restore in bootstrap file
995 Marco van Wieringen - ACL code overhaul
996 Marco van Wieringen - Solaris ZFS/NFSv4 ACL support
997 Marco van Wieringen - Extended Attribute support
998 Marco van Wieringen - Shared Objects
999 Dirk Bartley - Bat speedup + stability improvement + many enhancements
1000 Joao Henrique Freitas - libdbi catalog driver
1001 Scott Barninger - rpm packaging
1002 Kern Sibbald - many big and little projects ...
1003 Many people -- see the AUTHORS file.
1004
1005 Many thanks to everyone for making Bacula what it is today.
1006
1007 === List of new features ===
1008 - Accurate Backup
1009 - Copy Jobs
1010 - ACL code overhaul
1011 - Solaris ZFS/NFSv4 ACL support
1012 - Extended Attribute support
1013   --disable-xattr (default=auto)
1014 - Shared Objects
1015   --enable-libtool (default)
1016   --disable-libtool
1017 - Virtual Backup
1018 - Catalog Format Enhancements
1019   - Support for more than 4 Billion file entries
1020   - New stats tables
1021 - Duplicate Job Control
1022 - TLS Authentication
1023 - bextract non-portable Win32 data
1024 - State File updated at Job Termination
1025 - Bacula Plugins
1026   - FD bpipe plugin
1027   - FD Exchange plugin
1028 - libdbi DB driver
1029 - Console Enhancements
1030   - status slots
1031   - list joblog
1032   - command separator
1033 - Bootstrap regex
1034 - Restore seek optimization
1035 - Virtual Tape Emulation
1036 - Bat Enhancements
1037 - RunScript Enhancements
1038 - Status enhancements
1039 - FD connect timeout default to 3 minutes
1040 - ftruncate implemented for NFS Volumes
1041 - FD Version compatibily flag
1042 - Statistics Enhancements
1043 - Faster Attribute despooling
1044 - Document split into 6 manuals
1045 - GPLv2 license now compatible with OpenSSL
1046 - Win64 File daemon
1047 - Postmortum dump improvements in SD
1048 - Deadlock mutex detection in SD
1049 - Improved Volume management in SD to avoid deadlocks.
1050 - New configure install options
1051   --docdir=  (default=/usr/share/doc/bacula-VERSION)
1052   --htmldir= (default=/usr/share/doc/bacula-VERSION/html -- bat help files)
1053   --plugindir= (default=sysconfdir, where plugins will be installed)
1054 - New Bare Metal Recovery with USB key. See rescue/linux/usb
1055  New Directives:
1056 - Max Full Interval
1057 - Max Diff Interval
1058 - Honor No Dump Flag
1059 - Exclude Dirs Containing
1060 - Recycle Pool
1061 - Max Run Sched Time
1062 - Max Wait Time    
1063 - Full/Diff/Incr Max Run Time
1064 - Scratch Pool
1065 - Max Console Connections
1066 - Spool Size (in Job resource)
1067 - Allow Mixed Priorities
1068 - Allow Duplicate Jobs
1069 - Allow Higher Duplicates
1070 - Cancel Queued Duplicates
1071 - Cancel Running Duplicates
1072 - TLS Authenticate
1073 - Console (in RunScript)
1074
1075 New features from Project Items Completed for version 3.0.0
1076     also listed above:
1077 Item  1:  Accurate restoration of renamed/deleted files
1078 Item  3:  Merge multiple backups (Synthetic Backup or Consolidation)
1079 Item  4:  Implement Catalog directive for Pool resource in Director
1080 Item  5:  Add an item to the restore option where you can select a Pool
1081 Item  8:  Implement Copy pools
1082 Item 12:  Add Plug-ins to the FileSet Include statements.
1083 Item 13:  Restore only file attributes (permissions, ACL, owner, group...)
1084 Item 18:  Better control over Job execution
1085 Item 26:  Store and restore extended attributes, especially selinux file 
1086 contexts
1087 Item 27:  make changing "spooldata=yes|no" possible for
1088 Item 28:  Implement an option to modify the last written date for volumes
1089 Item  n:  Split documentation into several books
1090 ================================
1091
1092
1093        Release Notes for Bacula 3.0.0
1094
1095   Bacula code: Total files = 520 Total lines = 205,459 (*.h *.c *.in)
1096
1097 The diff between 2.4.4 and 2.5.x is 208,340 lines, so this release
1098 represents an enormous effort.
1099
1100 This Director and Storage daemon must be upgraded at the same time,
1101 but they should be compatible with all 2.4.x File daemons, unless you
1102 use some of the new features that affect the FD.  In other words, you should
1103 not have to upgrade all your File daemons when you upgrade. However, any
1104 release of version 2.5.40 or greater requires a database upgrade.
1105
1106 ================== Warning !!!!!! ==========================
1107
1108 New Catalog format in version 3.0.0 (2.5.40 or later)
1109 -----------------------------------------------------
1110
1111 This release of Bacula uses a new catalog format. We provide a set of
1112 scripts that permit to convert a 2.4.x (version 10) catalog to 3.0.0 (version
1113 11).  The Bacula project rpms distributed on Source Forge will automatically
1114 detect the database change and do the upgrade for you.  We strongly
1115 recommend that you save a copy of your existing database before upgrading
1116 using rpms.
1117
1118 The simplest way to upgrad the database assuming you are building from
1119 source:
1120 1. Stop any current version of Bacula from running.
1121 2. Save a copy of your existing database.
1122 3. Configure, build, and install the 3.0.0 version of Bacula
1123    Note the new ./configure options in the manuals see the link
1124    at the bottom of this file.
1125 4. cd <your-scripts-installation-directory>
1126 5. ./update_bacula_tables
1127 6. If you have multiple catalogs, edit the update_bacula_tables
1128    script and put the name of another database, and then
1129    execute the script again. Repeat this until all Bacula
1130    catalogs have been updated.
1131 7. Start the new Bacula.  If everything worked, it should
1132    not print any error messages.
1133
1134 The upgrade operation will convert the FileId index field of the File table
1135 from 32 bits to 64 bits.  This operation will take TIME and will *temporarily* 
1136 DOUBLE THE SIZE of your catalog. Bacula must be shutdown during this update,
1137 so, won't be able to run jobs during this period.  For example, a 3 million 
1138 files
1139 catalog will take 2 mins to upgrade on a normal machine.  Don't forget to
1140 backup it before executing the script.
1141
1142 If you start from scratch, you don't need to run the update_bacula_tables
1143 script because the create_bacula_tables script automatically creates the new
1144 table format.  However, if you are using a version of Bacula older than 2.5.40
1145 (e.g.  2.4.4) then you need to run the update_bacula_tables script that will
1146 be found in the <bacula>/src/cats directory after you run the ./configure
1147 command.  As mentioned above, before running this script, please backup your
1148 catalog database, and when you do running it, be sure shutdown Bacula and be
1149 aware that running the script can take some time depending on your database
1150 size.
1151
1152
1153 Important New configure options :
1154 ----------------------
1155
1156 This release of Bacula 3.0.0 uses libtool by default
1157 to generate the Bacula libraries as shared objects rather than
1158 being directly linked in as in prior versions.  This means that
1159 the Bacula shared objects, must either be in a shared object 
1160 directory known to the loader or they must be in the directory
1161 where the Bacula binaries are installed.  It is also possible
1162 to explicitly specify the libraries directory on the ./configure
1163 line (--libdir=/full-path/dir), but this should not be necessary.
1164
1165   ./configure --libdir=<full-path>
1166
1167 If you have problems with libtool or you wish to use the old 
1168 way of building libraries and linking them into Bacula, you 
1169 can do so by disabling libtool on the configure command line with:
1170
1171   ./configure --disable-libtool
1172
1173 During the installation of Bacula 3.0.0, it will now install
1174 bat help files (if you have configured bat).  These files
1175 are placed in /usr/share/doc/bacula/html by default. If you
1176 want to put them elsewhere use:
1177
1178   ./configure --htmldir=<full-path>
1179
1180 During the installation of Bacula, it will now install the
1181 ReleaseNotes, License, technotes, ChangeLog, and similar
1182 files in /usr/share/doc/bacula by default.  If you
1183 want to put them elsewhere use:
1184
1185   ./configure --docdir=<full-path>
1186
1187 During the installation of Bacula, any plugins will be
1188 installed in the plugindir, which is by default the
1189 same as libdir (/usr/lib).  You can specify an alternate
1190 location with:
1191
1192   ./configure --with-plugindir=<full-path>
1193
1194 ==============================================================
1195
1196 This release includes large number of new features and changes.
1197 It should be more or less compatible with previous xx.conf files
1198 and File daemons providing that you are not using any of the new
1199 features.
1200
1201 Please see the New Features chapter of the new manual, which documents
1202 some but not all the new features (we are still working on it):
1203
1204 http://www.bacula.org/manuals/en/concepts/concepts/New_Features.html
1205   
1206 The ChangeLog has more details.
1207
1208 ;;;
1209 Kern;;;03 Nobember 2008 at 17:35
1210 Critical 2.4.3-orphaned-jobs.patch released
1211 We recently found and corrected a serious bug in Bacula that causes jobs to be
1212 orphaned or "stuck" in the director during the pruning process.  Depending on
1213 what jobs get stuck and how many there are, it could prevent additional jobs
1214 from running.  As best we can tell, this problem occurs only during what could
1215 be called extreme pruning conditions -- i.e.  there are insufficient Volumes
1216 available for normal operations.
1217
1218 In any case, we recommend that everyone apply the 2.4.3-orphaned-jobs.patch,
1219 which you can find in the bacula-patches section of the Source Forge download
1220 area as well as in the directory patches of both the trunk and Branch-2.4 SVN.
1221 ;;;
1222
1223 Kern;;;12 October 2008 at 10:30am
1224 Creation of Bacula Systems SA
1225 Dear Members of the Bacula Community,
1226
1227 I'm pleased to announce the creation of Bacula Systems S.A., a new company to 
1228 provide professional support and service for Bacula.  I believe you will be 
1229 pleased to see how we have married a strong commitment to the ethos of honest 
1230 open source software with the availability of services desired by a wide 
1231 range of Bacula users. 
1232
1233 As many of you know, I began work on Bacula in 2000 and released the first 
1234 public version in April 2002 to Source Forge.  Although I have personally 
1235 written a very substantial part of the code, I offer sincere thanks to the 
1236 many members of the community who have provided ideas, fixes, testing, and 
1237 contributions of code, without which Bacula would not be what it is today.  
1238 It has been a labor of love and I am pleased that so many people have found 
1239 Bacula useful. 
1240
1241 Before telling you more about Bacula Systems, let me reiterate my unfaltering, 
1242 ongoing commitment to open source software and the Bacula open source 
1243 project. The code for Bacula and all future releases will remain available as 
1244 free open source software under the GPL license that I transferred to the 
1245 protection of the Free Software Foundation of Europe. Unlike some other open 
1246 source projects, there will be no separate "enterprise" or proprietary 
1247 version of the Bacula source code. www.bacula.org will continue to be the 
1248 home for Bacula project development.
1249
1250 So, why create Bacula Systems? The company was created to respond to requests 
1251 from users who want professional support with guaranteed levels of service 
1252 and response times.  To ensure continuity and the highest level of knowledge 
1253 transfer, I will take the position of Chairman of the Board and Chief 
1254 Technical Officer of Bacula Systems S.A..  
1255
1256 Several members of the Bacula community have joined me to start the company. 
1257 The other team members are also strongly dedicated to the spirit of keeping 
1258 Bacula open and free while simultaneously offering commercial services to 
1259 those for whom it is essential in making the decision to deploy Bacula.  
1260 Bacula Systems is self-financed -- the initial capital comes from the 
1261 founders; no outside venture capital was sought or accepted.  This means we 
1262 have the power to establish the company's priorities and we can remain 
1263 dedicated to "honest open source". Bacula Systems S.A. is a Swiss company 
1264 with offices in Yverdon-les-Bains, and with branches in France and Germany 
1265 initially.  We will open additional branches as business requires.
1266
1267 I will continue to support development of Bacula via bacula.org and the Bacula 
1268 community. Future developments will be in the "community" code base which 
1269 will remain free.  Bacula Systems will offer "funded development" to 
1270 customers who wish to accelerate the addition of certain features to Bacula.  
1271 Code developed this way will be contributed to the free distribution and will 
1272 be available to the entire community at no charge. Bacula Systems will 
1273 provide additional fee-based services, including high quality consulting, 
1274 training, documentation and certified binaries.
1275
1276 Our goal in establishing Bacula Systems is to be inclusive of the community, 
1277 and expand it by creating opportunities for members of the Bacula community 
1278 through a well-defined Partner Program.  If you provide IT services or 
1279 consulting, the Bacula Systems Partner Program can provide you with the 
1280 additional back-up (pardon the pun) support you need to serve your customers 
1281 more effectively. 
1282
1283 Our plan is to develop an international network of partners who offer high 
1284 value added services to Bacula users -- installing, configuring and optimizing 
1285 Bacula for their customers, as well as Level 3 and 4 support, with guaranteed 
1286 service levels.  We will also provide training and tools to our partners.
1287
1288 The Bacula project website, www.bacula.org, and Source Forge will be unchanged 
1289 in the mission and ideals of being  free sources of information, mail lists 
1290 and forum-based support for and by the community. Both Bacula source code and 
1291 Bacula binaries will continue to be available for free, as in the past, and 
1292 new releases will also be available for free. The new commercial website, 
1293 www.baculasystems.com will provide information on commercial subscriptions 
1294 for those users who want guaranteed levels of service, support, documentation 
1295 and certified binaries.  
1296
1297 All members of the Bacula community are encouraged to register for free at 
1298 www.baculasystems.com, so that you will receive announcements and news about 
1299 our commercial activities, and so that you can send feedback to our new 
1300 company, Bacula Systems.
1301
1302 Thank you for your interest and participation in the Bacula community.  
1303
1304 Sincerely,
1305
1306 Kern Sibbald
1307 ;;;
1308
1309 Kern;;;11 October 2008 at 11:30am
1310 Bacula version 2.4.3 Released
1311 This is to let you know that the source tar files and the Win32 binaries for 
1312 Bacula version 2.4.3 have been released to the Bacula Source Forge download 
1313 area.
1314
1315 Release 2.4.3
1316  This is a bug fix to version 2.4.2.  All daemons are compatible
1317  with other 2.4.x versions.
1318
1319 Bugs Fixed:
1320   1159, 1162. 1149, 1128, 1143, 1140, 1129
1321
1322 Change Summary:
1323 - Apply 2.4.2-cancel-non-running-jobs.patch to be able to cancel
1324   a non created job faster.
1325 - This should correct bug #1159 where Migration does not properly
1326   respect the Migration Low Bytes directive.
1327 - Fix typo in configure.in that breaks --with-db-password option
1328 - This code should fix the race condition that leads to a Director
1329   crash at job end time when the job list is updated. This was reported
1330   in bug #1162.
1331 - Remove all double quotes from SQLite creating script and
1332   replace by single quotes as suggested by John Huttley.
1333 - Fix SQL case problem that may cause the failure of DiskToCatalog
1334   in bug #1149.
1335 - Copy missing storage name into edit buffer. As far as I can tell
1336   this never caused a bug.
1337 - Remove catalog dependency for bcopy
1338 - Modify catalog scripts to have an easier packaging integration,
1339   using default variables.
1340   Make difference between SQLite3 and SQLite in db_get_type()
1341 - Attempt to fix bug #1128 InChanger flag cleared during Migration
1342   job when reading from one autochanger and writing to another.
1343 - Add more information to SD acquire.c INFO messages.
1344 - Fix NULL Volume name error when reading and the drive must
1345   be switched.
1346 - Fix a Verify InitCatalog problem where in certain cases
1347   a garbage filename may be entered in the verification database.  This
1348   fixes bug #1143.
1349 - Add space after version before date in bat about dialog.
1350 - Fix seg fault in Dir during estimate command with no level value
1351   given. This fixes bug #1140.
1352 - Add message to migration job when the target job is already migrated.
1353   This closes bug #1129.
1354
1355 Unless some really serious new bug shows up, this will be the last release 
1356 until the next major version (3.0.0), which we hope will be ready around the 
1357 end of the year.
1358 ;;;
1359
1360 Kern;;;26 July 2008 at 10:30am
1361 Bacula version 2.4.2 Released
1362 This is to inform you that we have released the source and Win32 binaries of 
1363 Bacula version 2.4.2 to the Bacula Source Forge download area.
1364
1365  This is an important bug fix release since version 2.4.1.
1366
1367 Bugs Fixed:
1368  1034, 1125, 1118, 1124, 1107, 1129, 1126
1369
1370 Change Summary:
1371 26Jul08
1372 - When a migration job actually runs, re-check the Job record
1373   and skip if the job is already migrated. This should
1374   significantly reduce the problems with bug #1129.
1375 - Break the do_swapping into do_unload, do_swapping, and
1376   do_load.  It is much more logical that way.
1377 - Implement a set_dcr_from_vol subroutine in acquire.c for
1378   reading volumes. This allows the dcr to be refreshed after being
1379   zapped when the wrong volume is mounted. This should fix bug #1126 -
1380 - During multiple tape restore, bacula
1381   does not ask for physical tape change, but rereads same tape
1382 - Apply patch submitted for bug #1107 with a small modification.
1383   This fixes a bug where bcopy copied too many records.
1384 - Make some tweaks to bsmtp based on patch submitted in bug #1124.
1385   This fixes bug #1124.
1386 - Make the default bat restore Pool be Any. This fixes bug #1118.
1387 - Fix bug #1125 which reports a SD crash at the end of a tape
1388   during restore. It was a debug statement that should not be
1389   in a release.
1390 - Fix #1034 by setting big timeout on mysql connections
1391 - Do partial integration of the Win32 bat build created by Eric.
1392 - Ensure that SD tried to mount a volume not in an autochanger
1393   at least once before asking for operator intervention.
1394 - Fix a pthreads bug in the Win32 pthreads emulation code affects only
1395   version 2.5.x and above.
1396 ;;;
1397
1398 Kern;;;7 July 2008 at 10:30am
1399 Bacula version 2.4.1 Released
1400 This is to inform you that we have released the source and Win32 binaries of 
1401 Bacula version 2.4.1 to the Bacula Source Forge download area.
1402
1403 Bugs Fixed:
1404  1103, 1100, 1105, 1094, 1109, 1106, 1101, 1102, 1112
1405  1117, 1116, 1097.
1406
1407 Change summary:
1408 -  Clear in-use bit on vol when unused while swapping.
1409 -  Remove sleep at end of ./bacula
1410 -  Clear hash packet for hardlinked files correctly. This corrects
1411    a long standing bug where hardlinked files selected individually
1412    would occasionally not be restored.
1413 -  Apply Eric's patch to ensure that autoprune does not return
1414    a Volume not in the autochanger unless requested to do so.
1415 -  Correct bat restore display of multiple drives. This fixes
1416    bug #1117.
1417 -  Do find_a_volume() each time an unload is done. This
1418    fixes the failure of maxvol2-test.
1419 -  Use Qmsg() in job.c watchdog callback.
1420 -  Release main control rwlock if ABORTing.
1421 -  Make watchdog connect timeout queue messages rather than sending
1422    directly to avoid lock conflicts with the real thread.
1423 -  Remove const char that causes problems with Python, which has
1424    older 'incorrect' headers.
1425 -  Add const char in dbd.c to avoid compiler warnings.
1426 -  Fix mtx-changer to detect both versions of Ubuntu (Debian)
1427    mt. This fixes bug #1116.
1428 -  Fix failure of 2drive-concurrent-test. Always read label;
1429    clear_unload() only after drive is defined in acquire_for_read().
1430 -  Generally clean up the manual tape loading code. The main
1431    conceptial change is that when a volume is marked to be unloaded,
1432    its volume name is retained, and it is only marked as unloaded
1433    when either the autoloader says it is unloaded or another tape
1434    is read on that drive.
1435 -  Fix a recycling problem with two autochangers reported in bug
1436    #1106. This may also (unlikely) fix a second recycling bug as
1437    reported in #1103.
1438 -  Fix a SD lock volumes deadlock problem reported in bug #1100.
1439 -  Fix format problem in bscan output reported in bug #1105.
1440 -  Copy more data when restarting a job so that run
1441    overrides are kept. This should fix bug #1094.
1442 -  Backport updates to jobq.c where possible.
1443 -  Fix bug where SD did not ask operator if the device could not
1444    be opened. Reported by Eric.
1445 -  Add dbuser to DIR conf file (replaces user).
1446 -  Add --with-db-password to ./configure
1447 -  Fix regress to handle db_password.
1448 -  Fix a couple of pedantic compiler warnings.
1449 -  Fix bug when starting a restore on a storage that doesn't
1450    have the requested MediaType.
1451 -  More work on word alignments -- eliminate all ints from
1452    the configuration routines.
1453 -  Fix bug reported by Scott Barninger where the bacula script
1454    refers to scripts in the wrong directory. Needed to meet the
1455    requirements of recent FHS location changes.
1456 -  Fix word alignment problem on non-Intel 64 bit machines
1457    such as Solaris.  This should fix bug #1097 -- bus error in SD.
1458 -  Add missing win32/patches/wxWidgets.patch to 2.4 repository.
1459 ;;;
1460
1461
1462 Kern;;;4 Jun 2008 at 10:30am
1463 Bacula version 2.4.0 Released
1464 This is to inform you that we have released the source and Win32 binaries of 
1465 Bacula version 2.4.0 to the Bacula Source Forge download area.
1466
1467 This release consists mainly of a number of bug fixes since 2.2.x
1468 but most importantly, a rewrite of significant portions of the
1469 Storage daemon reservation and autochanger code. This rewritten
1470 code is simpler, more stable, and works much better, particularly
1471 with multiple drive autochangers than the prior code did.  That
1472 said, there are still a number of issues to be resolved. Note,
1473 the new code has not been tested in manual volume mount situations.
1474
1475 As usual, we strongly recommend when installing to keep the Director and the 
1476 Storage daemon on the same version.  However, since this release only 
1477 contains refactored code and bug fixes rather than new features, the clients 
1478 (File daemons) should function perfectly with any 2.2.x version, and there is 
1479 no database upgrade needed.
1480
1481 =====================================================
1482                                                                      
1483        Release Notes for Bacula 2.4.0
1484
1485   Bacula code: Total files = 500 Total lines = 188,654 (*.h *.c *.in)
1486
1487 This Director and Storage daemon must be upgraded at the same time,
1488 but they should be compatible with all 2.0.x File daemons, unless you
1489 use some of the new features that affect the FD.  In other words, you should
1490 not have to upgrade all your File daemons when you upgrade. There is
1491 no database upgrade needed from version 2.0.x to 2.2.0 nor from version
1492 2.2.x to version 2.4.0
1493
1494 ==================   Warning !!!!!! ==========================
1495 As of Version 2.4.0, the Win32 FD should not descend into
1496 any reparse point directory or reparse mount points unless the
1497 specified directory is explicitly mentioned at the top level of
1498 FileSet (as with Unix). A file that is linked to another file will
1499 be backed up, much like Unix hardlinked files.  If you want
1500 reparse directories backed up, you must explicitly include them
1501 in your FileSet.
1502 ======================================================
1503
1504 This release consists mainly of a number of bug fixes since 2.2.x
1505 but most importantly, a rewrite of significant portions of the
1506 Storage daemon reservation and autochanger code. This rewritten
1507 code is simpler, more stable, and works much better, particularly
1508 with multiple drive autochangers than the prior code did.  That
1509 said, there are still a number of issues to be resolved. Note,
1510 the new code has not been tested in manual volume mount situations.
1511
1512 Bugs fixed:
1513  1095, 1086, 1091, 1070, 1041, 1083, 1078, 1066, 1068, 1038
1514  1062, 1065, 1046, 1047, 1031
1515
1516 New features:
1517 - You can now build bat without the QWT libraries. Use
1518   --without-qwt as a ./configure option.
1519
1520 Release Version 2.4.0
1521 - Update version to 2.4.0 to reflect the magnitude of the SD changes.
1522 - Make sure to clear JS_WaitMedia when operator mounts a Volume.
1523   This fixes bug #1095.
1524 - Add create_postgresql_database.sql to Win32 installer. Should
1525   fix problem reported by Juilio Monteiro.
1526 - Get correct slot when auto unloading a device. This fixes bug
1527   #1086.
1528 - Fix possible seg fault if SQL error.
1529 - Fix renaming a Volume, which used the wrong Volume name.
1530 - If operator has rewind tape, print warning, release tape and
1531   try once more. If tape is positioned somewhere, something went
1532   wrong, so mark the tape in error and try once more. Previously
1533   this error was fatal, now it produces an error message.
1534 - Ensure correct volume name displayed during restore
1535 - Fix a few more Coverity reported problems.
1536 - Fix #1091 about bad output in estimate command.
1537 - Modify autochanger locking to attempt to avoid race
1538   conditions.
1539 - Make sure device not busy before doing label command.
1540 - Display open() errors except when polling. Previously too
1541   many were suppressed.  This should fix bug #1070.
1542 - Fix Win32 reparse points. Bacula will not recurse into any
1543   reparse point directory, including mount points, unless the
1544   directory is explicitly mentioned at the top level (same as   
1545  with Unix).  A file that is linked to another file will be
1546   backed up -- much as Unix does for hardlinked files.
1547   This fixes bug #1041.
1548 - Remove StorageId test when pruning and recycling (Eric's changes).
1549 - Fix buffer overruns detected by Coverity.
1550 - Implement --without-qwt
1551 - Fix layout of restore tree dialog
1552 - Add configure bat QWT libraries, so that bat can be built
1553   with or without the QWT libaries.
1554 - Implement regression that explicitly tests swapping a Volume
1555   from one drive to another.
1556 - Enhance disk-changer to detect most error conditions.
1557 - Fix SD code so that it properly swaps a Volume between drives.
1558   This fixes bug #1083.
1559 - Prevent a Volume that is being swapped from being freed from
1560   the volume list. This will most likely fix, at least partially,
1561   bug #1083.
1562 - Fix strippath so that it does not get a buffer overrun and crash FD.
1563   This fixes bug #1078.
1564 - Make inability to change owner/group when creating a dir only a
1565   warning rather than an error.
1566 - Fix SQL query in migration code
1567 - Fix bat seg fault at termination.
1568 - Add Bacula generated version to bat about box.
1569 - Backport development stream SD reservation system changes.
1570 - When wrong volume is mounted during read, unload_autochanger.
1571 - Stop searching for Volumes in SD askdir if DIR returns the
1572   same volume name twice in a row.
1573 - Rework class structures for VOLRES, DCR, and DEVICE to make
1574   the method names a bit more logical, and for more logically
1575   handling the responsibilities.
1576 - Remove redundant code in terminating the scheduler that just
1577   causes a seg fault in many cases.
1578 - Improve algorithm for detecting pre-reserved volume and
1579   swapping volumes.
1580 - Prevent volume from being released while being swapped.
1581 - Refactor parts of stored/mount.c
1582 - Add sanity checks for VolWriteTime and VolReadTime
1583 - Take care of bad clock changes while computing VolWriteTime
1584   and VolReadTime. This should fix or limit #1066
1585 - Correct error string numbers in dird/catreq.c
1586 - Restructure reserving, acquiring, and mounting volumes. Calls to
1587   autochanger are deferred for mount.c -- simplifes the code.
1588 - Do not prune any running job. It just fails the job.
1589 - Lock the volumes when changing dev->reserved_device and marking
1590   the volume unused otherwise the device can get reserved by
1591   another job before the volume is released, thus blocking it.
1592 - Correct some SD catalog request error messages.
1593 - Turn off code in read_record that causes a seg fault in the SD
1594   when reading past an EOS_LABEL.
1595 - Turn off unloading the autochanger in reserve.c as it just
1596    causes problems.
1597 - Lock volumes when unreserving a device.
1598 - Do not mark volume unused when recycling.
1599 - Fix bug #1068 fixes a SD crash when using Virtual autochanger.
1600 - Generate correct JobMedia records during spooling/despooling when
1601   running concurrent jobs.  Thanks to Tom Ivar Helbekkmo
1602   <tih@hamartun.priv.no> for excellent analysis and testing.
1603 - *Massive* commit of all fixes and back ports to create 2.2.9
1604   Mostly SD reservations enhancements.
1605 - Fix Win32 FD backup/restore memory leak due to improper termination
1606   of BackupRead/Write. This fixes bug# 1038.
1607 - Fixes a StorageId problem with volumes after migration.
1608 - Implements autostart scripts for Debian
1609 - Fix mtx-changer.in for broken Debian mt program.
1610 - Apply doc fix from bug #1062.
1611 - Resolve crash and improper restore wx-console Win32 restore
1612   GUI. Fixes bug #1065.
1613 - Update Win32 wxWidgets to latest version.
1614 - Attempt to do correct handling of Win32 mount points. Should
1615   fix bug #1046.
1616 - Add const to AIX prototype for initgroups()
1617 - Fix to the JobMedia patch, which introduced a new problem.
1618 - Fix creating first JobMedia record during Migration to include
1619   proper index. This caused slow restores of migrated jobs.
1620 - Fix bug #1047, do not strip paths on symbolic links.
1621 - Set catalog backup database and user name from values specified on
1622   the ./configure line.
1623 - Apply patch to correct bug #1031, about wrong pool source information
1624   in job report.
1625 ;;;;
1626
1627 Kern;;;27 Jan 2008 at 10:30am
1628 Bacula version 2.2.8 Released
1629 Bacula version 2.2.8 source tar files as well as the Win32
1630 binaries are available in the bacula and Win32 release areas 
1631 of Source Forge. I have hidden the previous BETA release
1632
1633 Version 2.2.8 is a bug fix to version 2.2.7 and has a few
1634   additional bugs fixed than the BETA 2.2.8 version previously
1635   released:
1636 - It fixes bugs: 1036, 1033(doc), 1028, 1040, 1045(doc), 1030,
1637   1042(partially), and possibly bugs 1018 and 1032.
1638   Bugs 1018 and 1032 involve problems with multiple-drive autochangers,
1639   and are difficult to reproduce.         
1640   See the ChangeLog for more details.
1641   Note, if you previously loaded version 2.2.8 BETA, you will probably
1642   want to upgrade, but it is not urgent ...
1643 ;;;
1644
1645
1646 Kern;;;9 Jan 2008 at 20:30
1647 Bacula version BETA 2.2.8 Released
1648 Bacula version 2.2.8 source tar files as well as the Win32
1649 binaries are available in the bacula-beta and
1650 Win32-beta release areas of Source Forge
1651
1652 Version BETA 2.2.8 is a bug fix to version 2.2.7:
1653 - It fixes bugs: 1036, 1033(doc), 1028, and possibly 1018 and 1032.
1654   Bugs 1018 and 1032 involve problems with multiple-drive autochangers.
1655 ;;;
1656
1657 Kern;;;24 Dec 2007;;20:30
1658 Bacula version 2.2.7 Released
1659 Bacula version 2.2.7 source tar files as well as the Win32
1660 binaries are available in the Bacula release area of Source Forge
1661
1662 Version 2.2.7 has several new features and several important bug fixes
1663   since version 2.2.6:
1664 - It fixes bugs: 1009, 1022, 1024, 1019, 1012, 1021, 1020
1665   1007, 1008.  For more details, please see the technotes-2.1 file.
1666 - Fixed a seg fault reported by Frank Sweetser that depended on
1667   exact path lengths, but the problem was in bsnprintf.c
1668 - Double quoting include filenames (@xxx) in Bacula conf files is now
1669   possible, thanks to a patch by Michael Stapelberg.
1670 - You can pipe input to include filenames (@|prog) by using a vertical
1671   bar, thanks to the above patch.
1672 - A daylight savings time bug in the Win32 bsmpt was fixed by a patch from
1673   Nerijus Baliunas.
1674 - Marc Cousins submitted a patch that permits building the PostgreSQL
1675   driver with version 8.3.
1676 - The configure option --archivedir has been changed to --with-archivedir
1677 ;;;
1678 Kern;;;9 Nov 2007;;15:25
1679 Bacula version 2.2.6 Released
1680 Bacula version 2.2.6 source tar files as well as the Win32
1681 binaries are available in the Bacula release area of Source Forge.
1682
1683 This release is a minor fix upgrade to version 2.2.5,
1684 and we recommend that all users upgrade when they can.
1685
1686 Version 2.2.6 is a minor bug fix realease to version 2.2.5
1687 - It fixes bugs: #1003, 942, 982, 990(response only), 991,
1688   993, 986, 976.
1689   - Fix bat crash wen it cannot connect to Director.
1690   - Fix joblist failure bug in bat.
1691 ;;;
1692 Kern;;;9 Oct 2007;;15:25
1693 Bacula version 2.2.5 Released
1694 Despite the fact that the Release Notes are rather short, the bug
1695 fixes represent quite a lot of work:
1696
1697 Version 2.2.5 is a major bug fix release to version 2.2.4
1698 - It fixes the following bugs: #961, 962, 963, 969, 968, 960,
1699   964, (possibly 935 and 903), 953, 953, 967, 966, 965, 954,
1700   957, 908, 958, and 955.
1701 - It also improves listing performance problems in bat pointed
1702   out by Chris Howells.
1703 ;;;
1704 Kern;;;29 Sept 2007;;20:30
1705 A serious data loss bug in Bacula version 2.2.4 found and fixed
1706
1707 This bug was very elusive and time consuming to track down.  It
1708 turned out to be a race condition that can lose the last one or
1709 two blocks of a Job, which can happen in rare cases only when
1710 running multiple simultaneous jobs when a volume fills and one
1711 Job finishes receiving the last data from the FD and at the same
1712 time a second job detects the end of the Volume.  The bug was
1713 introduced in version 2.0.0 and did not exist in version 1.38.x.
1714 If the bug is triggered, the data is lost (not written to the
1715 Volume), and it can occur for any backup job of any level under
1716 the conditions noted above.
1717
1718 The bug is reported in the bugs database as bug #964, and just
1719 this morning I found and tested a fix, which is attached as a patch
1720 to the bug report.  The patch (2.2.4-lost-block.patch) is also
1721 uploaded to the bacula-patches 2.2.x release area.  This bug may
1722 also be part of the problems reported in bug #935 and possibly
1723 #903.
1724
1725 Also in the bacula-patches 2.2.x area, you will find other
1726 patches that fixes bugs #953, 966, 967, 965, 958, 908, and
1727 955. Please refer to bugs.bacula.org for the details.
1728
1729 Though this bug quite serious (data loss), it should be rare.
1730 However, we recommend everyone to apply the patch.
1731 ;;;
1732 Kern;;;2007/9/14;;;14:30 
1733 Bacula version 2.2.4 Released 
1734
1735 This version of Bacula is a minor bug release to version 2.2.3.
1736 It contains the following fixes:
1737
1738 - Possible fix for authorization problems bug #953.
1739 - Possible fix for bug #908.
1740 - Add waits to multiple exit detection code to try to force pid
1741   file to always be deleted.
1742 - Restore good dev.tar.gz to rescue set appropriate binary property.
1743   This fixes bug #950.
1744 - Fix seg fault in error exit of acquire_for_read after unsuccessfully
1745   trying to switch drives by checking for blocking before unblocking.
1746   Fixes bug #906.
1747 - Cancel storage daemon in all cases where FD reports error. This
1748   should fix virtually all cases of bug #920 and will ensure that Devices
1749   are released as soon as possible.
1750 - Fix error message that was clobbered when Dir tells SD it does not
1751   have write permission on Volume.  This should fix a minor point
1752   in bug #942, but not the main problem.
1753 - Fix migration code to get correct Volume name with multiple volumes 
1754   by skipping |.  Fixes bug #936.
1755 - Implement patch supplied by Landon to fix bug #944 where using
1756   TLS with bconsole uses 99+% of the CPU.
1757 - Fix bug #946 about "bacula-dir -t" which doesn't works
1758   as expected.
1759 - Using "m" in bconsole will show messages as in prior versions
1760   and not memory usage.
1761
1762 - Note, you need GTK >= 2.10 to be able to link the Tray Monitor
1763   program.
1764 ;;;
1765 Kern;;;2007/9/9;;;14:30
1766 I regret to announce that there is a rather serious bug in Bacula.
1767
1768 Bacula bug #935 reports that during a restore, a large number of files are 
1769 missing and thus not restored.  This is really quite surprising because we 
1770 have a fairly extensive regression test suite that explicitly tests for this 
1771 kind of problem many times.
1772
1773 Despite our testing, there is indeed a bug in Bacula that has the following 
1774 characteristics:
1775
1776 1. It happens only when multiple simultaneous Jobs are run (regardless of
1777 whether or not data spooling is enabled), and happens only when the
1778 Storage daemon is changing from one Volume to another  -- i.e. the
1779 backups span multiple volumes, and it only happens for Jobs writing
1780 to the same volume.
1781
1782 2. It has only been observed on disk based backup, but not on tape.
1783
1784 3. Under the right circumstances (timing), it could and probably does happen
1785 on tape backups.
1786
1787 4. It seems to be timing dependent, and requires multiple clients to
1788 reproduce, although under the right circumstances, it should be reproducible
1789 with a single client doing multiple simultaneous backups.
1790
1791 5. Analysis indicates that it happens most often when the clients are slow
1792 (e.g. doing Incremental backups).
1793
1794 6. It has been verified to exist in versions 2.0.x and 2.2.x.
1795
1796 7. It should also be in version 1.38, but could not be reproduced in testing,
1797 perhaps due to timing considerations or the fact that the test FD daemons
1798 were version 2.2.2.
1799
1800 8. The data is correctly stored on the Volume, but incorrect index (JobMedia)
1801 records are stored in the database.  (the JobMedia record generated during
1802 the Volume change contains the index of the new Volume rather than the
1803 previous Volume).  This will be described in more detail below.
1804
1805 9. You can prevent the problem from occurring by either turning off multiple
1806 simultaneous Jobs or by ensuring that while running multiple simultaneous
1807 Jobs that those Jobs do not span Volumes.  E.g. you could manually mark
1808 Volumes as full when they are sufficiently large.
1809
1810 10. If you are not running multiple simultaneous Jobs, you will not be
1811 affected by this bug.
1812
1813 11. If you are running multiple simultaneous Jobs to tapes, I believe there is
1814 a reasonable probability that this problem could show up when Jobs are split
1815 across tapes.
1816
1817 12. If you are running multiple simultaneous Jobs to disks, I believe there is
1818 a high probability that this problem will show up when Jobs are split across
1819 disks Volumes.
1820
1821 13. The bug concerns only the Storage daemon so there is no need to update
1822 the clients, though I do recommend updating the Director when installing
1823 an updated Storage daemon.
1824
1825 I have uploaded patches to bug #935 (bugs.bacula.org) that will correct
1826 version 2.2.0, 2.2.1, and 2.2.2.  The patch has been tested only on version
1827 2.2.2 and passes all regression tests as well as the specific test that
1828 reproduced the problem. 
1829
1830 The patch has now been confirmed to fix the problem reported, and Bacula
1831 version 2.2.3 has been released to Source Forge.
1832
1833 For the technical details of the bug, please see: 
1834
1835   http://www.bacula.org/downloads/bug-935.txt
1836
1837 ;;;
1838
1839 Kern;;;2007/8/11;;;14:30
1840
1841 Bacula Version 2.2.0 has been released to Source Forge.         
1842
1843           Release Notes for Bacula 2.2.0 
1844
1845   Bacula code: Total files = 520 Total lines = 195,550 (*.h *.c *.in)
1846   82 new files, 41,221 new lines of code, 208,380 lines of change from 2.0.3
1847
1848 This Director and Storage daemon must be upgraded at the same time,
1849 but they should be compatible with all 2.0.x File daemons, unless you
1850 use some of the new features that affect the FD.  In other words, you should
1851 not have to upgrade all your File daemons when you upgrade. There is
1852 no database upgrade needed from version 2.0.x to 2.2.0.
1853
1854 Areas requiring caution or testing:
1855 - You must have the thread safe version of MySQL client libraries loaded
1856   to build with MySQL enabled.
1857 - Volumes are pruned only when absolutely necessary -- this may cause
1858   your database to grow compared to prior Bacula versions.
1859 - Solaris door and even port files are no longer restored (equivalent
1860     to what we do with sockets).
1861 - SQLite is no longer supported for Solaris -- it fails too often with
1862   bus errors.  SQLite3 should work on Solaris.
1863 - The default setting for SQLite3 is now 'PRAGMA synchronous=OFF'.
1864   This makes it run 30 times faster, but increases the possiblity
1865   of a corrupted database if your server shuts down unexpectedly.
1866   The default behavior can be changed in src/version.h
1867 - Restore on Win32, and in particular on Vista is untested. Please
1868   test before relying on it.  It should backup and restore reparse
1869   points.
1870 - Win32 servers are untested, and very likely not to work.
1871
1872 The major new features are:
1873 - Much faster insertion of attributes (somewhere around 10 times),
1874   many thanks to Eric Bollengier and Marc Cousin. 
1875 - First release of bat (Bacula Administration Tool).  Note to build
1876   bat you must explicitly enable it on the ./configure line, you
1877   must have the Qt4 version 4.2 or later libraries loaded, the qwt
1878   (Qt Graphics) package loaded, and qmake and the other Qt4 tools 
1879   must be available. Most of the implementation was done by Dirk Bartley.
1880 - Red/Black restore in memory tree (500 times faster loading).
1881 - The Regex Where code to allow easier relocation of restored files 
1882   thanks to Eric.
1883 - Socket level heartbeat for all connections (untested).
1884 - posix_fadvise() use in the FD to improve performance reduces
1885   swapping due to opening/reading lots of files. Win32 equivalent
1886   implemented.
1887 - Much improved Volume reservation code that should eliminate most
1888   conflicts experienced in multiple drive autochangers.
1889 - Simpler locking in the SD in the reservation system.
1890 - Detection of file size/date change during backup if enabled.
1891 - New Recycle Pool feature -- thanks to Eric.
1892 - Efficient implementation of very large include/exclude lists.
1893 - Volumes are no longer pruned during 'status dir'
1894 - Pruning is now more efficient, and if a Volume is purged,
1895   during pruning, it is immediately discovered.
1896 - License is now GPL v2 without modifications, fix a few copyright
1897   mistakes made when adding FSFE copyright notice.
1898
1899 New ./configure options:
1900 - --enable-bwx-console    
1901 - --enable-bat
1902 - --with-qwt=
1903 - --with-db-name=
1904 - --with-db-user=
1905 - --enable-batch-insert
1906
1907 New bconsole commands:
1908 - exec
1909 - memory
1910 - update recyclepool
1911 - .sql
1912 - .api
1913 - .pwd (in restore tree)
1914 - restoreclient (keyword)
1915 - backupclient  (keyword)
1916 - regexwhere    (keyword)
1917 - update jobid  (new command)
1918 - recyclepool   (keyword) 
1919
1920 New directives:
1921 - Heartbeat Interval (bconsole.conf)
1922 - Heartbeat Interval (bacula-dir.conf in Director, Client, Storage)
1923 - TLS Allowed CN     (bacula-dir.conf in Client)
1924 - Regex Where        (bacula-dir.conf in Job)
1925 - Strip Prefix       (bacula-dir.conf in Job)
1926 - Add Prefix         (bacula-dir.conf in Job)
1927 - Add Suffex         (bacula-dir.conf in Job)
1928 - Recycle Pool       (bacula-dir.conf in Pool)
1929 - FailJobOnError     (bacula-dir.conf in RunScript)
1930 - CheckFileChanges   (bacula-dir.conf in FileSet)
1931 - StripPath          (bacula-dir.conf in FileSet)
1932
1933 Other features or bug fixes:
1934 - Fixed bugs: 916, 910, 917, 914, 906, 907, 
1935   842, 830, 893, 861, 888, 886, 807, 877, 872
1936   885, 887, 864, 874, 882, 881, 863, 859, 
1937   856, 854, 845, 847, 846, 809, 772, 
1938   822, 825, 824, 808, 802, 797, 798, 795, 789, 791, 
1939   788, 780, 763, 782, 612, 767, 775, 621, 772, 764, 
1940   766, 621, 761, 755, 750, 741, 747, 742, 744, and 743.
1941 - Configure bat with --enable-bat. Define qwt libraries with
1942   --with-qwt=<dir>. See Installation chapter of manual for details.
1943 - Create a depkgs-qt package that has both Qt4 and qwt, which are
1944   needed to build bat. Most modern Linux systems will have both
1945   these packages in the distro.
1946 - Storage overrides delete all previous storage definitions instead
1947   of prepending.
1948 - One should be able to mount and unmount removable devices if the
1949   Device resource has Removeable Media set and the mount and unmount
1950   directives are defined.
1951 - ./configure will do a better job of searching for qwt libraries.
1952 - The Win32 version can no longer be shutdown from the tray monitor.
1953   Use the command line or the Services panne.
1954 - Keep prune_volumes() from pruning the whole Scratch pool.
1955 - More debug output in status storage.
1956 - Correct moving a Scratch volume from pool to pool (some
1957   critical columns were lost).
1958 - Different locking in reservations and despooling systems,
1959   which means more micro-locking and less macro-locking, which
1960   should give a lot more concurrency at the expense of slightly
1961   (<0.1%) more overhead due to more locking/unlocking, but     
1962   concurrent jobs should run much faster.
1963 - Additional drive reservation algorithm that should solve a lot of
1964   the problems experienced with multiple drive autochangers.
1965 - Storage daemon status command enhanced to more clearly show Volume,
1966   pool and media type when a job is waiting.
1967 - Made bsmtp work with more strict SMTP servers.
1968 - Detect doubly freed buffers in smartall.c
1969 - wx-console renamed to bwx-console (Fedora request)
1970 - gnome-console renamed to bgnome-console (Fedora request)
1971 - Migration preserves original job's FileSetId
1972 - Spooling implemented for migration jobs.
1973 - Config files can be read through a pipe, by specifying a leading |
1974   in front of the configuration path/filename.
1975 - New memory command (bconsole) that will print the current Director's
1976   memory usage, and an in use buffer dump.
1977 - Console name changed from *Console* to -Console- to accomodate Win32
1978   filename restrictions.  
1979 - Corrected the Win32 ftruncate bug.
1980 - Additional version information added to Job reports.
1981 - New -8 option for bsmtp to specify UTF-8 encoding type.
1982 - bsmtp will no longer add < > to target (from, to, cc) if there
1983   is already a < in the target.
1984 - Prefer Mounted Volumes extended to mean a volume that is being
1985   mounted by another job.
1986 - Runscript timing set to same as version 1.38.11
1987 - New TLS Allowed CN directive(s) permitted.
1988 - New bconsole 'exec' command to run external script/command.
1989 - Turn on FreeBSD/OpenBSD code to set EOT model on tape.
1990 - Drop from root done before database is opened.
1991 - Database user and name can be configured with:
1992   --with-db-name=name --with-db-user=user
1993 - Turn on wait_for_drive in mtx-changer script.
1994 - Rework how bar codes are handled in mtx-changer script.
1995   This appears to have been an unreported bug.
1996 - Updated nagios plugin supplied by Christian Masopust
1997 - Better restricted console ACL checking.
1998 - New Client Connect Wait directive in Storage daemon so that
1999   users can configure how long SD waits for FD connection.
2000 - Bacula will no longer permit pruning of the currently running
2001   job (note, if other jobs are running, they may be pruned).
2002 - Sockets are no longer restored.
2003 - dbcheck works in 300K chunks so will typically run faster.
2004 - Include/Exclude lists can now be efficiently handled for quite
2005   large sizes -- tens of thousands of entries.
2006 - Several memory leaks in migration and database usage were fixed.
2007 - New console keyword restoreclient, which specifies the client to
2008   which the restore will be sent. The client keyword specifies 
2009   the backup client. The restoreclient keyword is optional if it is
2010   not specified, the backup client will also be the restore client.
2011 - The disk file size is now checked to ensure that it agrees with the
2012   catalog value before Bacula will append to the disk (same as tape
2013   and DVD).
2014
2015 ;;;
2016
2017 Kern;;;2007/3/6;;;14:30
2018
2019 Bacula Version 2.0.3 has been released to Source Forge.
2020 This is a bug fix release to version 2.0.2.  If you are upgrading from
2021 a version older than 2.0.0, please be sure to read the important notes
2022 below.
2023
2024 Also, please check the patches directory in the current SVN or the
2025 patches release section on Source Forge for important bug fixes to   
2026 this version.
2027
2028 5Mar07
2029 kes  File migrate bug with Pool Occupancy using mediaid instead
2030      of jobids.  Fixes bug #795.
2031 kes  Fix orphaned buffers in filed backup and verify due to
2032      crypto buffers not freed during errors.  Fixes bug #789.
2033 04Mar07
2034 kes  Add smartctl call to bacula-sd.conf as an example of getting
2035      tape alert info.
2036 02Mar07
2037 kes  Add Client Connect Wait to Storage daemon to permit users to
2038      modify the time the SD waits for a FD connection.
2039 28Feb07 
2040 kes  Apply Command ACL filter to JobId list in restore command.
2041 kes  Correct typeo in var.c patch.
2042 27Feb07
2043 kes  Don't let Bacula prune File or Job records for the current Job.
2044 kes  Fix variable substitution pad + inc bug reported (with patch)
2045      in bug #791.
2046 26Feb07
2047 kes  Correct SQLite log table index as reported by Luca Berra.
2048 24Feb07
2049 ebl  Fix FIFO stuff, bacula tries to rewind the FIFO... Thanks to Andreas
2050 22Feb07
2051 kes  Fix a few places in lib/message.c where the open fd may
2052      not be zeroed.
2053 21Feb07
2054 kes  Add LANG=C to autoconf/randpass so it works with languages other
2055      than English.  Fixes bug #788.
2056 20Feb07
2057 ebl  Revert ClientRunBeforeJob as it was in 1.38.x
2058      This fixes bug #780
2059      You will not be able to generate Include/Exclude list any more.
2060      If you want to use this, you can apply 
2061      trunk/bacula/patches/testing/clientrunbeforejob_can_generate_include_exclude_list.patch
2062 19Feb07
2063 kes  Restore of sockets created false error messages because Bacula
2064      no longer restores sockets, but the code was still trying to
2065      set the attributes on a non-existent file. Reported by a user.
2066 16Feb07
2067 kes  Fix encryption deblocking bug, which caused some restored files
2068      to be truncated. This fixes bug #763. This is a CRITICAL bug fix.
2069 kes  Add FD event sequence order prepared by Eric -- for RunScripts.
2070 kes  Fix 12am/pm bug as reported in bug #782.
2071 15Feb07
2072 kes  Add quick disconnect FD code from 2.1.4 to 2.0.3.  This code
2073      causes the SD to release the FD as soon as the FD has sent
2074      all the data to the SD. After that the SD will do any final
2075      despooling (data and attributes) that are necessary. This
2076      allows laptops to disconnect much quicker from the network 
2077      after a backup.
2078 13Feb07
2079 kes  Apply Eric's ClientRunScriptAfter patch to 2.0 and 2.1.
2080 11Feb07
2081 kes  Optimize the use of the database a bit in the Status dir command.
2082      Only open it when needed, ensure that if any previous database
2083      was opened, it is closed.
2084 10Feb07
2085 kes  Modify dbcheck to handle orphaned JobMedia, Path, Filename,
2086      and File records in 300K chunks to be more efficient. This
2087      idea came from Juan Luis Frances (if I remember right).
2088 09Feb07
2089 kes  Update projects list.
2090 08Feb07
2091 kes  Fix dird/ua_cmds.c so that a cancel command checks if the
2092      console is authorized to cancel the job.  This fixes bug 
2093      #767.
2094 kes  Modify SD so that the VolCatJobs medium record is updated
2095      at the beginning of a Job rather than the end.  This
2096      fixes bug #775 where exceeding MaxVolJobs caused jobs
2097      to fail.
2098 kes  Added a mutex around getting and setting Volume information
2099      so that multiple simultaneous jobs will single thread.
2100 07Feb07
2101      Switch to using Subversion
2102 kes  Remove src/pygtk-console/ from configure
2103 06Feb07
2104 kes  Delete src/lib/btree.c from win32 build, then add rblist.c
2105      plus the entrypoints.
2106 kes  Apply patch supplied that corrects debug print
2107      in canceling jobs for max run time.  Supplied as
2108      part of bug #621, which was previously fixed.
2109 05Feb07
2110 kes  Test on job_canceled() and sd_msg_thread_done inside
2111      loop starting the message thread to avoid a race condition.
2112      Fixes bug #771.
2113 kes  Remove rl_catch_signal from console.c as it conflicted
2114      with the header definition. Fixes bug #765.
2115 ebl  Fixes bug #766 about RunsOnClient = Yes (case sensitive)
2116 04Feb07
2117 kes  Clarify some stored/acquire messages to indicate if the
2118      problem is with read or append.
2119 02Feb07
2120 kes  Fix memory leak with storage ids in cats/sql_get.c
2121 kes  Terminate watchdog earlier to avoid reference to released
2122      memory -- reported by Jason Austin.
2123 kes  Move closing the database from jobq.c to the director daemon
2124      termination routine. This fixes memory leaks for shadow jobs
2125      (i.e. migration jobs).
2126 kes  Free up the unique jobid chain items in migrate.c.  This fixes
2127      a memory leak problem.
2128 kes  Convert some ugly looking for statements to use foreach_alist
2129      in findlib/find.c.  This will facilitate converting the structures
2130      to use dlist (for large include/exclude lists).
2131 kes  Fix a bug in the btree.c and btree.h routines, then rename them
2132      rblist and add them to be built in src/lib.  Include some new
2133      methods written by Rudolf Cejka that make the code more readable
2134      (hides some of the ugly casting).
2135 26Jan07 (back port)
2136 kes  Implement item #12 on project list -- quick release of FD by
2137      the SD. This is noted in more detail above.
2138
2139 ;;;
2140
2141 Kern;;;2007/1/28;;;14:30
2142
2143 Bacula Version 2.0.2 released:
2144 28Jan08
2145 kes  Fix maxruntime bug #621.
2146 27Jan07
2147 kes  Get current main CVS .specs for RedHat, SuSE, Mandrake.
2148 26Jan07
2149 ebl  Implement the include JobID in spool file name project.
2150 kes  Reorder projects file in order determined by Jan 2007 vote.
2151 kes  Fix open of SQLite3 db where user does not have write permission
2152      so that DIR does not crash. Fixes bug #761.
2153 25Jan07
2154 kes  Change 'Device not configured to autolabel' from INFO
2155      to WARNING.
2156 kes  Fix jobq.c to restart failed jobs when Reschedule Times = 0
2157      which should restart an indefinite # of times.
2158 kes  Fix configure --help to print --with-mysql[=DIR]. Same for
2159      other DIR specifications.
2160 23Jan07
2161 rn   Fix msvc build problems. Fix bacula.dll exports for msvc build.
2162      Fix path quoting in SQLite scripts.
2163      Fix problems with SHGetFolderPath.
2164 19Jan07
2165 kes  Create patches/2.0.1-restart.patch. Fixes bug #755.
2166 18Jan07
2167 kes  Fix Job restart on error bug that promotes an Inc to a Full
2168      backup.  This should fix bug #755.
2169 kes  Add qt-console and first cut of code.
2170
2171 ;;;
2172
2173 Kern;;;2007/1/13;;;14:30
2174
2175 Bacula Version 2.0.1 has been released to Source Forge.
2176 This is bug fix update to version 2.0.0 and contains
2177 the following fixes:
2178
2179 -    Fix Bacula->Documentation link on Win32 to point to index.html
2180      instead of bacula.html. Fixed bug #750.
2181 -    Return JobId in db_get_job_record() when JobId==0. This should
2182      fix bug #741.
2183 -    Do not release source pointers when restarting a failed job.
2184 -    Add dynamic dll entry point for SHGetFolderPath to Win32 code.
2185      This *should* fix bug #747.
2186 -    Modify winbacula.nsi to substitute with g bin_dir_cmd. Should fix
2187      bug #742.
2188 -    Modify USTORE constructor to set an empty store_source string, 
2189      and don't copy the store_source string in a cancel.  Hopefully
2190      this will fix Arno's seg fault, bug #744.
2191 -    Add back code to disable conio in configure. Fixes bug #743.
2192 -    Correct the Options scanner in the FD to correctly handle  
2193      SHA1 option, which was eating the next option.  Reported by    
2194      Sebastien Guilbaud.
2195 -    Add code to indicate when the SD is spooling, spool wait, and 
2196      despooling as requested by Alan Brown.
2197
2198 ;;;
2199
2200 Kern;;;2007/1/4;;;14:30
2201
2202 Bacula Version 2.0.0 has been released to Source Forge.
2203
2204 There is an English Press Kit, written by Dan Langille at:
2205    
2206    http://www.bacula.org/about/press/presskit200.html.en
2207
2208 and a German version, translated by Arno Lehmann at:
2209
2210    http://www.bacula.org/about/press/presskit200.html.de
2211
2212 ;;;
2213    
2214 Kern;;;2007/1/4;;;14:31
2215
2216           Release Notes for Bacula 2.0.0
2217
2218   Bacula code: Total files = 438 Total lines = 154,329 (*.h *.c *.in)
2219
2220 ==== IMPORTANT Catalog update required =====
2221 - The database format has been updated from what was used in    
2222   Bacula 1.38.x.  You must manually update your database before 
2223   running Bacula 1.39.x or higher.  If you are using Bacula supplied
2224   RPMs this is not necessary as the RPM does it automatically.
2225   Please backup your previous version of the database before
2226   running the update.  The update script will be automatically
2227   installed in your scripts directory, or can also be found in
2228   <bacula-source>/src/cats.  It is called:
2229
2230      ./update_bacula_tables
2231
2232   It is necessary to run it only once the first time you move to
2233   a 2.0.0.  Upgrading the Bacula version thereafter does not
2234   require updating the database again.  Depending on the size of
2235   your database the script make take a bit of time, to run, but
2236   in general, it should be very fast.
2237
2238 ==== IMPORTANT new Win32 install procedure =====
2239   For Win32 migrations from versions prior to 1.39.0 nothing special
2240   needs to be done to upgrade.  Everything should be taken care of
2241   automatically.  The only thing not done is to delete the old C:\bacula
2242   directory mostly out of paranoia.
2243
2244 ==== IMPORTANT miscellaneous ====
2245 - The Gnome console program (gconsole) no longer functions as it
2246   should.More importantly, in restore mode, the restore tree is
2247   no longer shown in the left pane.  I suspect this is due to
2248   incompatible changes in the GTK+ API, and hence have given up
2249   on gnome and gtk+, as this has already happened several times
2250   previously.  At some point there will be a new GUI console.
2251 - The bacula-dir.conf directive Accept Any Volume has been
2252   removed because it was never implemented. You must delete all
2253   occurrence of this directive for the Director to run. The Storage
2254   daemon will automatically accept any valid Volume that you mount.
2255 - The --mandir ./configure option now points to the top level man
2256   directory.  The man files will be installed under mandir/man8 and
2257   mandir/man1 as appropriate.
2258 - You *should* be able to use 1.38.x FDs with version 2.0.0 Director
2259   and SD providing you do not use any of the new features (runscript,   
2260   data encryption). It seems to work here, but we do not guarantee it.
2261 - Your Director and SD must be simultaneously upgraded.
2262 - The restore command no longer uses the MediaType as the primary method
2263   of finding a suitable Storage device. Normally it will select the last
2264   device used to write a Volume. If no storage device is defined, it
2265   will use the old algorithm which selects the first Storage resource  
2266   with the correct MediaType.
2267 - The MD5/SHA1 hash codes kept in the database are now kept in a binary
2268   format compatible with the rest of the world. If you are running verify 
2269   jobs, you *must* do an InitCatalog or all files will show an MD5   
2270   difference.  Also, authentication uses the new algorithm by
2271   default, but *should* accept connections from older components (FD) using
2272   the old non-compatible algorithm. This has been tested, but more
2273   more testing is still needed.  
2274 - A stock SuSE 10.1 kernel may crash when Bacula runs and accesses
2275   the tape drive. Workaround, load the SuSE 10.1 version 2.6.16.21-0.25
2276   kernel or later. The SuSE 10.2 Alpha 5 or later kernel also works.
2277   This problem may also be present in certain Fedora FC5 kernels.
2278 - If you have been using the data encryption feature of 1.39.x, please
2279   be aware that certain combinations of encryption and other options
2280   with version 1.39.0 through 1.39.26 created Volume data that cannot
2281   be restored. We strongly recommend that anyone using encryption 
2282   carefully review his/her backups and at a minium do a Full backup
2283   with 1.39.28 of all encrypted data.  Robert Nelson has identified 
2284   and fixed it as follows:
2285      As of 1.39.27:
2286         No filters = Works fine
2287         Sparse = Works fine
2288         Compression = Works fine
2289         Encryption = Works fine
2290         Sparse + Compression = Works fine
2291
2292         Sparse + Encryption = Restore broken
2293         Sparse + Compression + Encryption = Restore broken
2294         Compression + Encryption = Restore broken
2295
2296      As of 1.39.28:
2297         Most combinations work, but some encrypted files are
2298         not properly restored.
2299
2300      As of 1.39.30:
2301         All combinations work fine except Sparse+Encryption.
2302
2303   Bottom line, if you are using data encryption, please test restoring
2304   data to be sure it all works correctly.
2305 - The current Volume format written by 1.39.22 is different from
2306   the format written by previous versions. The two formats
2307   are not compatible. Thus any DVDs written prior to 1.39.22 will
2308   be unreadable by version 1.39.22.
2309 - If you previously run a Bacula version prior to 1.39.30, the JobMedia
2310   data may not be correct for disk Volumes. This can cause incorrect
2311   seeking in versions after 1.39.30. If you experience what appears to
2312   be data I/O or integrity errors during restores, please add the
2313   following directive to your disk DEVICE resource in the Storage
2314   daemon conf file:
2315
2316     Block Positioning = no
2317
2318   This will turn off all seek requests during restores and avoid
2319   this problem.
2320 - VSS for Windows clients is now enabled by default.
2321 - Do not unload autochanger when doing "update slots"
2322 - Implement mount command for autochanger, see manual.
2323
2324 New Features in 2.0.0:
2325 - Turn on disk seek code for restores.
2326 - There is a partial but reasonable translation of the Bacula
2327   messages for French.  To install it, first configure and build
2328   Bacula, then as root run:
2329
2330     cd <bacula-source>/po
2331     make install
2332
2333   If you have your locale set properly you will get the translated
2334   messages.
2335 - Bacula now support Migration jobs that are documented in a new
2336   Migration chapter in the manual
2337   http://www.bacula.org/dev-manual/Migration.html
2338 - Data encryption is now implemented and is documented in
2339   a new chapter of the manual at:
2340   http://www.bacula.org/dev-manual/Bacula_Data_Encryption.html
2341 - Additional support for removable devices.  See the 
2342   Requires Mount, Mount Point, Mount Command, and Unmount
2343   Commands in the Storage daemon configuration chapter:
2344   http://www.bacula.org/dev-manual/Storage_Daemon_Configuratio.html
2345   Also see the Edit Codes for Mount and Unmount Directives in the
2346   same chapter.
2347 - Switch the Win32 build from using Microsoft C++ to using mingw32
2348   cross-compiling.  The initial work was done by Howard Thomson,
2349   then tweaked by me.  Robert Nelson then totally reworked the
2350   cross-compiling code so that it not only cross-compiles, but
2351   also compiles on Visual Studio, and at the same time, he added
2352   all the current Unix features to the FD, such as selection on
2353   drives, encryption support, building *all* the tools, ...
2354 - The Director and Storage daemon have now been ported to Win32.
2355   This code is working but should still be tested carefully
2356   before putting into production.
2357 - Bacula restore and bextract can now extract non-portable Win32 data to
2358   any client (including Unix/Linux clients). Of course, in doing so,
2359   the Microsoft specific permissions and ACLs will be lost.  Thanks
2360   to Thorsten Engel for this code.
2361 - The 260 character limitation for Win32 paths name lengths is now 
2362   eliminated thanks to Thorsten Engel. However, if you are using
2363   Volume Shadow Copy, please be careful to specify all the paths
2364   in the bacula-fd.conf file using a full path notation including
2365   the drive letter.
2366 - Eric Bollengier wrote new RunScript directives that includes
2367   the old RunBefore/AfterJob and ClientRunBefore/AfterJob features
2368   plus a *lot* more, allowing you to control just about every aspect
2369   of running scripts.  See the manual for detailed documentation.
2370   http://www.bacula.org/dev-manual/Configuring_Director.html#5227
2371 - SunOS ACLs should now work thanks to a patch from David Duchscher.
2372 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
2373   If this patch is applied, the number of days can be specified with
2374   "list nextvol days=xx"
2375   or
2376   "status dir days=xx"
2377   This can be used to preview the next scheduled job (and the
2378   next tape to be used) on Fridays if there are no scheduled jobs during
2379   the weekend.
2380 - From Eric Bollengier. One can now using the bconsole wait command do:
2381    wait  (wait for all jobs to stop)
2382    wait jobid=nn
2383    wait jobuid=unique id
2384    wait job=job-name
2385 - Volumes can now be set to Enable, Disable, or Archive. If they
2386   are not enabled, Volumes will not be mounted.             
2387   Implement update volume enable=(on|off|true|false|archived|0|1|2)
2388 - Add Catalog message destination in Messages resource that puts the
2389   job report in the Log database table.
2390 - Writing/reading DVD Volumes is much more stable -- to the point
2391   of being useful. Thanks to Richard Mortimer.
2392 - Add enable/disable job=<job-name>.  This command prevents
2393   the specified job from being scheduled. Even when disabled,
2394   the job can be manually started from the console.
2395 - The database Id records should be 32/64 bit independent now. 64 bits
2396   can be enabled by changing one define and changing the appropriate
2397   table variable. Normally, you need 64 bits only for FileId.
2398 - Relative path specifications (i.e. ../xxx) are now permitted in
2399   the restore cd command.
2400 - When running multiple simultaneous jobs, most jobs that use spooling
2401   will now finish faster due to a mutex optimization made by Eric
2402   Bollengier.
2403 - Conf files containing UTF-8 marker at the head of the file as well as
2404   conf files containing Window cr/lf and Mac cr line termination characters 
2405   are now accepted thanks to Robert Nelson.
2406 - Windows tray status windows are scrollable and resizable.
2407 - Win32 external script execution is much more flexible -- handles
2408   spaces in names better, ...
2409 - Lots of DVD fixes -- writing DVDs is now reported to work.
2410 - Fix opening of database in a restricted console to respect     
2411   any Catalog ACL.
2412 - Much better automatic handling of multiple database catalogs in
2413   the restore command.
2414 - Permit multiple console/director resources in bconsole.conf.
2415   patch from Carsten Paeth calle@calle.in-berlin.de
2416 - Character substitution in Job/JobDefs WriteBootStrap.
2417   from Eric Bollengier.
2418 - Apply patch supplied in bug #656 to pass priority field
2419   in the run dialog to the Director in gnome console.
2420 - Add support of encrypted data stream to bscan from Eric.
2421   display data_len instead of data content (may be binary).
2422 - Add Enabled=xxx on update slots command.
2423 - Add host:port to connect failure messages to FD and SD from Dir/
2424 - Add WhereACL to console ACL list.  If nothing is specified, only
2425   the default is permitted for restore. Otherwise, *all* allows any
2426   path, or you can specify permitted paths. This should allow control
2427   over where users can restore files. This is untested.
2428 - Install man pages with 'make install'.
2429 - Add Media.Enabled flag to client backups for dotcmds.c
2430 - Enforce Media.Enabled=1 for a current restore to work
2431 - Require restore case 3 to have sqlquery permission to work.
2432 - Add -n option to bconsole to turn off conio -- used in bweb.
2433 - The bytes field in the terminated jobs part of the status
2434   command now reports in KB, MB, ... units.
2435 - When not descending into a directory, print the File= name that
2436   triggered it -- makes why not descending a bit clearer
2437 - Do not unload autochanger when doing "update slots"
2438 - Implement mount command for autochanger
2439 - Fix bug #462 incorrect error message printed when client script called
2440   from File= was not found.
2441 - Fix bug #558 (waiting for feedback) where Bacula needs too much time to
2442   do a rewind on Solaris when no tape is in the drive (Solaris does not
2443   have the detailed errno found on Linux).  Added Solaris specific code.
2444   Note, this may apply to other OSes as well.
2445 - The examples directory has a new bacula_mail_summary.sh file that
2446   creates a single email summary of any number of jobs. Submitted by
2447   Andrew J. Millar.
2448 - Add nagios plugin to the examples directory. Submitted by
2449   Christian Masopust.
2450 - Modify most restore error messages to be queued so that they
2451   appear at the end of the job rather than mixed with the restore
2452   listing where they could be "lost".
2453 - Apply patch supplied by user (slightly modified) to fix
2454   correct detection of holes in block devices and FIFOs.
2455   Bug # 506.
2456 - Added a report.pl program to the examples directory from Jonas Bjorklund.
2457 - Add two new queries to query.sql provided by Arno. One
2458   list volumes known to the Storage device, and the other
2459   lists volumes possibly needing replacement (error, ...).
2460 - Implement new code for changing userid and group at startup. This
2461   should get Bacula into the correct groups.
2462 - Implement support for removable filesystems -- device type directive
2463   and mount, unmount directives.
2464 - Transfer rates are now presented in a more readable format thanks
2465   to a user submission.
2466 - SD is now aware of what volumes are mounted. More information is printed
2467   in the Status report. You must take much more care now to unmount
2468   devices prior to removing tapes that Bacula has open or prior to
2469   changing a magazine. Don't forget to do a mount afterwards or the
2470   device will be blocked.
2471 - The Pool Maximum Volumes directive is now respected in all places.
2472 - A Storage device can now be specified in a Pool resource. It will override
2473   all other Storage specifications.
2474 - Most but not all directives accept true/false in place of yes/no.
2475 - A patch from Karl Hakimian that reads JobIds, FileIndexes
2476   from a database table for restore.
2477 - There are a number of new tables. Some such as the Location table are
2478   designed for user use in doing Volume Management software.
2479 - Maximum Changer Wait, Maximum Open Wait, Maximum Rewind Wait to
2480   accept time qualifiers.
2481 - Implement jobuid to replace old usage of job in keywords as
2482   suggested by Eric Bollengier.
2483 - Implement write variables for Python to set Priority (anytime), and
2484   Job Level, only during JobInit event.
2485 - Use the keyword ujobid to mean the unique job id; job or jobname
2486   to mean the Job name given on the Name directive, and jobid to
2487   be the numeric (non-unique) job id.
2488 - Allow the SD to use multiple drives during a backup/restore (only
2489   one at a time).
2490 - Integrate addition of line count limitation to bsmtp -l from
2491   Sebastian Stark <stark at tuebingen.mpg.de>
2492 - Split the bacula start/start script into four files:
2493    bacula         -- starts and stops calling other scripts
2494    bacula-ctl-dir -- starts/stops the director
2495    bacula-ctl-fd  -- starts/stops the File daemon
2496    bacula-ctl-sd  -- starts/stops the Storage daemon
2497 - Remove automatic case folding on Windows FDs. You must
2498   explicitly use the 'Ignore Case = yes' option.
2499 - Implement wild program in tools directory for testing
2500   wild-cards. Almost identical to the regex program.
2501 - Use the new bregex.c to implement Regex expressions on Win32.
2502 - Apply patch from Christopher Hull
2503   - Allow multiple connections to database with different
2504     parameters.
2505   - Invalidate the scheduler when doing a reload. Fixes seg
2506     fault, but still 60 second window.
2507   - Additional info in Reschedule message.
2508   - Use set_jcr_job_status() everywhere to prevent loss of
2509     cancel, error.
2510   - Display peer IP in FD if error from connecting DIR.
2511   - Don't increment file count for DIRBEGIN.
2512   - Replace illegal characters in Win32 filename by _.
2513   - Add SE_CREATE_PERMANENT_NAME privilege in Win32.
2514   - Hash hard link filenames rather than linked list (performance).
2515   - Fix for security failure in chdir on Win32.
2516   - Add CreateDirectoryA/W win32 API entry points.
2517 - programs to duplicate Bacula's base64 algorithm using standard
2518   routines. This fixes bugs #296, and 565. Patch submitted by
2519   author of bug #565.
2520 - Fixes to reloading the Dir conf file from Eric Bollengier and Christopher
2521   Hull.
2522 - Modify LICENSE to correct some problems pointed out by Debian.
2523 - Apply a patch submitted by cesarb in bug #606 to implement O_NOATIME support.
2524     O_NOATIME is a open() flag which makes it possible to read a file without
2525     updating the inode atime (and also without the inode ctime update which
2526     happens if you try to set the atime back to its previous value). It also
2527     prevents a race condition when two programs are reading the same file, but
2528     only one does not want to change the atime. It's most useful for backup
2529     programs and file integrity checkers (and bacula can fit on both
2530     categories).                                                    
2531   You enable it in the Bacula FileSet Options resource by setting:
2532      noatime = yes
2533   The effect of this option is similar to the keepatime option except
2534   it is more efficient and avoids modifying ctime.
2535 - Implement a pile of new man pages contributed by Jose Tallon.
2536 - Modify the database format for handling Migration jobs:
2537    Add PriorJobId, RealEndTime to Job table
2538    Delete MAC table
2539    Remove Stripe from JobMedia record (not used, wasting space)
2540    Add ScratchPoolId, RecyclePoolId, Enabled to Media record
2541    Add Cost to Location table.
2542    Enabled to Media table and Location table.
2543 - Security: harden authentication failure in FD by single threading errors
2544   and forcing a 6 second wait.
2545 - If using GCC (actually g++) add the following compiler flags
2546   -fno-strict-aliasing -fno-exceptions -fno-rtti
2547 - Turn on new bsnprintf() code.  The reason for this code is to
2548   eliminate the security problems associated with using the
2549   system libraries print routines.
2550 - Implement job report that indicates where Storage and Pool
2551   came from -- with overrides and Pool storage and NextPool,
2552   it is all very complicated.
2553 - Add more detail (Storage, Device) to list of volumes printed
2554   for restore.
2555 - Add new VOLMGMT message class. No messages are yet sent with this 
2556   class.
2557 - Improved Bacula rescue procedures -- see the Disaster Recovery
2558   chapter of the manual
2559 - Add spooling/despooling info in status output of SD.
2560 - Add Comment field to llist of a volume.
2561 - Allow true/false in many but not all yes/no directives.
2562 - The Bacula source code is now copyrighted by the Free Software 
2563   Foundation Europe. The Developer's Guide documents the new procedures,
2564   and the LICENSE file has been updated.
2565 - Apply Jaime Ventura's patch that implements the Messages resource
2566   Mail On Success directive.
2567 - The Client returns its Version string, which is printed in the Job
2568   report.
2569 - The Client returns whether or not VSS and Encryption are used, which
2570   are printed in the Job report.
2571
2572 Additional Features Added for Win32:
2573 - Added DriveType directive to the Director's Include Option FileSet
2574   resource.  Allowed values are: fixed, removable, cdrom, and remote.  There
2575   is only an implementation for Windows because it is the only platform that
2576   has the concept of drives.
2577  
2578 - Adds EnhancedWild directive to the Director's Include Option FileSet
2579   resource.  Allowed values are: yes and no.
2580  
2581   When EnhancedWild is enabled then the processing of the
2582   Wild, WildDir and WildFile is changed in the following ways.
2583  
2584   Patterns conform to Posix
2585       \ is not a special character in character classification []
2586       To match a - it must be the first or last character
2587       To match a ] it must be the first character
2588  
2589       fnmatch option FNM_FILE_NAME is specified * doesn't match a / 
2590       so it won't match multiple directory levels in a path
2591  
2592 - Relative WildFile patterns (ones without a leading /) match
2593   against the filename portion.  This in combination with the
2594   FNM_FILE_NAME fnmatch() flag makes directives such as WildFile =
2595   abc*.def work as expected.
2596  
2597 - Adds support for the shell's feature of brace expansion.
2598
2599   Here is an example where braces allow 24 lines to be expressed in 5.
2600
2601   # Exclude directories full of lots and lots of useless little files
2602   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Cookies"
2603   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Recent"
2604   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/History"
2605   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temp"
2606   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temporary Internet Files"
2607
2608 ;;;