1 Kern;;;2007/9/14;;;14:30
2 Bacula version 2.2.4 Release
3 This version of Bacula is a minor bug release to version 2.2.3.
4 It contains the following fixes:
6 - Possible fix for authorization problems bug #953.
7 - Possible fix for bug #908.
8 - Add waits to multiple exit detection code to try to force pid
9 file to always be deleted.
10 - Restore good dev.tar.gz to rescue set appropriate binary property.
12 - Fix seg fault in error exit of acquire_for_read after unsuccessfully
13 trying to switch drives by checking for blocking before unblocking.
15 - Cancel storage daemon in all cases where FD reports error. This
16 should fix virtually all cases of bug #920 and will ensure that Devices
17 are released as soon as possible.
18 - Fix error message that was clobbered when Dir tells SD it does not
19 have write permission on Volume. This should fix a minor point
20 in bug #942, but not the main problem.
21 - Fix migration code to get correct Volume name with multiple volumes
22 by skipping |. Fixes bug #936.
23 - Implement patch supplied by Landon to fix bug #944 where using
24 TLS with bconsole uses 99+% of the CPU.
25 - Fix bug #946 about "bacula-dir -t" which doesn't works
27 - Using "m" in bconsole will show messages as in prior versions
30 - Note, you need GTK >= 2.10 to be able to link the Tray Monitor
33 Kern;;;2007/9/9;;;14:30
34 I regret to announce that there is a rather serious bug in Bacula.
36 Bacula bug #935 reports that during a restore, a large number of files are
37 missing and thus not restored. This is really quite surprising because we
38 have a fairly extensive regression test suite that explicitly tests for this
39 kind of problem many times.
41 Despite our testing, there is indeed a bug in Bacula that has the following
44 1. It happens only when multiple simultaneous Jobs are run (regardless of
45 whether or not data spooling is enabled), and happens only when the
46 Storage daemon is changing from one Volume to another -- i.e. the
47 backups span multiple volumes, and it only happens for Jobs writing
50 2. It has only been observed on disk based backup, but not on tape.
52 3. Under the right circumstances (timing), it could and probably does happen
55 4. It seems to be timing dependent, and requires multiple clients to
56 reproduce, although under the right circumstances, it should be reproducible
57 with a single client doing multiple simultaneous backups.
59 5. Analysis indicates that it happens most often when the clients are slow
60 (e.g. doing Incremental backups).
62 6. It has been verified to exist in versions 2.0.x and 2.2.x.
64 7. It should also be in version 1.38, but could not be reproduced in testing,
65 perhaps due to timing considerations or the fact that the test FD daemons
68 8. The data is correctly stored on the Volume, but incorrect index (JobMedia)
69 records are stored in the database. (the JobMedia record generated during
70 the Volume change contains the index of the new Volume rather than the
71 previous Volume). This will be described in more detail below.
73 9. You can prevent the problem from occurring by either turning off multiple
74 simultaneous Jobs or by ensuring that while running multiple simultaneous
75 Jobs that those Jobs do not span Volumes. E.g. you could manually mark
76 Volumes as full when they are sufficiently large.
78 10. If you are not running multiple simultaneous Jobs, you will not be
81 11. If you are running multiple simultaneous Jobs to tapes, I believe there is
82 a reasonable probability that this problem could show up when Jobs are split
85 12. If you are running multiple simultaneous Jobs to disks, I believe there is
86 a high probability that this problem will show up when Jobs are split across
89 13. The bug concerns only the Storage daemon so there is no need to update
90 the clients, though I do recommend updating the Director when installing
91 an updated Storage daemon.
93 I have uploaded patches to bug #935 (bugs.bacula.org) that will correct
94 version 2.2.0, 2.2.1, and 2.2.2. The patch has been tested only on version
95 2.2.2 and passes all regression tests as well as the specific test that
96 reproduced the problem.
98 The patch has now been confirmed to fix the problem reported, and Bacula
99 version 2.2.3 has been released to Source Forge.
101 For the technical details of the bug, please see:
103 http://www.bacula.org/downloads/bug-935.txt
107 Kern;;;2007/8/11;;;14:30
109 Bacula Version 2.2.0 has been released to Source Forge.
111 Release Notes for Bacula 2.2.0
113 Bacula code: Total files = 520 Total lines = 195,550 (*.h *.c *.in)
114 82 new files, 41,221 new lines of code, 208,380 lines of change from 2.0.3
116 This Director and Storage daemon must be upgraded at the same time,
117 but they should be compatible with all 2.0.x File daemons, unless you
118 use some of the new features that affect the FD. In other words, you should
119 not have to upgrade all your File daemons when you upgrade. There is
120 no database upgrade needed from version 2.0.x to 2.2.0.
122 Areas requiring caution or testing:
123 - You must have the thread safe version of MySQL client libraries loaded
124 to build with MySQL enabled.
125 - Volumes are pruned only when absolutely necessary -- this may cause
126 your database to grow compared to prior Bacula versions.
127 - Solaris door and even port files are no longer restored (equivalent
128 to what we do with sockets).
129 - SQLite is no longer supported for Solaris -- it fails too often with
130 bus errors. SQLite3 should work on Solaris.
131 - The default setting for SQLite3 is now 'PRAGMA synchronous=OFF'.
132 This makes it run 30 times faster, but increases the possiblity
133 of a corrupted database if your server shuts down unexpectedly.
134 The default behavior can be changed in src/version.h
135 - Restore on Win32, and in particular on Vista is untested. Please
136 test before relying on it. It should backup and restore reparse
138 - Win32 servers are untested, and very likely not to work.
140 The major new features are:
141 - Much faster insertion of attributes (somewhere around 10 times),
142 many thanks to Eric Bollengier and Marc Cousin.
143 - First release of bat (Bacula Administration Tool). Note to build
144 bat you must explicitly enable it on the ./configure line, you
145 must have the Qt4 version 4.2 or later libraries loaded, the qwt
146 (Qt Graphics) package loaded, and qmake and the other Qt4 tools
147 must be available. Most of the implementation was done by Dirk Bartley.
148 - Red/Black restore in memory tree (500 times faster loading).
149 - The Regex Where code to allow easier relocation of restored files
151 - Socket level heartbeat for all connections (untested).
152 - posix_fadvise() use in the FD to improve performance reduces
153 swapping due to opening/reading lots of files. Win32 equivalent
155 - Much improved Volume reservation code that should eliminate most
156 conflicts experienced in multiple drive autochangers.
157 - Simpler locking in the SD in the reservation system.
158 - Detection of file size/date change during backup if enabled.
159 - New Recycle Pool feature -- thanks to Eric.
160 - Efficient implementation of very large include/exclude lists.
161 - Volumes are no longer pruned during 'status dir'
162 - Pruning is now more efficient, and if a Volume is purged,
163 during pruning, it is immediately discovered.
164 - License is now GPL v2 without modifications, fix a few copyright
165 mistakes made when adding FSFE copyright notice.
167 New ./configure options:
168 - --enable-bwx-console
173 - --enable-batch-insert
175 New bconsole commands:
181 - .pwd (in restore tree)
182 - restoreclient (keyword)
183 - backupclient (keyword)
184 - regexwhere (keyword)
185 - update jobid (new command)
186 - recyclepool (keyword)
189 - Heartbeat Interval (bconsole.conf)
190 - Heartbeat Interval (bacula-dir.conf in Director, Client, Storage)
191 - TLS Allowed CN (bacula-dir.conf in Client)
192 - Regex Where (bacula-dir.conf in Job)
193 - Strip Prefix (bacula-dir.conf in Job)
194 - Add Prefix (bacula-dir.conf in Job)
195 - Add Suffex (bacula-dir.conf in Job)
196 - Recycle Pool (bacula-dir.conf in Pool)
197 - FailJobOnError (bacula-dir.conf in RunScript)
198 - CheckFileChanges (bacula-dir.conf in FileSet)
199 - StripPath (bacula-dir.conf in FileSet)
201 Other features or bug fixes:
202 - Fixed bugs: 916, 910, 917, 914, 906, 907,
203 842, 830, 893, 861, 888, 886, 807, 877, 872
204 885, 887, 864, 874, 882, 881, 863, 859,
205 856, 854, 845, 847, 846, 809, 772,
206 822, 825, 824, 808, 802, 797, 798, 795, 789, 791,
207 788, 780, 763, 782, 612, 767, 775, 621, 772, 764,
208 766, 621, 761, 755, 750, 741, 747, 742, 744, and 743.
209 - Configure bat with --enable-bat. Define qwt libraries with
210 --with-qwt=<dir>. See Installation chapter of manual for details.
211 - Create a depkgs-qt package that has both Qt4 and qwt, which are
212 needed to build bat. Most modern Linux systems will have both
213 these packages in the distro.
214 - Storage overrides delete all previous storage definitions instead
216 - One should be able to mount and unmount removable devices if the
217 Device resource has Removeable Media set and the mount and unmount
218 directives are defined.
219 - ./configure will do a better job of searching for qwt libraries.
220 - The Win32 version can no longer be shutdown from the tray monitor.
221 Use the command line or the Services panne.
222 - Keep prune_volumes() from pruning the whole Scratch pool.
223 - More debug output in status storage.
224 - Correct moving a Scratch volume from pool to pool (some
225 critical columns were lost).
226 - Different locking in reservations and despooling systems,
227 which means more micro-locking and less macro-locking, which
228 should give a lot more concurrency at the expense of slightly
229 (<0.1%) more overhead due to more locking/unlocking, but
230 concurrent jobs should run much faster.
231 - Additional drive reservation algorithm that should solve a lot of
232 the problems experienced with multiple drive autochangers.
233 - Storage daemon status command enhanced to more clearly show Volume,
234 pool and media type when a job is waiting.
235 - Made bsmtp work with more strict SMTP servers.
236 - Detect doubly freed buffers in smartall.c
237 - wx-console renamed to bwx-console (Fedora request)
238 - gnome-console renamed to bgnome-console (Fedora request)
239 - Migration preserves original job's FileSetId
240 - Spooling implemented for migration jobs.
241 - Config files can be read through a pipe, by specifying a leading |
242 in front of the configuration path/filename.
243 - New memory command (bconsole) that will print the current Director's
244 memory usage, and an in use buffer dump.
245 - Console name changed from *Console* to -Console- to accomodate Win32
246 filename restrictions.
247 - Corrected the Win32 ftruncate bug.
248 - Additional version information added to Job reports.
249 - New -8 option for bsmtp to specify UTF-8 encoding type.
250 - bsmtp will no longer add < > to target (from, to, cc) if there
251 is already a < in the target.
252 - Prefer Mounted Volumes extended to mean a volume that is being
253 mounted by another job.
254 - Runscript timing set to same as version 1.38.11
255 - New TLS Allowed CN directive(s) permitted.
256 - New bconsole 'exec' command to run external script/command.
257 - Turn on FreeBSD/OpenBSD code to set EOT model on tape.
258 - Drop from root done before database is opened.
259 - Database user and name can be configured with:
260 --with-db-name=name --with-db-user=user
261 - Turn on wait_for_drive in mtx-changer script.
262 - Rework how bar codes are handled in mtx-changer script.
263 This appears to have been an unreported bug.
264 - Updated nagios plugin supplied by Christian Masopust
265 - Better restricted console ACL checking.
266 - New Client Connect Wait directive in Storage daemon so that
267 users can configure how long SD waits for FD connection.
268 - Bacula will no longer permit pruning of the currently running
269 job (note, if other jobs are running, they may be pruned).
270 - Sockets are no longer restored.
271 - dbcheck works in 300K chunks so will typically run faster.
272 - Include/Exclude lists can now be efficiently handled for quite
273 large sizes -- tens of thousands of entries.
274 - Several memory leaks in migration and database usage were fixed.
275 - New console keyword restoreclient, which specifies the client to
276 which the restore will be sent. The client keyword specifies
277 the backup client. The restoreclient keyword is optional if it is
278 not specified, the backup client will also be the restore client.
279 - The disk file size is now checked to ensure that it agrees with the
280 catalog value before Bacula will append to the disk (same as tape
285 Kern;;;2007/3/6;;;14:30
287 Bacula Version 2.0.3 has been released to Source Forge.
288 This is a bug fix release to version 2.0.2. If you are upgrading from
289 a version older than 2.0.0, please be sure to read the important notes
292 Also, please check the patches directory in the current SVN or the
293 patches release section on Source Forge for important bug fixes to
297 kes File migrate bug with Pool Occupancy using mediaid instead
298 of jobids. Fixes bug #795.
299 kes Fix orphaned buffers in filed backup and verify due to
300 crypto buffers not freed during errors. Fixes bug #789.
302 kes Add smartctl call to bacula-sd.conf as an example of getting
305 kes Add Client Connect Wait to Storage daemon to permit users to
306 modify the time the SD waits for a FD connection.
308 kes Apply Command ACL filter to JobId list in restore command.
309 kes Correct typeo in var.c patch.
311 kes Don't let Bacula prune File or Job records for the current Job.
312 kes Fix variable substitution pad + inc bug reported (with patch)
315 kes Correct SQLite log table index as reported by Luca Berra.
317 ebl Fix FIFO stuff, bacula tries to rewind the FIFO... Thanks to Andreas
319 kes Fix a few places in lib/message.c where the open fd may
322 kes Add LANG=C to autoconf/randpass so it works with languages other
323 than English. Fixes bug #788.
325 ebl Revert ClientRunBeforeJob as it was in 1.38.x
327 You will not be able to generate Include/Exclude list any more.
328 If you want to use this, you can apply
329 trunk/bacula/patches/testing/clientrunbeforejob_can_generate_include_exclude_list.patch
331 kes Restore of sockets created false error messages because Bacula
332 no longer restores sockets, but the code was still trying to
333 set the attributes on a non-existent file. Reported by a user.
335 kes Fix encryption deblocking bug, which caused some restored files
336 to be truncated. This fixes bug #763. This is a CRITICAL bug fix.
337 kes Add FD event sequence order prepared by Eric -- for RunScripts.
338 kes Fix 12am/pm bug as reported in bug #782.
340 kes Add quick disconnect FD code from 2.1.4 to 2.0.3. This code
341 causes the SD to release the FD as soon as the FD has sent
342 all the data to the SD. After that the SD will do any final
343 despooling (data and attributes) that are necessary. This
344 allows laptops to disconnect much quicker from the network
347 kes Apply Eric's ClientRunScriptAfter patch to 2.0 and 2.1.
349 kes Optimize the use of the database a bit in the Status dir command.
350 Only open it when needed, ensure that if any previous database
351 was opened, it is closed.
353 kes Modify dbcheck to handle orphaned JobMedia, Path, Filename,
354 and File records in 300K chunks to be more efficient. This
355 idea came from Juan Luis Frances (if I remember right).
357 kes Update projects list.
359 kes Fix dird/ua_cmds.c so that a cancel command checks if the
360 console is authorized to cancel the job. This fixes bug
362 kes Modify SD so that the VolCatJobs medium record is updated
363 at the beginning of a Job rather than the end. This
364 fixes bug #775 where exceeding MaxVolJobs caused jobs
366 kes Added a mutex around getting and setting Volume information
367 so that multiple simultaneous jobs will single thread.
369 Switch to using Subversion
370 kes Remove src/pygtk-console/ from configure
372 kes Delete src/lib/btree.c from win32 build, then add rblist.c
373 plus the entrypoints.
374 kes Apply patch supplied that corrects debug print
375 in canceling jobs for max run time. Supplied as
376 part of bug #621, which was previously fixed.
378 kes Test on job_canceled() and sd_msg_thread_done inside
379 loop starting the message thread to avoid a race condition.
381 kes Remove rl_catch_signal from console.c as it conflicted
382 with the header definition. Fixes bug #765.
383 ebl Fixes bug #766 about RunsOnClient = Yes (case sensitive)
385 kes Clarify some stored/acquire messages to indicate if the
386 problem is with read or append.
388 kes Fix memory leak with storage ids in cats/sql_get.c
389 kes Terminate watchdog earlier to avoid reference to released
390 memory -- reported by Jason Austin.
391 kes Move closing the database from jobq.c to the director daemon
392 termination routine. This fixes memory leaks for shadow jobs
393 (i.e. migration jobs).
394 kes Free up the unique jobid chain items in migrate.c. This fixes
395 a memory leak problem.
396 kes Convert some ugly looking for statements to use foreach_alist
397 in findlib/find.c. This will facilitate converting the structures
398 to use dlist (for large include/exclude lists).
399 kes Fix a bug in the btree.c and btree.h routines, then rename them
400 rblist and add them to be built in src/lib. Include some new
401 methods written by Rudolf Cejka that make the code more readable
402 (hides some of the ugly casting).
404 kes Implement item #12 on project list -- quick release of FD by
405 the SD. This is noted in more detail above.
409 Kern;;;2007/1/28;;;14:30
411 Bacula Version 2.0.2 released:
413 kes Fix maxruntime bug #621.
415 kes Get current main CVS .specs for RedHat, SuSE, Mandrake.
417 ebl Implement the include JobID in spool file name project.
418 kes Reorder projects file in order determined by Jan 2007 vote.
419 kes Fix open of SQLite3 db where user does not have write permission
420 so that DIR does not crash. Fixes bug #761.
422 kes Change 'Device not configured to autolabel' from INFO
424 kes Fix jobq.c to restart failed jobs when Reschedule Times = 0
425 which should restart an indefinite # of times.
426 kes Fix configure --help to print --with-mysql[=DIR]. Same for
427 other DIR specifications.
429 rn Fix msvc build problems. Fix bacula.dll exports for msvc build.
430 Fix path quoting in SQLite scripts.
431 Fix problems with SHGetFolderPath.
433 kes Create patches/2.0.1-restart.patch. Fixes bug #755.
435 kes Fix Job restart on error bug that promotes an Inc to a Full
436 backup. This should fix bug #755.
437 kes Add qt-console and first cut of code.
441 Kern;;;2007/1/13;;;14:30
443 Bacula Version 2.0.1 has been released to Source Forge.
444 This is bug fix update to version 2.0.0 and contains
447 - Fix Bacula->Documentation link on Win32 to point to index.html
448 instead of bacula.html. Fixed bug #750.
449 - Return JobId in db_get_job_record() when JobId==0. This should
451 - Do not release source pointers when restarting a failed job.
452 - Add dynamic dll entry point for SHGetFolderPath to Win32 code.
453 This *should* fix bug #747.
454 - Modify winbacula.nsi to substitute with g bin_dir_cmd. Should fix
456 - Modify USTORE constructor to set an empty store_source string,
457 and don't copy the store_source string in a cancel. Hopefully
458 this will fix Arno's seg fault, bug #744.
459 - Add back code to disable conio in configure. Fixes bug #743.
460 - Correct the Options scanner in the FD to correctly handle
461 SHA1 option, which was eating the next option. Reported by
463 - Add code to indicate when the SD is spooling, spool wait, and
464 despooling as requested by Alan Brown.
468 Kern;;;2007/1/4;;;14:30
470 Bacula Version 2.0.0 has been released to Source Forge.
472 There is an English Press Kit, written by Dan Langille at:
474 http://www.bacula.org/about/press/presskit200.html.en
476 and a German version, translated by Arno Lehmann at:
478 http://www.bacula.org/about/press/presskit200.html.de
482 Kern;;;2007/1/4;;;14:31
484 Release Notes for Bacula 2.0.0
486 Bacula code: Total files = 438 Total lines = 154,329 (*.h *.c *.in)
488 ==== IMPORTANT Catalog update required =====
489 - The database format has been updated from what was used in
490 Bacula 1.38.x. You must manually update your database before
491 running Bacula 1.39.x or higher. If you are using Bacula supplied
492 RPMs this is not necessary as the RPM does it automatically.
493 Please backup your previous version of the database before
494 running the update. The update script will be automatically
495 installed in your scripts directory, or can also be found in
496 <bacula-source>/src/cats. It is called:
498 ./update_bacula_tables
500 It is necessary to run it only once the first time you move to
501 a 2.0.0. Upgrading the Bacula version thereafter does not
502 require updating the database again. Depending on the size of
503 your database the script make take a bit of time, to run, but
504 in general, it should be very fast.
506 ==== IMPORTANT new Win32 install procedure =====
507 For Win32 migrations from versions prior to 1.39.0 nothing special
508 needs to be done to upgrade. Everything should be taken care of
509 automatically. The only thing not done is to delete the old C:\bacula
510 directory mostly out of paranoia.
512 ==== IMPORTANT miscellaneous ====
513 - The Gnome console program (gconsole) no longer functions as it
514 should.More importantly, in restore mode, the restore tree is
515 no longer shown in the left pane. I suspect this is due to
516 incompatible changes in the GTK+ API, and hence have given up
517 on gnome and gtk+, as this has already happened several times
518 previously. At some point there will be a new GUI console.
519 - The bacula-dir.conf directive Accept Any Volume has been
520 removed because it was never implemented. You must delete all
521 occurrence of this directive for the Director to run. The Storage
522 daemon will automatically accept any valid Volume that you mount.
523 - The --mandir ./configure option now points to the top level man
524 directory. The man files will be installed under mandir/man8 and
525 mandir/man1 as appropriate.
526 - You *should* be able to use 1.38.x FDs with version 2.0.0 Director
527 and SD providing you do not use any of the new features (runscript,
528 data encryption). It seems to work here, but we do not guarantee it.
529 - Your Director and SD must be simultaneously upgraded.
530 - The restore command no longer uses the MediaType as the primary method
531 of finding a suitable Storage device. Normally it will select the last
532 device used to write a Volume. If no storage device is defined, it
533 will use the old algorithm which selects the first Storage resource
534 with the correct MediaType.
535 - The MD5/SHA1 hash codes kept in the database are now kept in a binary
536 format compatible with the rest of the world. If you are running verify
537 jobs, you *must* do an InitCatalog or all files will show an MD5
538 difference. Also, authentication uses the new algorithm by
539 default, but *should* accept connections from older components (FD) using
540 the old non-compatible algorithm. This has been tested, but more
541 more testing is still needed.
542 - A stock SuSE 10.1 kernel may crash when Bacula runs and accesses
543 the tape drive. Workaround, load the SuSE 10.1 version 2.6.16.21-0.25
544 kernel or later. The SuSE 10.2 Alpha 5 or later kernel also works.
545 This problem may also be present in certain Fedora FC5 kernels.
546 - If you have been using the data encryption feature of 1.39.x, please
547 be aware that certain combinations of encryption and other options
548 with version 1.39.0 through 1.39.26 created Volume data that cannot
549 be restored. We strongly recommend that anyone using encryption
550 carefully review his/her backups and at a minium do a Full backup
551 with 1.39.28 of all encrypted data. Robert Nelson has identified
552 and fixed it as follows:
554 No filters = Works fine
556 Compression = Works fine
557 Encryption = Works fine
558 Sparse + Compression = Works fine
560 Sparse + Encryption = Restore broken
561 Sparse + Compression + Encryption = Restore broken
562 Compression + Encryption = Restore broken
565 Most combinations work, but some encrypted files are
566 not properly restored.
569 All combinations work fine except Sparse+Encryption.
571 Bottom line, if you are using data encryption, please test restoring
572 data to be sure it all works correctly.
573 - The current Volume format written by 1.39.22 is different from
574 the format written by previous versions. The two formats
575 are not compatible. Thus any DVDs written prior to 1.39.22 will
576 be unreadable by version 1.39.22.
577 - If you previously run a Bacula version prior to 1.39.30, the JobMedia
578 data may not be correct for disk Volumes. This can cause incorrect
579 seeking in versions after 1.39.30. If you experience what appears to
580 be data I/O or integrity errors during restores, please add the
581 following directive to your disk DEVICE resource in the Storage
584 Block Positioning = no
586 This will turn off all seek requests during restores and avoid
588 - VSS for Windows clients is now enabled by default.
589 - Do not unload autochanger when doing "update slots"
590 - Implement mount command for autochanger, see manual.
592 New Features in 2.0.0:
593 - Turn on disk seek code for restores.
594 - There is a partial but reasonable translation of the Bacula
595 messages for French. To install it, first configure and build
596 Bacula, then as root run:
598 cd <bacula-source>/po
601 If you have your locale set properly you will get the translated
603 - Bacula now support Migration jobs that are documented in a new
604 Migration chapter in the manual
605 http://www.bacula.org/dev-manual/Migration.html
606 - Data encryption is now implemented and is documented in
607 a new chapter of the manual at:
608 http://www.bacula.org/dev-manual/Bacula_Data_Encryption.html
609 - Additional support for removable devices. See the
610 Requires Mount, Mount Point, Mount Command, and Unmount
611 Commands in the Storage daemon configuration chapter:
612 http://www.bacula.org/dev-manual/Storage_Daemon_Configuratio.html
613 Also see the Edit Codes for Mount and Unmount Directives in the
615 - Switch the Win32 build from using Microsoft C++ to using mingw32
616 cross-compiling. The initial work was done by Howard Thomson,
617 then tweaked by me. Robert Nelson then totally reworked the
618 cross-compiling code so that it not only cross-compiles, but
619 also compiles on Visual Studio, and at the same time, he added
620 all the current Unix features to the FD, such as selection on
621 drives, encryption support, building *all* the tools, ...
622 - The Director and Storage daemon have now been ported to Win32.
623 This code is working but should still be tested carefully
624 before putting into production.
625 - Bacula restore and bextract can now extract non-portable Win32 data to
626 any client (including Unix/Linux clients). Of course, in doing so,
627 the Microsoft specific permissions and ACLs will be lost. Thanks
628 to Thorsten Engel for this code.
629 - The 260 character limitation for Win32 paths name lengths is now
630 eliminated thanks to Thorsten Engel. However, if you are using
631 Volume Shadow Copy, please be careful to specify all the paths
632 in the bacula-fd.conf file using a full path notation including
634 - Eric Bollengier wrote new RunScript directives that includes
635 the old RunBefore/AfterJob and ClientRunBefore/AfterJob features
636 plus a *lot* more, allowing you to control just about every aspect
637 of running scripts. See the manual for detailed documentation.
638 http://www.bacula.org/dev-manual/Configuring_Director.html#5227
639 - SunOS ACLs should now work thanks to a patch from David Duchscher.
640 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
641 If this patch is applied, the number of days can be specified with
642 "list nextvol days=xx"
645 This can be used to preview the next scheduled job (and the
646 next tape to be used) on Fridays if there are no scheduled jobs during
648 - From Eric Bollengier. One can now using the bconsole wait command do:
649 wait (wait for all jobs to stop)
651 wait jobuid=unique id
653 - Volumes can now be set to Enable, Disable, or Archive. If they
654 are not enabled, Volumes will not be mounted.
655 Implement update volume enable=(on|off|true|false|archived|0|1|2)
656 - Add Catalog message destination in Messages resource that puts the
657 job report in the Log database table.
658 - Writing/reading DVD Volumes is much more stable -- to the point
659 of being useful. Thanks to Richard Mortimer.
660 - Add enable/disable job=<job-name>. This command prevents
661 the specified job from being scheduled. Even when disabled,
662 the job can be manually started from the console.
663 - The database Id records should be 32/64 bit independent now. 64 bits
664 can be enabled by changing one define and changing the appropriate
665 table variable. Normally, you need 64 bits only for FileId.
666 - Relative path specifications (i.e. ../xxx) are now permitted in
667 the restore cd command.
668 - When running multiple simultaneous jobs, most jobs that use spooling
669 will now finish faster due to a mutex optimization made by Eric
671 - Conf files containing UTF-8 marker at the head of the file as well as
672 conf files containing Window cr/lf and Mac cr line termination characters
673 are now accepted thanks to Robert Nelson.
674 - Windows tray status windows are scrollable and resizable.
675 - Win32 external script execution is much more flexible -- handles
676 spaces in names better, ...
677 - Lots of DVD fixes -- writing DVDs is now reported to work.
678 - Fix opening of database in a restricted console to respect
680 - Much better automatic handling of multiple database catalogs in
682 - Permit multiple console/director resources in bconsole.conf.
683 patch from Carsten Paeth calle@calle.in-berlin.de
684 - Character substitution in Job/JobDefs WriteBootStrap.
685 from Eric Bollengier.
686 - Apply patch supplied in bug #656 to pass priority field
687 in the run dialog to the Director in gnome console.
688 - Add support of encrypted data stream to bscan from Eric.
689 display data_len instead of data content (may be binary).
690 - Add Enabled=xxx on update slots command.
691 - Add host:port to connect failure messages to FD and SD from Dir/
692 - Add WhereACL to console ACL list. If nothing is specified, only
693 the default is permitted for restore. Otherwise, *all* allows any
694 path, or you can specify permitted paths. This should allow control
695 over where users can restore files. This is untested.
696 - Install man pages with 'make install'.
697 - Add Media.Enabled flag to client backups for dotcmds.c
698 - Enforce Media.Enabled=1 for a current restore to work
699 - Require restore case 3 to have sqlquery permission to work.
700 - Add -n option to bconsole to turn off conio -- used in bweb.
701 - The bytes field in the terminated jobs part of the status
702 command now reports in KB, MB, ... units.
703 - When not descending into a directory, print the File= name that
704 triggered it -- makes why not descending a bit clearer
705 - Do not unload autochanger when doing "update slots"
706 - Implement mount command for autochanger
707 - Fix bug #462 incorrect error message printed when client script called
708 from File= was not found.
709 - Fix bug #558 (waiting for feedback) where Bacula needs too much time to
710 do a rewind on Solaris when no tape is in the drive (Solaris does not
711 have the detailed errno found on Linux). Added Solaris specific code.
712 Note, this may apply to other OSes as well.
713 - The examples directory has a new bacula_mail_summary.sh file that
714 creates a single email summary of any number of jobs. Submitted by
716 - Add nagios plugin to the examples directory. Submitted by
718 - Modify most restore error messages to be queued so that they
719 appear at the end of the job rather than mixed with the restore
720 listing where they could be "lost".
721 - Apply patch supplied by user (slightly modified) to fix
722 correct detection of holes in block devices and FIFOs.
724 - Added a report.pl program to the examples directory from Jonas Bjorklund.
725 - Add two new queries to query.sql provided by Arno. One
726 list volumes known to the Storage device, and the other
727 lists volumes possibly needing replacement (error, ...).
728 - Implement new code for changing userid and group at startup. This
729 should get Bacula into the correct groups.
730 - Implement support for removable filesystems -- device type directive
731 and mount, unmount directives.
732 - Transfer rates are now presented in a more readable format thanks
733 to a user submission.
734 - SD is now aware of what volumes are mounted. More information is printed
735 in the Status report. You must take much more care now to unmount
736 devices prior to removing tapes that Bacula has open or prior to
737 changing a magazine. Don't forget to do a mount afterwards or the
738 device will be blocked.
739 - The Pool Maximum Volumes directive is now respected in all places.
740 - A Storage device can now be specified in a Pool resource. It will override
741 all other Storage specifications.
742 - Most but not all directives accept true/false in place of yes/no.
743 - A patch from Karl Hakimian that reads JobIds, FileIndexes
744 from a database table for restore.
745 - There are a number of new tables. Some such as the Location table are
746 designed for user use in doing Volume Management software.
747 - Maximum Changer Wait, Maximum Open Wait, Maximum Rewind Wait to
748 accept time qualifiers.
749 - Implement jobuid to replace old usage of job in keywords as
750 suggested by Eric Bollengier.
751 - Implement write variables for Python to set Priority (anytime), and
752 Job Level, only during JobInit event.
753 - Use the keyword ujobid to mean the unique job id; job or jobname
754 to mean the Job name given on the Name directive, and jobid to
755 be the numeric (non-unique) job id.
756 - Allow the SD to use multiple drives during a backup/restore (only
758 - Integrate addition of line count limitation to bsmtp -l from
759 Sebastian Stark <stark at tuebingen.mpg.de>
760 - Split the bacula start/start script into four files:
761 bacula -- starts and stops calling other scripts
762 bacula-ctl-dir -- starts/stops the director
763 bacula-ctl-fd -- starts/stops the File daemon
764 bacula-ctl-sd -- starts/stops the Storage daemon
765 - Remove automatic case folding on Windows FDs. You must
766 explicitly use the 'Ignore Case = yes' option.
767 - Implement wild program in tools directory for testing
768 wild-cards. Almost identical to the regex program.
769 - Use the new bregex.c to implement Regex expressions on Win32.
770 - Apply patch from Christopher Hull
771 - Allow multiple connections to database with different
773 - Invalidate the scheduler when doing a reload. Fixes seg
774 fault, but still 60 second window.
775 - Additional info in Reschedule message.
776 - Use set_jcr_job_status() everywhere to prevent loss of
778 - Display peer IP in FD if error from connecting DIR.
779 - Don't increment file count for DIRBEGIN.
780 - Replace illegal characters in Win32 filename by _.
781 - Add SE_CREATE_PERMANENT_NAME privilege in Win32.
782 - Hash hard link filenames rather than linked list (performance).
783 - Fix for security failure in chdir on Win32.
784 - Add CreateDirectoryA/W win32 API entry points.
785 - programs to duplicate Bacula's base64 algorithm using standard
786 routines. This fixes bugs #296, and 565. Patch submitted by
788 - Fixes to reloading the Dir conf file from Eric Bollengier and Christopher
790 - Modify LICENSE to correct some problems pointed out by Debian.
791 - Apply a patch submitted by cesarb in bug #606 to implement O_NOATIME support.
792 O_NOATIME is a open() flag which makes it possible to read a file without
793 updating the inode atime (and also without the inode ctime update which
794 happens if you try to set the atime back to its previous value). It also
795 prevents a race condition when two programs are reading the same file, but
796 only one does not want to change the atime. It's most useful for backup
797 programs and file integrity checkers (and bacula can fit on both
799 You enable it in the Bacula FileSet Options resource by setting:
801 The effect of this option is similar to the keepatime option except
802 it is more efficient and avoids modifying ctime.
803 - Implement a pile of new man pages contributed by Jose Tallon.
804 - Modify the database format for handling Migration jobs:
805 Add PriorJobId, RealEndTime to Job table
807 Remove Stripe from JobMedia record (not used, wasting space)
808 Add ScratchPoolId, RecyclePoolId, Enabled to Media record
809 Add Cost to Location table.
810 Enabled to Media table and Location table.
811 - Security: harden authentication failure in FD by single threading errors
812 and forcing a 6 second wait.
813 - If using GCC (actually g++) add the following compiler flags
814 -fno-strict-aliasing -fno-exceptions -fno-rtti
815 - Turn on new bsnprintf() code. The reason for this code is to
816 eliminate the security problems associated with using the
817 system libraries print routines.
818 - Implement job report that indicates where Storage and Pool
819 came from -- with overrides and Pool storage and NextPool,
820 it is all very complicated.
821 - Add more detail (Storage, Device) to list of volumes printed
823 - Add new VOLMGMT message class. No messages are yet sent with this
825 - Improved Bacula rescue procedures -- see the Disaster Recovery
826 chapter of the manual
827 - Add spooling/despooling info in status output of SD.
828 - Add Comment field to llist of a volume.
829 - Allow true/false in many but not all yes/no directives.
830 - The Bacula source code is now copyrighted by the Free Software
831 Foundation Europe. The Developer's Guide documents the new procedures,
832 and the LICENSE file has been updated.
833 - Apply Jaime Ventura's patch that implements the Messages resource
834 Mail On Success directive.
835 - The Client returns its Version string, which is printed in the Job
837 - The Client returns whether or not VSS and Encryption are used, which
838 are printed in the Job report.
840 Additional Features Added for Win32:
841 - Added DriveType directive to the Director's Include Option FileSet
842 resource. Allowed values are: fixed, removable, cdrom, and remote. There
843 is only an implementation for Windows because it is the only platform that
844 has the concept of drives.
846 - Adds EnhancedWild directive to the Director's Include Option FileSet
847 resource. Allowed values are: yes and no.
849 When EnhancedWild is enabled then the processing of the
850 Wild, WildDir and WildFile is changed in the following ways.
852 Patterns conform to Posix
853 \ is not a special character in character classification []
854 To match a - it must be the first or last character
855 To match a ] it must be the first character
857 fnmatch option FNM_FILE_NAME is specified * doesn't match a /
858 so it won't match multiple directory levels in a path
860 - Relative WildFile patterns (ones without a leading /) match
861 against the filename portion. This in combination with the
862 FNM_FILE_NAME fnmatch() flag makes directives such as WildFile =
863 abc*.def work as expected.
865 - Adds support for the shell's feature of brace expansion.
867 Here is an example where braces allow 24 lines to be expressed in 5.
869 # Exclude directories full of lots and lots of useless little files
870 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Cookies"
871 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/Recent"
872 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/History"
873 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temp"
874 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local Settings,LOCALS~1}/Temporary Internet Files"