]> git.sur5r.net Git - bacula/docs/blob - docs/home-page/fr/news.txt
Add Articles to home page -- needs more work
[bacula/docs] / docs / home-page / fr / news.txt
1
2 Kern;;;27 Jan 2008;;10:30
3 Bacula version 2.4.0 Released
4 This is to inform you that we have released the source and Win32 binaries of 
5 Bacula version 2.4.0 to the Bacula Source Forge download area.
6
7 This release consists mainly of a number of bug fixes since 2.2.x
8 but most importantly, a rewrite of significant portions of the
9 Storage daemon reservation and autochanger code. This rewritten
10 code is simpler, more stable, and works much better, particularly
11 with multiple drive autochangers than the prior code did.  That
12 said, there are still a number of issues to be resolved. Note,
13 the new code has not been tested in manual volume mount situations.
14
15 As usual, we strongly recommend when installing to keep the Director and the 
16 Storage daemon on the same version.  However, since this release only 
17 contains refactored code and bug fixes rather than new features, the clients 
18 (File daemons) should function perfectly with any 2.2.x version, and there is 
19 no database upgrade needed.
20
21 =====================================================
22                                                                      
23        Release Notes for Bacula 2.4.0
24
25   Bacula code: Total files = 500 Total lines = 188,654 (*.h *.c *.in)
26
27 This Director and Storage daemon must be upgraded at the same time,
28 but they should be compatible with all 2.0.x File daemons, unless you
29 use some of the new features that affect the FD.  In other words, you should
30 not have to upgrade all your File daemons when you upgrade. There is
31 no database upgrade needed from version 2.0.x to 2.2.0 nor from version
32 2.2.x to version 2.4.0
33
34 ==================   Warning !!!!!! ==========================
35 As of Version 2.4.0, the Win32 FD should not descend into
36 any reparse point directory or reparse mount points unless the
37 specified directory is explicitly mentioned at the top level of
38 FileSet (as with Unix). A file that is linked to another file will
39 be backed up, much like Unix hardlinked files.  If you want
40 reparse directories backed up, you must explicitly include them
41 in your FileSet.
42 ======================================================
43
44 This release consists mainly of a number of bug fixes since 2.2.x
45 but most importantly, a rewrite of significant portions of the
46 Storage daemon reservation and autochanger code. This rewritten
47 code is simpler, more stable, and works much better, particularly
48 with multiple drive autochangers than the prior code did.  That
49 said, there are still a number of issues to be resolved. Note,
50 the new code has not been tested in manual volume mount situations.
51
52 Bugs fixed:
53  1095, 1086, 1091, 1070, 1041, 1083, 1078, 1066, 1068, 1038
54  1062, 1065, 1046, 1047, 1031
55
56 New features:
57 - You can now build bat without the QWT libraries. Use
58   --without-qwt as a ./configure option.
59
60 Release Version 2.4.0
61 - Update version to 2.4.0 to reflect the magnitude of the SD changes.
62 - Make sure to clear JS_WaitMedia when operator mounts a Volume.
63   This fixes bug #1095.
64 - Add create_postgresql_database.sql to Win32 installer. Should
65   fix problem reported by Juilio Monteiro.
66 - Get correct slot when auto unloading a device. This fixes bug
67   #1086.
68 - Fix possible seg fault if SQL error.
69 - Fix renaming a Volume, which used the wrong Volume name.
70 - If operator has rewind tape, print warning, release tape and
71   try once more. If tape is positioned somewhere, something went
72   wrong, so mark the tape in error and try once more. Previously
73   this error was fatal, now it produces an error message.
74 - Ensure correct volume name displayed during restore
75 - Fix a few more Coverity reported problems.
76 - Fix #1091 about bad output in estimate command.
77 - Modify autochanger locking to attempt to avoid race
78   conditions.
79 - Make sure device not busy before doing label command.
80 - Display open() errors except when polling. Previously too
81   many were suppressed.  This should fix bug #1070.
82 - Fix Win32 reparse points. Bacula will not recurse into any
83   reparse point directory, including mount points, unless the
84   directory is explicitly mentioned at the top level (same as   
85  with Unix).  A file that is linked to another file will be
86   backed up -- much as Unix does for hardlinked files.
87   This fixes bug #1041.
88 - Remove StorageId test when pruning and recycling (Eric's changes).
89 - Fix buffer overruns detected by Coverity.
90 - Implement --without-qwt
91 - Fix layout of restore tree dialog
92 - Add configure bat QWT libraries, so that bat can be built
93   with or without the QWT libaries.
94 - Implement regression that explicitly tests swapping a Volume
95   from one drive to another.
96 - Enhance disk-changer to detect most error conditions.
97 - Fix SD code so that it properly swaps a Volume between drives.
98   This fixes bug #1083.
99 - Prevent a Volume that is being swapped from being freed from
100   the volume list. This will most likely fix, at least partially,
101   bug #1083.
102 - Fix strippath so that it does not get a buffer overrun and crash FD.
103   This fixes bug #1078.
104 - Make inability to change owner/group when creating a dir only a
105   warning rather than an error.
106 - Fix SQL query in migration code
107 - Fix bat seg fault at termination.
108 - Add Bacula generated version to bat about box.
109 - Backport development stream SD reservation system changes.
110 - When wrong volume is mounted during read, unload_autochanger.
111 - Stop searching for Volumes in SD askdir if DIR returns the
112   same volume name twice in a row.
113 - Rework class structures for VOLRES, DCR, and DEVICE to make
114   the method names a bit more logical, and for more logically
115   handling the responsibilities.
116 - Remove redundant code in terminating the scheduler that just
117   causes a seg fault in many cases.
118 - Improve algorithm for detecting pre-reserved volume and
119   swapping volumes.
120 - Prevent volume from being released while being swapped.
121 - Refactor parts of stored/mount.c
122 - Add sanity checks for VolWriteTime and VolReadTime
123 - Take care of bad clock changes while computing VolWriteTime
124   and VolReadTime. This should fix or limit #1066
125 - Correct error string numbers in dird/catreq.c
126 - Restructure reserving, acquiring, and mounting volumes. Calls to
127   autochanger are deferred for mount.c -- simplifes the code.
128 - Do not prune any running job. It just fails the job.
129 - Lock the volumes when changing dev->reserved_device and marking
130   the volume unused otherwise the device can get reserved by
131   another job before the volume is released, thus blocking it.
132 - Correct some SD catalog request error messages.
133 - Turn off code in read_record that causes a seg fault in the SD
134   when reading past an EOS_LABEL.
135 - Turn off unloading the autochanger in reserve.c as it just
136    causes problems.
137 - Lock volumes when unreserving a device.
138 - Do not mark volume unused when recycling.
139 - Fix bug #1068 fixes a SD crash when using Virtual autochanger.
140 - Generate correct JobMedia records during spooling/despooling when
141   running concurrent jobs.  Thanks to Tom Ivar Helbekkmo
142   <tih@hamartun.priv.no> for excellent analysis and testing.
143 - *Massive* commit of all fixes and back ports to create 2.2.9
144   Mostly SD reservations enhancements.
145 - Fix Win32 FD backup/restore memory leak due to improper termination
146   of BackupRead/Write. This fixes bug# 1038.
147 - Fixes a StorageId problem with volumes after migration.
148 - Implements autostart scripts for Debian
149 - Fix mtx-changer.in for broken Debian mt program.
150 - Apply doc fix from bug #1062.
151 - Resolve crash and improper restore wx-console Win32 restore
152   GUI. Fixes bug #1065.
153 - Update Win32 wxWidgets to latest version.
154 - Attempt to do correct handling of Win32 mount points. Should
155   fix bug #1046.
156 - Add const to AIX prototype for initgroups()
157 - Fix to the JobMedia patch, which introduced a new problem.
158 - Fix creating first JobMedia record during Migration to include
159   proper index. This caused slow restores of migrated jobs.
160 - Fix bug #1047, do not strip paths on symbolic links.
161 - Set catalog backup database and user name from values specified on
162   the ./configure line.
163 - Apply patch to correct bug #1031, about wrong pool source information
164   in job report.
165 ;;;;
166
167 Kern;;;27 Jan 2008;;10:30
168 Bacula version 2.2.8 Released
169 Bacula version 2.2.8 source tar files as well as the Win32
170 binaries are available in the bacula and Win32 release areas 
171 of Source Forge. I have hidden the previous BETA release
172
173 Version 2.2.8 is a bug fix to version 2.2.7 and has a few
174   additional bugs fixed than the BETA 2.2.8 version previously
175   released:
176 - It fixes bugs: 1036, 1033(doc), 1028, 1040, 1045(doc), 1030,
177   1042(partially), and possibly bugs 1018 and 1032.
178   Bugs 1018 and 1032 involve problems with multiple-drive autochangers,
179   and are difficult to reproduce.         
180   See the ChangeLog for more details.
181   Note, if you previously loaded version 2.2.8 BETA, you will probably
182   want to upgrade, but it is not urgent ...
183 ;;;
184
185
186 Kern;;;9 Jan 2008;;20:30
187 Bacula version BETA 2.2.8 Released
188 Bacula version 2.2.8 source tar files as well as the Win32
189 binaries are available in the bacula-beta and
190 Win32-beta release areas of Source Forge
191
192 Version BETA 2.2.8 is a bug fix to version 2.2.7:
193 - It fixes bugs: 1036, 1033(doc), 1028, and possibly 1018 and 1032.
194   Bugs 1018 and 1032 involve problems with multiple-drive autochangers.
195 ;;;
196
197 Kern;;;24 Dec 2007;;20:30
198 Bacula version 2.2.7 Released
199 Bacula version 2.2.7 source tar files as well as the Win32
200 binaries are available in the Bacula release area of Source Forge
201
202 Version 2.2.7 has several new features and several important bug fixes
203   since version 2.2.6:
204 - It fixes bugs: 1009, 1022, 1024, 1019, 1012, 1021, 1020
205   1007, 1008.  For more details, please see the technotes-2.1 file.
206 - Fixed a seg fault reported by Frank Sweetser that depended on
207   exact path lengths, but the problem was in bsnprintf.c
208 - Double quoting include filenames (@xxx) in Bacula conf files is now
209   possible, thanks to a patch by Michael Stapelberg.
210 - You can pipe input to include filenames (@|prog) by using a vertical
211   bar, thanks to the above patch.
212 - A daylight savings time bug in the Win32 bsmpt was fixed by a patch from
213   Nerijus Baliunas.
214 - Marc Cousins submitted a patch that permits building the PostgreSQL
215   driver with version 8.3.
216 - The configure option --archivedir has been changed to --with-archivedir
217 ;;;
218 Kern;;;9 Nov 2007;;15:25
219 Bacula version 2.2.6 Released
220 Bacula version 2.2.6 source tar files as well as the Win32
221 binaries are available in the Bacula release area of Source Forge.
222
223 This release is a minor fix upgrade to version 2.2.5,
224 and we recommend that all users upgrade when they can.
225
226 Version 2.2.6 is a minor bug fix realease to version 2.2.5
227 - It fixes bugs: #1003, 942, 982, 990(response only), 991,
228   993, 986, 976.
229   - Fix bat crash wen it cannot connect to Director.
230   - Fix joblist failure bug in bat.
231 ;;;
232 Kern;;;9 Oct 2007;;15:25
233 Bacula version 2.2.5 Released
234 Despite the fact that the Release Notes are rather short, the bug
235 fixes represent quite a lot of work:
236
237 Version 2.2.5 is a major bug fix release to version 2.2.4
238 - It fixes the following bugs: #961, 962, 963, 969, 968, 960,
239   964, (possibly 935 and 903), 953, 953, 967, 966, 965, 954,
240   957, 908, 958, and 955.
241 - It also improves listing performance problems in bat pointed
242   out by Chris Howells.
243 ;;;
244 Kern;;;29 Sept 2007;;20:30
245 A serious data loss bug in Bacula version 2.2.4 found and fixed
246
247 This bug was very elusive and time consuming to track down.  It
248 turned out to be a race condition that can lose the last one or
249 two blocks of a Job, which can happen in rare cases only when
250 running multiple simultaneous jobs when a volume fills and one
251 Job finishes receiving the last data from the FD and at the same
252 time a second job detects the end of the Volume.  The bug was
253 introduced in version 2.0.0 and did not exist in version 1.38.x.
254 If the bug is triggered, the data is lost (not written to the
255 Volume), and it can occur for any backup job of any level under
256 the conditions noted above.
257
258 The bug is reported in the bugs database as bug #964, and just
259 this morning I found and tested a fix, which is attached as a patch
260 to the bug report.  The patch (2.2.4-lost-block.patch) is also
261 uploaded to the bacula-patches 2.2.x release area.  This bug may
262 also be part of the problems reported in bug #935 and possibly
263 #903.
264
265 Also in the bacula-patches 2.2.x area, you will find other
266 patches that fixes bugs #953, 966, 967, 965, 958, 908, and
267 955. Please refer to bugs.bacula.org for the details.
268
269 Though this bug quite serious (data loss), it should be rare.
270 However, we recommend everyone to apply the patch.
271 ;;;
272 Kern;;;2007/9/14;;;14:30 
273 Bacula version 2.2.4 Released 
274
275 This version of Bacula is a minor bug release to version 2.2.3.
276 It contains the following fixes:
277
278 - Possible fix for authorization problems bug #953.
279 - Possible fix for bug #908.
280 - Add waits to multiple exit detection code to try to force pid
281   file to always be deleted.
282 - Restore good dev.tar.gz to rescue set appropriate binary property.
283   This fixes bug #950.
284 - Fix seg fault in error exit of acquire_for_read after unsuccessfully
285   trying to switch drives by checking for blocking before unblocking.
286   Fixes bug #906.
287 - Cancel storage daemon in all cases where FD reports error. This
288   should fix virtually all cases of bug #920 and will ensure that Devices
289   are released as soon as possible.
290 - Fix error message that was clobbered when Dir tells SD it does not
291   have write permission on Volume.  This should fix a minor point
292   in bug #942, but not the main problem.
293 - Fix migration code to get correct Volume name with multiple volumes 
294   by skipping |.  Fixes bug #936.
295 - Implement patch supplied by Landon to fix bug #944 where using
296   TLS with bconsole uses 99+% of the CPU.
297 - Fix bug #946 about "bacula-dir -t" which doesn't works
298   as expected.
299 - Using "m" in bconsole will show messages as in prior versions
300   and not memory usage.
301
302 - Note, you need GTK >= 2.10 to be able to link the Tray Monitor
303   program.
304 ;;;
305 Kern;;;2007/9/9;;;14:30
306 I regret to announce that there is a rather serious bug in Bacula.
307
308 Bacula bug #935 reports that during a restore, a large number of files are 
309 missing and thus not restored.  This is really quite surprising because we 
310 have a fairly extensive regression test suite that explicitly tests for this 
311 kind of problem many times.
312
313 Despite our testing, there is indeed a bug in Bacula that has the following 
314 characteristics:
315
316 1. It happens only when multiple simultaneous Jobs are run (regardless of
317 whether or not data spooling is enabled), and happens only when the
318 Storage daemon is changing from one Volume to another  -- i.e. the
319 backups span multiple volumes, and it only happens for Jobs writing
320 to the same volume.
321
322 2. It has only been observed on disk based backup, but not on tape.
323
324 3. Under the right circumstances (timing), it could and probably does happen
325 on tape backups.
326
327 4. It seems to be timing dependent, and requires multiple clients to
328 reproduce, although under the right circumstances, it should be reproducible
329 with a single client doing multiple simultaneous backups.
330
331 5. Analysis indicates that it happens most often when the clients are slow
332 (e.g. doing Incremental backups).
333
334 6. It has been verified to exist in versions 2.0.x and 2.2.x.
335
336 7. It should also be in version 1.38, but could not be reproduced in testing,
337 perhaps due to timing considerations or the fact that the test FD daemons
338 were version 2.2.2.
339
340 8. The data is correctly stored on the Volume, but incorrect index (JobMedia)
341 records are stored in the database.  (the JobMedia record generated during
342 the Volume change contains the index of the new Volume rather than the
343 previous Volume).  This will be described in more detail below.
344
345 9. You can prevent the problem from occurring by either turning off multiple
346 simultaneous Jobs or by ensuring that while running multiple simultaneous
347 Jobs that those Jobs do not span Volumes.  E.g. you could manually mark
348 Volumes as full when they are sufficiently large.
349
350 10. If you are not running multiple simultaneous Jobs, you will not be
351 affected by this bug.
352
353 11. If you are running multiple simultaneous Jobs to tapes, I believe there is
354 a reasonable probability that this problem could show up when Jobs are split
355 across tapes.
356
357 12. If you are running multiple simultaneous Jobs to disks, I believe there is
358 a high probability that this problem will show up when Jobs are split across
359 disks Volumes.
360
361 13. The bug concerns only the Storage daemon so there is no need to update
362 the clients, though I do recommend updating the Director when installing
363 an updated Storage daemon.
364
365 I have uploaded patches to bug #935 (bugs.bacula.org) that will correct
366 version 2.2.0, 2.2.1, and 2.2.2.  The patch has been tested only on version
367 2.2.2 and passes all regression tests as well as the specific test that
368 reproduced the problem. 
369
370 The patch has now been confirmed to fix the problem reported, and Bacula
371 version 2.2.3 has been released to Source Forge.
372
373 For the technical details of the bug, please see: 
374
375   http://www.bacula.org/downloads/bug-935.txt
376
377 ;;;
378
379 Kern;;;2007/8/11;;;14:30
380
381 Bacula Version 2.2.0 has been released to Source Forge.         
382
383           Release Notes for Bacula 2.2.0 
384
385   Bacula code: Total files = 520 Total lines = 195,550 (*.h *.c *.in)
386   82 new files, 41,221 new lines of code, 208,380 lines of change from 2.0.3
387
388 This Director and Storage daemon must be upgraded at the same time,
389 but they should be compatible with all 2.0.x File daemons, unless you
390 use some of the new features that affect the FD.  In other words, you should
391 not have to upgrade all your File daemons when you upgrade. There is
392 no database upgrade needed from version 2.0.x to 2.2.0.
393
394 Areas requiring caution or testing:
395 - You must have the thread safe version of MySQL client libraries loaded
396   to build with MySQL enabled.
397 - Volumes are pruned only when absolutely necessary -- this may cause
398   your database to grow compared to prior Bacula versions.
399 - Solaris door and even port files are no longer restored (equivalent
400     to what we do with sockets).
401 - SQLite is no longer supported for Solaris -- it fails too often with
402   bus errors.  SQLite3 should work on Solaris.
403 - The default setting for SQLite3 is now 'PRAGMA synchronous=OFF'.
404   This makes it run 30 times faster, but increases the possiblity
405   of a corrupted database if your server shuts down unexpectedly.
406   The default behavior can be changed in src/version.h
407 - Restore on Win32, and in particular on Vista is untested. Please
408   test before relying on it.  It should backup and restore reparse
409   points.
410 - Win32 servers are untested, and very likely not to work.
411
412 The major new features are:
413 - Much faster insertion of attributes (somewhere around 10 times),
414   many thanks to Eric Bollengier and Marc Cousin. 
415 - First release of bat (Bacula Administration Tool).  Note to build
416   bat you must explicitly enable it on the ./configure line, you
417   must have the Qt4 version 4.2 or later libraries loaded, the qwt
418   (Qt Graphics) package loaded, and qmake and the other Qt4 tools 
419   must be available. Most of the implementation was done by Dirk Bartley.
420 - Red/Black restore in memory tree (500 times faster loading).
421 - The Regex Where code to allow easier relocation of restored files 
422   thanks to Eric.
423 - Socket level heartbeat for all connections (untested).
424 - posix_fadvise() use in the FD to improve performance reduces
425   swapping due to opening/reading lots of files. Win32 equivalent
426   implemented.
427 - Much improved Volume reservation code that should eliminate most
428   conflicts experienced in multiple drive autochangers.
429 - Simpler locking in the SD in the reservation system.
430 - Detection of file size/date change during backup if enabled.
431 - New Recycle Pool feature -- thanks to Eric.
432 - Efficient implementation of very large include/exclude lists.
433 - Volumes are no longer pruned during 'status dir'
434 - Pruning is now more efficient, and if a Volume is purged,
435   during pruning, it is immediately discovered.
436 - License is now GPL v2 without modifications, fix a few copyright
437   mistakes made when adding FSFE copyright notice.
438
439 New ./configure options:
440 - --enable-bwx-console    
441 - --enable-bat
442 - --with-qwt=
443 - --with-db-name=
444 - --with-db-user=
445 - --enable-batch-insert
446
447 New bconsole commands:
448 - exec
449 - memory
450 - update recyclepool
451 - .sql
452 - .api
453 - .pwd (in restore tree)
454 - restoreclient (keyword)
455 - backupclient  (keyword)
456 - regexwhere    (keyword)
457 - update jobid  (new command)
458 - recyclepool   (keyword) 
459
460 New directives:
461 - Heartbeat Interval (bconsole.conf)
462 - Heartbeat Interval (bacula-dir.conf in Director, Client, Storage)
463 - TLS Allowed CN     (bacula-dir.conf in Client)
464 - Regex Where        (bacula-dir.conf in Job)
465 - Strip Prefix       (bacula-dir.conf in Job)
466 - Add Prefix         (bacula-dir.conf in Job)
467 - Add Suffex         (bacula-dir.conf in Job)
468 - Recycle Pool       (bacula-dir.conf in Pool)
469 - FailJobOnError     (bacula-dir.conf in RunScript)
470 - CheckFileChanges   (bacula-dir.conf in FileSet)
471 - StripPath          (bacula-dir.conf in FileSet)
472
473 Other features or bug fixes:
474 - Fixed bugs: 916, 910, 917, 914, 906, 907, 
475   842, 830, 893, 861, 888, 886, 807, 877, 872
476   885, 887, 864, 874, 882, 881, 863, 859, 
477   856, 854, 845, 847, 846, 809, 772, 
478   822, 825, 824, 808, 802, 797, 798, 795, 789, 791, 
479   788, 780, 763, 782, 612, 767, 775, 621, 772, 764, 
480   766, 621, 761, 755, 750, 741, 747, 742, 744, and 743.
481 - Configure bat with --enable-bat. Define qwt libraries with
482   --with-qwt=<dir>. See Installation chapter of manual for details.
483 - Create a depkgs-qt package that has both Qt4 and qwt, which are
484   needed to build bat. Most modern Linux systems will have both
485   these packages in the distro.
486 - Storage overrides delete all previous storage definitions instead
487   of prepending.
488 - One should be able to mount and unmount removable devices if the
489   Device resource has Removeable Media set and the mount and unmount
490   directives are defined.
491 - ./configure will do a better job of searching for qwt libraries.
492 - The Win32 version can no longer be shutdown from the tray monitor.
493   Use the command line or the Services panne.
494 - Keep prune_volumes() from pruning the whole Scratch pool.
495 - More debug output in status storage.
496 - Correct moving a Scratch volume from pool to pool (some
497   critical columns were lost).
498 - Different locking in reservations and despooling systems,
499   which means more micro-locking and less macro-locking, which
500   should give a lot more concurrency at the expense of slightly
501   (<0.1%) more overhead due to more locking/unlocking, but     
502   concurrent jobs should run much faster.
503 - Additional drive reservation algorithm that should solve a lot of
504   the problems experienced with multiple drive autochangers.
505 - Storage daemon status command enhanced to more clearly show Volume,
506   pool and media type when a job is waiting.
507 - Made bsmtp work with more strict SMTP servers.
508 - Detect doubly freed buffers in smartall.c
509 - wx-console renamed to bwx-console (Fedora request)
510 - gnome-console renamed to bgnome-console (Fedora request)
511 - Migration preserves original job's FileSetId
512 - Spooling implemented for migration jobs.
513 - Config files can be read through a pipe, by specifying a leading |
514   in front of the configuration path/filename.
515 - New memory command (bconsole) that will print the current Director's
516   memory usage, and an in use buffer dump.
517 - Console name changed from *Console* to -Console- to accomodate Win32
518   filename restrictions.  
519 - Corrected the Win32 ftruncate bug.
520 - Additional version information added to Job reports.
521 - New -8 option for bsmtp to specify UTF-8 encoding type.
522 - bsmtp will no longer add < > to target (from, to, cc) if there
523   is already a < in the target.
524 - Prefer Mounted Volumes extended to mean a volume that is being
525   mounted by another job.
526 - Runscript timing set to same as version 1.38.11
527 - New TLS Allowed CN directive(s) permitted.
528 - New bconsole 'exec' command to run external script/command.
529 - Turn on FreeBSD/OpenBSD code to set EOT model on tape.
530 - Drop from root done before database is opened.
531 - Database user and name can be configured with:
532   --with-db-name=name --with-db-user=user
533 - Turn on wait_for_drive in mtx-changer script.
534 - Rework how bar codes are handled in mtx-changer script.
535   This appears to have been an unreported bug.
536 - Updated nagios plugin supplied by Christian Masopust
537 - Better restricted console ACL checking.
538 - New Client Connect Wait directive in Storage daemon so that
539   users can configure how long SD waits for FD connection.
540 - Bacula will no longer permit pruning of the currently running
541   job (note, if other jobs are running, they may be pruned).
542 - Sockets are no longer restored.
543 - dbcheck works in 300K chunks so will typically run faster.
544 - Include/Exclude lists can now be efficiently handled for quite
545   large sizes -- tens of thousands of entries.
546 - Several memory leaks in migration and database usage were fixed.
547 - New console keyword restoreclient, which specifies the client to
548   which the restore will be sent. The client keyword specifies 
549   the backup client. The restoreclient keyword is optional if it is
550   not specified, the backup client will also be the restore client.
551 - The disk file size is now checked to ensure that it agrees with the
552   catalog value before Bacula will append to the disk (same as tape
553   and DVD).
554
555 ;;;
556
557 Kern;;;2007/1/13;;;14:30
558
559 Bacula Version 2.0.1 has been released to Source Forge.
560 This is bug fix update to version 2.0.0 and contains
561 the following fixes:
562
563 -    Fix Bacula->Documentation link on Win32 to point to index.html
564      instead of bacula.html. Fixed bug #750.
565 -    Return JobId in db_get_job_record() when JobId==0. This should
566      fix bug #741.
567 -    Do not release source pointers when restarting a failed job.
568 -    Add dynamic dll entry point for SHGetFolderPath to Win32 code.
569      This *should* fix bug #747.
570 -    Modify winbacula.nsi to substitute with g bin_dir_cmd. Should fix
571      bug #742.
572 -    Modify USTORE constructor to set an empty store_source string, 
573      and don't copy the store_source string in a cancel.  Hopefully
574      this will fix Arno's seg fault, bug #744.
575 -    Add back code to disable conio in configure. Fixes bug #743.
576 -    Correct the Options scanner in the FD to correctly handle  
577      SHA1 option, which was eating the next option.  Reported by    
578      Sebastien Guilbaud.
579 -    Add code to indicate when the SD is spooling, spool wait, and 
580      despooling as requested by Alan Brown.
581
582 ;;;
583
584 Kern;;;2007/1/4;;;14:30
585
586 Bacula Version 2.0.0 has been released to Source Forge.
587
588 There is an English Press Kit, written by Dan Langille at:
589    
590    http://www.bacula.org/about/press/presskit200.html.en
591
592 and a German version, translated by Arno Lehmann at:
593
594    http://www.bacula.org/about/press/presskit200.html.de
595
596 ;;;
597    
598 Kern;;;2007/1/4;;;14:31
599
600           Release Notes for Bacula 2.0.0
601
602   Bacula code: Total files = 438 Total lines = 154,329 (*.h *.c *.in)
603
604 ==== IMPORTANT Catalog update required =====
605 - The database format has been updated from what was used in    
606   Bacula 1.38.x.  You must manually update your database before 
607   running Bacula 1.39.x or higher.  If you are using Bacula supplied
608   RPMs this is not necessary as the RPM does it automatically.
609   Please backup your previous version of the database before
610   running the update.  The update script will be automatically
611   installed in your scripts directory, or can also be found in
612   <bacula-source>/src/cats.  It is called:
613
614      ./update_bacula_tables
615
616   It is necessary to run it only once the first time you move to
617   a 2.0.0.  Upgrading the Bacula version thereafter does not
618   require updating the database again.  Depending on the size of
619   your database the script make take a bit of time, to run, but
620   in general, it should be very fast.
621
622 ==== IMPORTANT new Win32 install procedure =====
623   For Win32 migrations from versions prior to 1.39.0 nothing special
624   needs to be done to upgrade.  Everything should be taken care of
625   automatically.  The only thing not done is to delete the old C:\bacula
626   directory mostly out of paranoia.
627
628 ==== IMPORTANT miscellaneous ====
629 - The Gnome console program (gconsole) no longer functions as it
630   should.More importantly, in restore mode, the restore tree is
631   no longer shown in the left pane.  I suspect this is due to
632   incompatible changes in the GTK+ API, and hence have given up
633   on gnome and gtk+, as this has already happened several times
634   previously.  At some point there will be a new GUI console.
635 - The bacula-dir.conf directive Accept Any Volume has been
636   removed because it was never implemented. You must delete all
637   occurrence of this directive for the Director to run. The Storage
638   daemon will automatically accept any valid Volume that you mount.
639 - The --mandir ./configure option now points to the top level man
640   directory.  The man files will be installed under mandir/man8 and
641   mandir/man1 as appropriate.
642 - You *should* be able to use 1.38.x FDs with version 2.0.0 Director
643   and SD providing you do not use any of the new features (runscript,   
644   data encryption). It seems to work here, but we do not guarantee it.
645 - Your Director and SD must be simultaneously upgraded.
646 - The restore command no longer uses the MediaType as the primary method
647   of finding a suitable Storage device. Normally it will select the last
648   device used to write a Volume. If no storage device is defined, it
649   will use the old algorithm which selects the first Storage resource  
650   with the correct MediaType.
651 - The MD5/SHA1 hash codes kept in the database are now kept in a binary
652   format compatible with the rest of the world. If you are running verify 
653   jobs, you *must* do an InitCatalog or all files will show an MD5   
654   difference.  Also, authentication uses the new algorithm by
655   default, but *should* accept connections from older components (FD) using
656   the old non-compatible algorithm. This has been tested, but more
657   more testing is still needed.  
658 - A stock SuSE 10.1 kernel may crash when Bacula runs and accesses
659   the tape drive. Workaround, load the SuSE 10.1 version 2.6.16.21-0.25
660   kernel or later. The SuSE 10.2 Alpha 5 or later kernel also works.
661   This problem may also be present in certain Fedora FC5 kernels.
662 - If you have been using the data encryption feature of 1.39.x, please
663   be aware that certain combinations of encryption and other options
664   with version 1.39.0 through 1.39.26 created Volume data that cannot
665   be restored. We strongly recommend that anyone using encryption 
666   carefully review his/her backups and at a minium do a Full backup
667   with 1.39.28 of all encrypted data.  Robert Nelson has identified 
668   and fixed it as follows:
669      As of 1.39.27:
670         No filters = Works fine
671         Sparse = Works fine
672         Compression = Works fine
673         Encryption = Works fine
674         Sparse + Compression = Works fine
675
676         Sparse + Encryption = Restore broken
677         Sparse + Compression + Encryption = Restore broken
678         Compression + Encryption = Restore broken
679
680      As of 1.39.28:
681         Most combinations work, but some encrypted files are
682         not properly restored.
683
684      As of 1.39.30:
685         All combinations work fine except Sparse+Encryption.
686
687   Bottom line, if you are using data encryption, please test restoring
688   data to be sure it all works correctly.
689 - The current Volume format written by 1.39.22 is different from
690   the format written by previous versions. The two formats
691   are not compatible. Thus any DVDs written prior to 1.39.22 will
692   be unreadable by version 1.39.22.
693 - If you previously run a Bacula version prior to 1.39.30, the JobMedia
694   data may not be correct for disk Volumes. This can cause incorrect
695   seeking in versions after 1.39.30. If you experience what appears to
696   be data I/O or integrity errors during restores, please add the
697   following directive to your disk DEVICE resource in the Storage
698   daemon conf file:
699
700     Block Positioning = no
701
702   This will turn off all seek requests during restores and avoid
703   this problem.
704 - VSS for Windows clients is now enabled by default.
705 - Do not unload autochanger when doing "update slots"
706 - Implement mount command for autochanger, see manual.
707
708 New Features in 2.0.0:
709 - Turn on disk seek code for restores.
710 - There is a partial but reasonable translation of the Bacula
711   messages for French.  To install it, first configure and build
712   Bacula, then as root run:
713
714     cd <bacula-source>/po
715     make install
716
717   If you have your locale set properly you will get the translated
718   messages.
719 - Bacula now support Migration jobs that are documented in a new
720   Migration chapter in the manual
721   http://www.bacula.org/dev-manual/Migration.html
722 - Data encryption is now implemented and is documented in
723   a new chapter of the manual at:
724   http://www.bacula.org/dev-manual/Bacula_Data_Encryption.html
725 - Additional support for removable devices.  See the 
726   Requires Mount, Mount Point, Mount Command, and Unmount
727   Commands in the Storage daemon configuration chapter:
728   http://www.bacula.org/dev-manual/Storage_Daemon_Configuratio.html
729   Also see the Edit Codes for Mount and Unmount Directives in the
730   same chapter.
731 - Switch the Win32 build from using Microsoft C++ to using mingw32
732   cross-compiling.  The initial work was done by Howard Thomson,
733   then tweaked by me.  Robert Nelson then totally reworked the
734   cross-compiling code so that it not only cross-compiles, but
735   also compiles on Visual Studio, and at the same time, he added
736   all the current Unix features to the FD, such as selection on
737   drives, encryption support, building *all* the tools, ...
738 - The Director and Storage daemon have now been ported to Win32.
739   This code is working but should still be tested carefully
740   before putting into production.
741 - Bacula restore and bextract can now extract non-portable Win32 data to
742   any client (including Unix/Linux clients). Of course, in doing so,
743   the Microsoft specific permissions and ACLs will be lost.  Thanks
744   to Thorsten Engel for this code.
745 - The 260 character limitation for Win32 paths name lengths is now 
746   eliminated thanks to Thorsten Engel. However, if you are using
747   Volume Shadow Copy, please be careful to specify all the paths
748   in the bacula-fd.conf file using a full path notation including
749   the drive letter.
750 - Eric Bollengier wrote new RunScript directives that includes
751   the old RunBefore/AfterJob and ClientRunBefore/AfterJob features
752   plus a *lot* more, allowing you to control just about every aspect
753   of running scripts.  See the manual for detailed documentation.
754   http://www.bacula.org/dev-manual/Configuring_Director.html#5227
755 - SunOS ACLs should now work thanks to a patch from David Duchscher.
756 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
757   If this patch is applied, the number of days can be specified with
758   "list nextvol days=xx"
759   or
760   "status dir days=xx"
761   This can be used to preview the next scheduled job (and the
762   next tape to be used) on Fridays if there are no scheduled jobs during
763   the weekend.
764 - From Eric Bollengier. One can now using the bconsole wait command do:
765    wait  (wait for all jobs to stop)
766    wait jobid=nn
767    wait jobuid=unique id
768    wait job=job-name
769 - Volumes can now be set to Enable, Disable, or Archive. If they
770   are not enabled, Volumes will not be mounted.             
771   Implement update volume enable=(on|off|true|false|archived|0|1|2)
772 - Add Catalog message destination in Messages resource that puts the
773   job report in the Log database table.
774 - Writing/reading DVD Volumes is much more stable -- to the point
775   of being useful. Thanks to Richard Mortimer.
776 - Add enable/disable job=<job-name>.  This command prevents
777   the specified job from being scheduled. Even when disabled,
778   the job can be manually started from the console.
779 - The database Id records should be 32/64 bit independent now. 64 bits
780   can be enabled by changing one define and changing the appropriate
781   table variable. Normally, you need 64 bits only for FileId.
782 - Relative path specifications (i.e. ../xxx) are now permitted in
783   the restore cd command.
784 - When running multiple simultaneous jobs, most jobs that use spooling
785   will now finish faster due to a mutex optimization made by Eric
786   Bollengier.
787 - Conf files containing UTF-8 marker at the head of the file as well as
788   conf files containing Window cr/lf and Mac cr line termination characters 
789   are now accepted thanks to Robert Nelson.
790 - Windows tray status windows are scrollable and resizable.
791 - Win32 external script execution is much more flexible -- handles
792   spaces in names better, ...
793 - Lots of DVD fixes -- writing DVDs is now reported to work.
794 - Fix opening of database in a restricted console to respect     
795   any Catalog ACL.
796 - Much better automatic handling of multiple database catalogs in
797   the restore command.
798 - Permit multiple console/director resources in bconsole.conf.
799   patch from Carsten Paeth calle@calle.in-berlin.de
800 - Character substitution in Job/JobDefs WriteBootStrap.
801   from Eric Bollengier.
802 - Apply patch supplied in bug #656 to pass priority field
803   in the run dialog to the Director in gnome console.
804 - Add support of encrypted data stream to bscan from Eric.
805   display data_len instead of data content (may be binary).
806 - Add Enabled=xxx on update slots command.
807 - Add host:port to connect failure messages to FD and SD from Dir/
808 - Add WhereACL to console ACL list.  If nothing is specified, only
809   the default is permitted for restore. Otherwise, *all* allows any
810   path, or you can specify permitted paths. This should allow control
811   over where users can restore files. This is untested.
812 - Install man pages with 'make install'.
813 - Add Media.Enabled flag to client backups for dotcmds.c
814 - Enforce Media.Enabled=1 for a current restore to work
815 - Require restore case 3 to have sqlquery permission to work.
816 - Add -n option to bconsole to turn off conio -- used in bweb.
817 - The bytes field in the terminated jobs part of the status
818   command now reports in KB, MB, ... units.
819 - When not descending into a directory, print the File= name that
820   triggered it -- makes why not descending a bit clearer
821 - Do not unload autochanger when doing "update slots"
822 - Implement mount command for autochanger
823 - Fix bug #462 incorrect error message printed when client script called
824   from File= was not found.
825 - Fix bug #558 (waiting for feedback) where Bacula needs too much time to
826   do a rewind on Solaris when no tape is in the drive (Solaris does not
827   have the detailed errno found on Linux).  Added Solaris specific code.
828   Note, this may apply to other OSes as well.
829 - The examples directory has a new bacula_mail_summary.sh file that
830   creates a single email summary of any number of jobs. Submitted by
831   Andrew J. Millar.
832 - Add nagios plugin to the examples directory. Submitted by
833   Christian Masopust.
834 - Modify most restore error messages to be queued so that they
835   appear at the end of the job rather than mixed with the restore
836   listing where they could be "lost".
837 - Apply patch supplied by user (slightly modified) to fix
838   correct detection of holes in block devices and FIFOs.
839   Bug # 506.
840 - Added a report.pl program to the examples directory from Jonas Bjorklund.
841 - Add two new queries to query.sql provided by Arno. One
842   list volumes known to the Storage device, and the other
843   lists volumes possibly needing replacement (error, ...).
844 - Implement new code for changing userid and group at startup. This
845   should get Bacula into the correct groups.
846 - Implement support for removable filesystems -- device type directive
847   and mount, unmount directives.
848 - Transfer rates are now presented in a more readable format thanks
849   to a user submission.
850 - SD is now aware of what volumes are mounted. More information is printed
851   in the Status report. You must take much more care now to unmount
852   devices prior to removing tapes that Bacula has open or prior to
853   changing a magazine. Don't forget to do a mount afterwards or the
854   device will be blocked.
855 - The Pool Maximum Volumes directive is now respected in all places.
856 - A Storage device can now be specified in a Pool resource. It will override
857   all other Storage specifications.
858 - Most but not all directives accept true/false in place of yes/no.
859 - A patch from Karl Hakimian that reads JobIds, FileIndexes
860   from a database table for restore.
861 - There are a number of new tables. Some such as the Location table are
862   designed for user use in doing Volume Management software.
863 - Maximum Changer Wait, Maximum Open Wait, Maximum Rewind Wait to
864   accept time qualifiers.
865 - Implement jobuid to replace old usage of job in keywords as
866   suggested by Eric Bollengier.
867 - Implement write variables for Python to set Priority (anytime), and
868   Job Level, only during JobInit event.
869 - Use the keyword ujobid to mean the unique job id; job or jobname
870   to mean the Job name given on the Name directive, and jobid to
871   be the numeric (non-unique) job id.
872 - Allow the SD to use multiple drives during a backup/restore (only
873   one at a time).
874 - Integrate addition of line count limitation to bsmtp -l from
875   Sebastian Stark <stark at tuebingen.mpg.de>
876 - Split the bacula start/start script into four files:
877    bacula         -- starts and stops calling other scripts
878    bacula-ctl-dir -- starts/stops the director
879    bacula-ctl-fd  -- starts/stops the File daemon
880    bacula-ctl-sd  -- starts/stops the Storage daemon
881 - Remove automatic case folding on Windows FDs. You must
882   explicitly use the 'Ignore Case = yes' option.
883 - Implement wild program in tools directory for testing
884   wild-cards. Almost identical to the regex program.
885 - Use the new bregex.c to implement Regex expressions on Win32.
886 - Apply patch from Christopher Hull
887   - Allow multiple connections to database with different
888     parameters.
889   - Invalidate the scheduler when doing a reload. Fixes seg
890     fault, but still 60 second window.
891   - Additional info in Reschedule message.
892   - Use set_jcr_job_status() everywhere to prevent loss of
893     cancel, error.
894   - Display peer IP in FD if error from connecting DIR.
895   - Don't increment file count for DIRBEGIN.
896   - Replace illegal characters in Win32 filename by _.
897   - Add SE_CREATE_PERMANENT_NAME privilege in Win32.
898   - Hash hard link filenames rather than linked list (performance).
899   - Fix for security failure in chdir on Win32.
900   - Add CreateDirectoryA/W win32 API entry points.
901 - programs to duplicate Bacula's base64 algorithm using standard
902   routines. This fixes bugs #296, and 565. Patch submitted by
903   author of bug #565.
904 - Fixes to reloading the Dir conf file from Eric Bollengier and Christopher
905   Hull.
906 - Modify LICENSE to correct some problems pointed out by Debian.
907 - Apply a patch submitted by cesarb in bug #606 to implement O_NOATIME support.
908     O_NOATIME is a open() flag which makes it possible to read a file without
909     updating the inode atime (and also without the inode ctime update which
910     happens if you try to set the atime back to its previous value). It also
911     prevents a race condition when two programs are reading the same file, but
912     only one does not want to change the atime. It's most useful for backup
913     programs and file integrity checkers (and bacula can fit on both
914     categories).                                                    
915   You enable it in the Bacula FileSet Options resource by setting:
916      noatime = yes
917   The effect of this option is similar to the keepatime option except
918   it is more efficient and avoids modifying ctime.
919 - Implement a pile of new man pages contributed by Jose Tallon.
920 - Modify the database format for handling Migration jobs:
921    Add PriorJobId, RealEndTime to Job table
922    Delete MAC table
923    Remove Stripe from JobMedia record (not used, wasting space)
924    Add ScratchPoolId, RecyclePoolId, Enabled to Media record
925    Add Cost to Location table.
926    Enabled to Media table and Location table.
927 - Security: harden authentication failure in FD by single threading errors
928   and forcing a 6 second wait.
929 - If using GCC (actually g++) add the following compiler flags
930   -fno-strict-aliasing -fno-exceptions -fno-rtti
931 - Turn on new bsnprintf() code.  The reason for this code is to
932   eliminate the security problems associated with using the
933   system libraries print routines.
934 - Implement job report that indicates where Storage and Pool
935   came from -- with overrides and Pool storage and NextPool,
936   it is all very complicated.
937 - Add more detail (Storage, Device) to list of volumes printed
938   for restore.
939 - Add new VOLMGMT message class. No messages are yet sent with this 
940   class.
941 - Improved Bacula rescue procedures -- see the Disaster Recovery
942   chapter of the manual
943 - Add spooling/despooling info in status output of SD.
944 - Add Comment field to llist of a volume.
945 - Allow true/false in many but not all yes/no directives.
946 - The Bacula source code is now copyrighted by the Free Software 
947   Foundation Europe. The Developer's Guide documents the new procedures,
948   and the LICENSE file has been updated.
949 - Apply Jaime Ventura's patch that implements the Messages resource
950   Mail On Success directive.
951 - The Client returns its Version string, which is printed in the Job
952   report.
953 - The Client returns whether or not VSS and Encryption are used, which
954   are printed in the Job report.
955
956 Additional Features Added for Win32:
957 - Added DriveType directive to the Director's Include Option FileSet
958   resource.  Allowed values are: fixed, removable, cdrom, and remote.  There
959   is only an implementation for Windows because it is the only platform that
960   has the concept of drives.
961  
962 - Adds EnhancedWild directive to the Director's Include Option FileSet
963   resource.  Allowed values are: yes and no.
964  
965   When EnhancedWild is enabled then the processing of the
966   Wild, WildDir and WildFile is changed in the following ways.
967  
968   Patterns conform to Posix
969       \ is not a special character in character classification []
970       To match a - it must be the first or last character
971       To match a ] it must be the first character
972  
973       fnmatch option FNM_FILE_NAME is specified * doesn't match a / 
974       so it won't match multiple directory levels in a path
975  
976 - Relative WildFile patterns (ones without a leading /) match
977   against the filename portion.  This in combination with the
978   FNM_FILE_NAME fnmatch() flag makes directives such as WildFile =
979   abc*.def work as expected.
980  
981 - Adds support for the shell's feature of brace expansion.
982
983   Here is an example where braces allow 24 lines to be expressed in 5.
984
985   # Exclude directories full of lots and lots of useless little files
986   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Cookies"
987   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Recent"
988   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/History"
989   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temp"
990   WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temporary Internet Files"
991
992 ;;;