]> git.sur5r.net Git - bacula/bacula/blob - bacula/ChangeLog
Update release notes
[bacula/bacula] / bacula / ChangeLog
1               Technical notes on version 2.5.x
2
3 General:
4
5 Release Version 3.0.1:
6 29Apr09
7 kes  Fix bug #1282 Setting job.Priority in python crashes director by
8      checking if string addr is NULL.  Not tested.
9 kes  Fix bug #1281 allow all on restore command line to restore
10      pruned JobIds without prompting.
11 28Apr09
12 dirk Correct bat Select dialog. Fixes bug #1276.
13 kes  Check for job_canceled() in fd_plugin code.
14 kes  Update Win32 table creation to have new DB version 11 format
15 kes  Remove illegal Options in Exclude of default Win32/64 bacula-dir.conf
16 27Apr09
17 ebl  Fix bug #1274 where a migration job can be canceled like the
18      original job by the MaxRunTime directive.
19 mvw  Added fix for bug #1275 where acl or xattr data is saved for
20      virtual filenames generated by filed plugins.
21 26Apr09
22 ebl  Remove "Reposition" message when restoring
23 kes  Fix platform scripts not to clean configured files during
24      'make clean' use 'make distclean' to clean everything. Fixes
25      bug #1272.
26 kes  Update projects file
27 21Apr09
28 ebl  Tweak version string to display versionid field at the end
29      and keep fields order.
30 16Apr09
31 kes  Add additional mysql connection debug code submitted by:
32      Chandranshu <chandranshu@gmail.com>
33 14Apr09
34 kes  Fix bug #1246 Sometimes access denied with VSS enabled. UCS
35      conversion cache was not properly flushed at the end of a Job.
36 kes  Fix bug #1268 Full Max Run Time cancels jobs (when Max Run Time = 0).
37 11Apr09
38 kes  Modify insertion of read Volumes in SD to be done before the
39      drive reservation. This ensures that a Volume to be read will not
40      be reserved for writing. Significant enhancement.
41
42
43 Release Version 3.0.0:
44 05Apr09
45 kes  Fix Win32 make clean to clean correctly 
46 kes  Cleanup Win installer dialog messages a bit ...
47 04Apr09
48 kes  Separate object/binaries in Win32 and Win64 builds. More to be done.
49 kes  Add bconsole to Win64 installer.
50 03Apr09
51 kes  Implement more automatic build of Win64 client. Note, there are still
52      lots of warning messages, but it seems to build a correct binary.
53 02Apr09
54 kes  Enhance Job messages from SD when the FD->SD protocol is incorrect
55      and the SD hangs up. Previously this looked like a comm error.
56 mvw  Fixed problem in xattr and acl code trying to send empty acl or xattr
57      streams.
58 mvw  Fix for bug #1261 where we send out a null stream when a file only an
59      acl and xattr support is also turned on.
60 mvw  Added some warnings to configure when using libtool and static in
61      one configure.
62 30Mar09
63 ebl  Fix small memory leak in fileregexp bsr code
64 29Mar09
65 kes  Correct bacula32.def entry point as specified by James.
66 kes  Add code to FD plugin driver to make a copy of the plugin
67      filename to be saved to avoid save_file from zaping it.
68 28Mar09
69 kes  Directly mark all files saved by plugin as being seen for Accurate.
70 kes  Add checks on the plugin version and the plugin license. Currently
71      only implemented for FD plugins.
72 kes  Add installation of /usr/share/doc/bacula
73 kes  Modify plugin checkFile to return bRC_Seen to cause file
74      to remain.  Previously was true/false.
75 27Mar09
76 kes  Implement installation of bat help files
77      The help files are installed in the htmldoc dir and can be set
78      by --htmldoc=xxx on the ./configure. Default is:
79      /usr/share/doc/bacula/html
80 kes  Update projects file
81 kes  Apply patch from  Pasi Karkkainen <pasik@iki.fi> that adds
82      Previous Job name to migrate job report.
83 26Mar09
84 kes  Apply bacula-autoconf-db-m4.patch from Kjetil Torgrim Homme 
85      <kjetilho@linpro.no> that doesn't *require* the static libraries
86      for the SQL database engine. Fixes a build problem if the static
87      libraries are not loaded.
88 25Mar09
89 ebl  Update Makefiles to compile win64 using make WIN64=yes
90 kes  Disable plugin options in ua_run.c
91 kes  Added the following to provide solutions to the plugin/Accurate
92      problem -- bug #1236 Cannot restore incremental backups with 
93      the Exchange plugin.
94      - New Bacula read-only variable bVarAccurate -- returns accurate flag
95      - New Bacula write-only variable bVarFileSeen -- marks a file as seen
96      - New plugin entry point -- checkFile that is called at the end
97        of an Accurate job and allows the plugin to mark a file as seen.
98 24Mar09
99 kes  Temporarly turn off comm timers because it causes bat to seg fault.
100      Must research making SIGUSR2 work with bat and Qt.
101 24Mar09
102 ebl  Use MTIMEONLY fileset option in accurate check
103 23Mar09
104 ebl  Tweak code to compile win64 version with mingw
105 21Mar09
106 Kes  Attempt to correct timing problems with starting bat and obtaining
107      lists. Maintain in_command counter to know when a list is coming.
108 20Mar09
109 kes  Convert seconds.seq separator into seconds_seq so that Bacula
110      editing of the Job name from the full Job name works. This fixes
111      bug #1255 'variable %n changed'.
112 kes  Second half of proposed fix for bug #1227 that does not
113      mark virtual volumes for unloading.
114 kes  Proposed fix for bug #1227 Job and labeling new tape.
115
116 Beta Release 2.5.42-b2
117 16Mar09
118 kes  Increase timeout for unmounting DVD as suggested by reporter
119      of bug #1250.
120 15Mar09
121 jh   Fix by James Harper to print error code when attempting to
122      restore two databases (only one is permitted). This responds
123      to bug #1234.
124 kes  Apply the nodump patch supplied by Frank Kardel that fixes
125      the NODUMP flag problem. This fixes bug #1221
126 kes  Add more output if a user attempts to clone a job but does not
127      uniquely specify the Job name.  This responds to bug #1248 which
128      was not a bug, but improves user feedback.
129 14Mar09
130 kes  Fix problems with bug #1247 and 64 bit time_t OSes by not 
131      editing (printf) time_t values.
132 12Mar09
133 kes  Install bacula (start/stop script) in sbindir in addition to
134      scripts dir.
135 ebl  Tweak configure to remove bash specific code
136 ebl  Remove TCABD reference
137 11Mar09
138 ebl  Free lock manager in when btape exits
139 09Mar09
140 kes  Apply patch from bug #1224, which fixes waiting on max Storage
141      jobs during migration.  Submitted by Alexandre Simon.
142 kes  On 03Mar08 (a year ago) applied patch from bug #1059 (kardel)
143      to implement the NODUMP flag on FreeBSD.
144 07Mar09
145 kes  When deleting a Volume by MediaId require the Id to be
146      prefixed by a * to avoid confusing with an integer volume
147      name.
148 kes  Prevent bls from printing binary data when a plugin stream
149      encountered. This fixes bug #1238
150 kes  Prepare to add JS_Warnings termination status.
151 kes  Attempt to resolve bwx-console Win32 crash. Not likely to
152      work.
153 06Mar09
154 kes  Move src/win32/dll to src/win32/lib, which is much more logical.
155 kes  Fix the Win32 build.
156 kes  Fix broken casting in src/compat/print.cpp.
157 kes  Eliminate jcr Errors and always use jcr JobErrors.  This should
158      ensure that SD and FD errors are correctly reported.  Also add
159      JobErrors to SD returned values. This should fix bug #1242.
160 28Feb09
161 mvw  Implemented xattr support for Solaris 9 and above and extensible
162      attributes for OpenSolaris.
163 mvw  Added some limits to the xattr code so that we don't blow up the
164      filed on big xattrs.
165 mvw  Fixed some comments which changed due to xattrs being implemented.
166 mvw  Changed xattr support checking in configure to test first for
167      generic solutions and when not found for specific OS functions.
168 25Feb09
169 mvw  Don't try to copy empty jobs (e.g. with jobbytes == 0)
170      which gives Unable to get Job Volume Parameters errors.
171      Which leads to copying the same job over and over again.
172 21Feb09
173 kes  Ensure that src/qt-console/.libs is cleaned properly
174 20Feb09
175 mvw  Use acl_data_len instead of seperate var for length
176      of acl stream.
177 ebl  Add database update scripts to updatedb dir
178 19Feb09
179 ebl  Fix #1226 about bconsole segfault when using readline()
180 18Feb09
181 kes  Apply Eric's next-beta.patch that enables 64 bit FileIds and
182      adds new columns to the catalog.
183 kes  Ensure that libtool directory always cleaned + reduce 
184      unnecessary output during make clean.
185 15Feb09
186 ebl  Check postgresql database encoding that should be SQL_ASCII
187      and print a warning if it's something else.
188 08Feb09
189 kes  Free name item in guid_to_name.c when already in list.
190 kes  Add more info to error message in ua_tree.c
191 05Feb09
192 kes  Make re-read last block fatal if block numbers differ by
193      more than one.
194 30Jan09
195 ebl  Try to disable _FORTIFY_SOURCE by default
196 29Jan09
197 ebl  Tweak compat.h for new mingw
198 28Jan09
199 ebl  Add new ScratchPool directive to Pool. Thanks to Graham
200 ebl  Turn on db_get_file_list() single SQL because the failure
201      was due to a full FS. And the accurate test fails with the
202      other code.
203 27Jan09
204 ebl  Fix a bug that doesn't update RecyclePool all the time 
205      during the first startup.
206 25Jan09
207 kes  Turn off db_get_file_list() giant SQL because if fails on
208      my production machine.
209 kes  Fix bat.pro.in so that bat is properly installed rather
210      than just copied.
211 24Jan09
212 kes  Modify search for .conf file so that if one is given on
213      the command line, it will be used, otherwise it will use
214      the SYSCONF directory.  It will no longer look in the current
215      directory unless explicitly requested on the command line.
216      This fixes bug #1189.
217 kes  Fail a job that references a plugin if no Plugin Directory is
218      defined.
219 22Jan09
220 kes  Fix bug #1211 crash during reload with bad dird.conf file.
221 21Jan09
222 ebl  Add detection of intptr_t and uintptr_t to configure process
223 20Jan09
224 ebl  Change some cast to use intptr_t instead of long
225 18Jan09
226 kes  Apply acl_solaris_update.patch submitted by Marco (thanks).
227 kes  Remove configure check for resolv.h -- it is apparently not needed
228      and causes build warnings on FreeBSD.
229 kes  Ensure that the installer and newinstaller Makefiles are called
230      during a make clean.
231 12Jan09
232 kes  Apply Eric's fix for suppressing extended attributes error messages
233      when dealing with deleted files.
234 11Jan09
235 kes  Add src/win32/newinstaller -- single file installer
236 kes  Attempt to explicitly call gmake when needed, or if not found
237      skip the calls.  This should fix the FreeBSD regression/build.
238 10Jan09
239 kes  Fix bat.pro.in so that bat will install.
240 09Jan09
241 kes  Add more debug output to VSS init.
242 kes  Attempt to correct win32 debug in berrno.
243 09Jan09
244 kes  Fix bug reported by Dan where make fails in clean of src/win32. 
245 07Jan09
246 kes  Fix bug #1212, SD is unable to recycle purged volumes. fstat()
247      was broken.
248 06Jan09
249 ebl  Despool attributes directly from the director if attribute
250      spool file is present
251 Beta Release 2.5.28-b1
252 05Jan09
253 kes  Fix bat install broken by $DESTDIR change.
254 02Jan09
255 kes  Fix annoying compiler warnings in console/conio.c
256 kes  Fix win32 build (depended whether or not ./configure was run).
257 28Dec08
258 kes  Apply fix suggested by Bruno Friedmann to configure.in to
259      find python2.5
260 26Dec08
261 kes  Turn on Eric's match_bsr tape block checking code.
262 kes  Correct values used for tape block numbers in record.c.
263 23Dec08
264 ebl  Fix a problem with PoolUncopiedJobs option which was broken
265      by the new JT_JOB_COPY type.
266 kes  Fix bug #1206 -- Error: sql_update.c:194, which was probably
267      caused by the user modifying the Bacula DB schema.
268 kes  Remove rogue line of C code.
269 kes  Fix bug #1208
270
271 Beta Release 2.5.28-b1
272 02Jan09
273 kes  Fix annoying compiler warnings in console/conio.c
274 kes  Fix win32 build (depended whether or not ./configure was run).
275 28Dec08
276 kes  Apply fix suggested by Bruno Friedmann to configure.in to
277      find python2.5
278 26Dec08
279 kes  Turn on Eric's match_bsr tape block checking code.
280 kes  Correct values used for tape block numbers in record.c.
281 23Dec08
282 ebl  Fix a problem with PoolUncopiedJobs option which was broken
283      by the new JT_JOB_COPY type.
284 kes  Fix bug #1206 -- Error: sql_update.c:194, which was probably
285      caused by the user modifying the Bacula DB schema.
286 kes  Remove rogue line of C code.
287 kes  Fix bug #1208
288
289 Beta Release Version 2.5.26
290 20Dec08
291 kes  Correct typo in Win32 Makefile editing
292 kes  Correct typos in debug output.
293 kes  Improved error detection in creating bsrs.
294 kes  Add debug code to Win32 restore
295 19Dec08
296 kes  Fix Win32 build.
297 ebl  Cleanup director VolParam struct
298 18Dec08
299 ebl  Replace File:Block in BSR by Address to fix #1190
300 16Dec08
301 kes  Correct missing return in Darwin code.
302 15Dec08
303 ebl  Copy joblog after a Copy job
304 14Dec08
305 kes  Tweak block.c read to more closely simulate write for computing
306      block addresses and turn on disk block testing.
307 kes  Implement a crude 'list joblog' mostly for debugging.
308 13Dec08
309 kes  Fix Migration bug #1206 sql error with NULL FileSetId when no jobs
310      to migrate.
311 kes  Fix Migration JobLog bug #1171. Get the JobIds correct.
312 12Dec08
313 ebl  Fix segfault in bscan when using debug mode
314 11Dec08
315 kes  Fix configure to do minimum Win32 configure so that make clean
316      works.
317 kes  Tweak modify FD header to use %ld instead of %d.
318 kes  Remove hand scanning of FD header in SD and use Bacula's
319      sscanf, which is now OS independent.
320 kes  Define new object (file/dir) begin and end Volume label records 
321      in SD.
322 kes  Use new method of defining XATTR #defines to avoid need for having
323      them in config.h.in
324 10Dec08
325 ebl  Rename all STREAM_ACL_..._T into STREAM_ACL_..
326 09Dec08
327 ebl  Add a new lock manager that can detect deadlock situation
328      This new option is activated with a --enable-lockmgr configure
329      option.
330 ebl  Add new Director->MaxConsoleConnections directive
331 03Dec08
332 ebl  Fix bacula-sd hanging after tape gets full + unload 
333 02Dec08
334 ebl  Remove extra db_lock() in get_prune_list_for_volume()
335 ebl  Apply 2.4.3-prune-deadlock.patch that fixes a problem when
336      using Catalog as message backend.
337 01Dec08
338 kes  Apply Marco's Darwin xattr patches.
339 28Nov08
340 kes  Fix Win32 build.
341 26Nov08
342 kes  Apply Marco's Extended attribute support patch.
343 kes  Update projects file
344 25Nov08
345 kes  More changes to ensure that during thread switches the jcr
346      is removed from the TSD.
347 kes  Ensure that consoles attach jcr to thread, and that only the
348      thread attached is removed from the TSD.
349 24Nov08
350 kes  Move definition of FileId_t to bc_types and define it once in the jcr.
351 22Nov08
352 kes  Remove all time_t from arguments in favor of utime_t, which is
353      machine independent.
354 kes  Add more debug to match_bsr.c and use %u for unsigned debug editing.
355 20Nov08
356 ebl  Apply patch for bug #1182  about Recycle flag
357      that is not updated after a pool change.
358 kes  Since the user has been warned, allow console purge command 
359      to purge volumes that are in use.
360 kes  Fix Win32 build to add new sd_plugins.c
361 ebl  Apply patch from bug #1175 that reset the Slot and the Inchanger
362      flag in db_make_inchanger_unique().
363 ebl  Remove a Emsg() after recieving a Fatal signal that can lock
364      the catalog.
365 19Nov08
366 kes  Apply patch from bug #1187. It prints an error message if the
367      Maximum Block Size in the SD is too big.  
368 kes  Increase Maximum Block Size to 2,000,000 bytes.
369 kes  Use doubly linked bsr list so that consumed bsrs may be
370      removed.  Removing not yet implemented.
371 18Nov08
372 kes  Implement a fix that very likely fixes the undesired volume
373      purge reported by Graham Keeling.
374 kes  Implement bsr block level checking for disk files. However,
375      it does not work correctly in accurate tests, and all the
376      migration and copy tests, so it is turned off.
377 ebl  Make SD plugins work.
378 14Nov08
379 ebl  Apply Riccardo's patch to compile bacula+mysql on mandriva
380 13Nov08
381 ebl  Add more variables accessible through the director plugin
382      interface.
383 12Nov08
384 ebl  Do work on plugins
385      - fix compilation of the director plugins
386      - add plugin list to status dir output
387      - add director plugin dump after a fatal signal
388 ebl  Apply Riccardo's patch that fix some win32 compilation errors 
389      and a bug with bat version browser.
390 11Nov08
391 ebl  Add Plugin debug after a fatal signal.
392 ebl  Add db and rwlock debug after a fatal signal.
393 10Nov08
394 ebl  Fix maxwaittime to fit documentation, this time is now counted
395      from the job start and group all wait periods.
396 ebl  Add tips for postgresql to improve performance when having
397      multiple batch insert at the same time.
398 09Nov08
399 ebl  Remove extra debug for db lock.
400 07Nov08
401 kes  Apply Riccardo's second patch that cleans up the #include
402      file order + a few Win32 particularities to make bat work
403      on Win32.
404 ebl  Add allow_transactions flag to mysql db backend.
405 kes  Apply win32-fixes patch from Riccardo that makes the Win32
406      bat more stable and faster (but still slow).
407 06Nov08
408 kes  Fix bug with job name duplication if more than 60 jobs created
409      during a minute.
410 kes  Correct some bugs of cleanup in SD if the FD connection fails.
411 ebl  Add code to get more information after a fatal signal.
412 05Nov08
413 ebl  Apply Bastian's patch that add spooldata=yes|no option
414      to run command.
415 04Nov08
416 ebl  Fix bash shell to sh shell in database creation script
417 02Nov08
418 kes  Fix orphaned jobs (possible deadlock) while pruning.
419 kes  Use jcr stored in bsock rather than searching in getmsg.c.
420      This results in about a 5% speed improvement with four
421      concurrent jobs.
422 kes  Implement win32_chmod that uses wide characters, if possible,
423      to get and set the file attributes.
424 29Oct08
425 kes  Apply pane freezing during updates patch from Riccardo Ghetta.
426 kes  Rework next_vol and autoprune a bit due to failure in
427      recycle-test.  prune_volumes() now returns no status,
428      but should prune at least one Volume, if possible.
429 kes  Modify check_if_volume_valid_or_recyclable to reject a
430      volume with Recycle set off.
431 kes  Modify prune_volumes() to continue if volume Recycle is off
432      or if the volume has expired. Add more debug.
433 28Oct08
434 kes  Fix bug #1046 VolumeToCatalog incorrectly reports mounted 
435      filesystems as missing on the Volume.
436 kes  Rewrite the set_jcr_job_status() code to include job status
437      priorities so that more important status changes occur but
438      lower priority status changes will not overwrite something
439      more serious.  This could possibly cause reporting incorrect status
440      reporting in some cases.  More testing is needed to ensure
441      I have the right priorities. This vastly simplifies the previous
442      contorted logic.
443      Verify Diff status should now be correctly reported, whereas it
444      was previously lost.
445 kes  Reduce some debug output.
446 kes  Apply Joao's patch to SQLite tables to make chars work.
447 27Oct08
448 ebl  Fix #1175 About update slots that don't reset InChanger flag when 
449      slot is empty.
450 ebl  Fix #1173 where prune_volume() returns a volume from the scratch.
451 25Oct08
452 kes  Remove jobq.c constraint that read and write SD must be
453      different. This may lead to more deadlocks in the SD,
454      but they should be resolved there.
455 kes  Ensure that job report is always printed even if job is failed
456      in the director.
457 kes  Don't print job report twice for failed VBackup jobs.
458 24Oct08
459 kes  Fix editing of retention time difference to use 64 bit
460      int instead of 64 bit unsigned. This should permit very
461      long retention periods.
462 kes  Implement code to prohibit a write job from appending to  a 
463      Volume that will be used for a read operation.  This is
464      new code and could possibly cause some conflicts.
465 23Oct08
466 kes  Integrate James Harper's Exchange Win32 plugin patch.
467 kes  Apply patch from Marco van Wieringen that implements the new
468      Solaris libsec interface for ACLs so that Bacula can save and
469      restore both the new ACLs and old ACLs.
470 kes  Marco's patch also corrects the file dependency generation code
471      so that it works properly both with shared libraries and static
472      libraries.
473 kes  Marco's patch also includes a small cleanup of the cats Makefile
474      to remove some references to non-existent files.
475 22Oct08
476 kes  Modify win32 Makefiles to use full paths in most cases.
477      In particular add MAINDIR environment variable that points
478      to the main Bacula source directory.
479 21Oct08
480 kes  Add read volume list code to SD -- not yet used.
481 kes  Add James' binutils patch
482 kes  Split volume management code out of src/stored/reserve.c into
483      a new file vol_mgr.c 
484 kes  Modify configure to do an automatic make clean.  This ensures
485      that any changes to ./configure options are handled correctly.
486
487 Beta Release Version 2.5.16
488 19Oct08
489 kes  Add Makefile dependency when using LIBTOOL_LINK so that any
490      change in ./configure options will be accounted for.
491 18Oct08
492 kes  Fix typo in the ACL patch that I overlooked.
493 kes  Apply Marco's libtool include patch.
494 17Oct08
495 kes  Apply Bastian Friedrich's ACL patch to eliminate ACL
496      errors during restore.
497 kes  Minor cleanup of create_restore_volume_list() code.
498 kes  Fix typo in console Makefile.in
499 16Oct08
500 ebl  Fix #1110 about RunScript that can't execute a script with
501      Unicode caracters in the path.
502 15Oct08
503 kes  Apply tray-monitor patch from Bastian Friedrich to make it
504      work with the new FD.
505 14Oct08
506 kes  Apply cleanup patch from Marco
507 kes  Apply patch from  Marco van Wieringen <mvw@planets.elm.net>
508      that implements libtool to create shared objects out of
509      the Bacula libraries.
510 kes  Fix tray-monitor so it will speak to new FD.
511 ebl  Fix bug with ansi label when volume name length < 6
512 ebl  Fix segfault in debug level > 50 with btape.
513 ebl  Remove warning message in btape when command is empty.
514 kes  Fix Win32 build to pull in new BACULA define.
515 13Oct08
516 kes  Change IncludeDir to Exclude Dir Containing.
517 kes  Implement code to prohibit ExcludeDirContaining in an
518      Exclude section (same for Plugin and Options).  A bit
519      of a kludge with RES_ITEM2 ...
520 ebl  Add field to command list to restrict Runscript console
521      command.
522 ebl  Use a separate JCR when running Console command with Runscript.
523 ebl  Permit to mark version as Beta in some ouputs
524 11Oct08
525 kes  Add plugin types in jcr.h to reduce need to cast.
526 kes  Do better checking of plugin return values.
527 kes  Free plugin context after calling pluginFree() as
528      requested by James.
529 kes  Allow plugin to call JobMessage with NULL context.
530 kes  Do not add plugin to global list if loadPlugin returns error.
531 kes  Rework plugin.h a bit to reduce dependence on Bacula.
532 10Oct08
533 kes  Move generation of bsr file for Virtual Backup to run section
534      so that it is generated just before actually running.
535      Suggested by Graham Keeling.
536 09Oct08
537 kes  Add malloc and free Bacula entry points for plugins. Increment
538      FD plugin interface version. Create a bacula plugin context 
539      structure to keep track of whether or not the plugin is disabled.
540 kes  Apply FileIndex fix for plugin name stream suggested by James.
541 kes  List plugins in FD status report when debug > 0.
542 08Oct08
543 ebl  Add a new VerId variable that is printed in version command.
544 kes  Fix migration SQL not to migrate a job that has not terminated.
545      This is a partial fix to bug #1164.
546 kes  Sort JobIds returned from db_accurate_get_jobids() to fix Virtual
547      backup start time bug reported by Graham Keeling.
548 08Oct08
549 ebl  Fix possible bug in cancel_job() with job that are not
550      yet created.
551 07Oct08
552 kes  Fix bat build for Win32.
553 06Oct08
554 kes  Copy plugin link field into ffpkt.
555 05Oct08
556 kes  Integrate patch from Kjetil Torgrim Homme <kjetilho@linpro.no>
557      It provides FileRegex in bsr files and code to collect regex
558      from the user during restore, an Allow Mixed Priorities feature,
559      and documentation for the above.
560 ebl  Remove db berkeley from configure process
561 kes  Do dirty check on hostname (Linux only) and if not resolvable
562      use localhost as default.
563 kes  Increase vtape max block to 20GB.
564 04Oct08
565 kes  Refactor restore code to create a close_previous_stream(). This
566      This may destabilize the source.
567 kes  Implement planned startRestoreFile() plugin call.
568 ebl  Remove missing Loaded information from status slots storage command.
569 ebl  Fix Console command problem that cancels the job
570 kes  Add more plugin restore debug code.
571 03Oct08
572 kes  Fix plugin_bwrite - plugin-blseek mixup pointed out by James.
573 kes  Rewrite plugin restore interface a bit to correspond to how Bacula
574      creates and writes to the restored file.
575 kes  Add some DebugMessage() calls to the bpipe-fd.c program.
576 30Sep08
577 kes  Apply Marco van Wieringen's set of patches, cleans up Migration/Copy
578      Implement 'Pool Uncopied Jobs', allow Solaris Compiler to build
579      Bat; allow add and delete in place of mark and unmark.
580 kes  Another attempt to fix the endRestoreFile plugin bug noted below.
581 29Sep08
582 kes  Apply dbi driver patch from Joao.
583 kes  Correct a bug in passing the context to the endRestoreFile() plugin command.
584      Bastien Friedrich reported the bug.
585 kes  Create plugin instance only when FD job starts.
586 kes  Add new FD plugin event: bEventCancelCommand when
587      a cancel command is issued to the FD.
588 28Sep08
589 kes  Add cmd_plugin flag to jcr so we can globally know if a 
590      command plugin is running.
591 kes  If command plugin running, do not attempt (for the moment)
592      to get Win32 extended attributes.
593 kes  Ensure that proper Win32 flags are set in bfile packet
594      if plugin_bopen() works on Win32.
595 kes  Remove generated src/plugins/fd/Makefile
596 27Sep08
597 kes  Implement build and install of bpipe-fd.so plugin.
598 kes  Rework the interface that passes packets to the plugin
599      so that the packet is started and ended by the packet size.
600      This allows the driver to do a sanity check.
601 26Sep08
602 kes  Rework the pluginIO Bacula internal code to enable   
603      proper handling of Win32 error codes from GetLastError.
604 kes  Apply Joao's patch to regress startover_libdbi.
605 25Sep08
606 ebl  Add -B option to dbcheck to get catalog information
607 kes  Fix Win32 build to include new library function.
608 kes  Remove some old reader/writer code.
609 kes  Implement ./configure --with-plugindir=xxx
610 ebl  Fix the mysql bug in the new accurate code
611 kes  Improve plugin debug. Create plugin test.
612 kes  Set main thread specific data to INVALID because it
613      has no jcr. This allows debug output to work correctly.
614 kes  Add src/plugins/fd/Makefile to ./configure process.
615 kes  Make first cut attempt to correct SQL that computes the current
616      Pool usage.  This is to fix bug #1159.
617 kes  Do a bunch of plugin cleanups for Win32 and more careful checking
618      of PluginDirectory and whether or not a plugin was found.
619 24Sep08
620 kes  This code should fix the race condition that leads to a Director
621      crash at job end time when the job list is updated. This was reported
622      in bug #1162.
623 kes  Add more plugin documentation and fix include of config.h for
624      Win32 build (I hope).
625 22Sep08
626 ebl  Revert to htable instead of rblist
627 ebl  Cleanup accurate code (remove tcdbm parts) and use red/black
628      tree instead of htable.
629 ebl  Use a dedicate DB link to compute and send the accurate list
630      file to the client.
631 21Sep08
632 kes  Fix compile errors in filed/fd_plugin.c.
633 20Sep08
634 kes  Remove all double quotes from SQLite creating script and
635      replace by single quotes as suggested by John Huttley.
636 18Sep08
637 kes  Apply dbcheck patch from Yuri Timofeev <tim4dev@gmail.com>.
638      It significantly improves the performance of dbcheck for
639      MySQL.
640 kes  Fix bad debug code call in src/filed/accurate.c
641 17Sep08
642 kes  Change two Jmsgs in accurate to Dmsg to reduce unnecessary
643      output. Perhaps we really need to implement M_SAVED.
644 16Sep08
645 kes  Fix bug #1156 FD crash during processing of Accurate data.
646 kes  Tweaks to htable code to improved debugging and make names
647      a bit more meaningful.
648 15Sep08
649 ebl  Remove time_t from update_stats()
650 14Sep08
651 kes  Modify the license of the example plugin program to allow
652      it to be used by anyone for making a Bacula plugin.
653 kes  Make apply_rp_codes() in bpipe-fd.c be static.
654 13Sep08
655 kes  Remove Encryption and Accurate lines in vbackup output -- not used.
656 kes  Fix subtle bug in vbackup by not changing DEV_RECORD packet.
657 kes  Add host name to items printed during dump.
658 kes  Make Check File Changes default on.
659 11Sep08
660 kes  Set the default FD timeout to 3 minutes (previously 30).
661 kes  Apply Bastian Friedrich's weird spelling correction patch.
662 10Sep08
663 kes  Always print Verify hash differences. Rename variable to make the
664      code slightly more readable.
665 09Sep08
666 kes  Correct tests for MaxFullInterval as reported by
667      Ulrich Leodolter <ulrich.leodolter@obvsg.at>..
668 kes  Fix MaxDiffInterval code as well.
669 kes  Enable Win32 plugin load code in lib.
670 kes  Make Verify code that computes disk checksums use the same
671      algorithm as backup when dealing with sparse files.
672 kes  Attempt to run VSS on any systems newer than Vista -- should
673      make it work on Windows Server 2008.
674 ebl  Change the new statistic implementation. Remove the UseStatistic
675      directive and add a 'update stats [days=...]' command. You can
676      now decide when copy job records from Job table to JobStat.
677      Statistics are much more accurate with this.
678 08Sep08
679 kes  Fix SQL case problem that may cause the failure of DiskToCatalog
680      in bug #1149.
681 kes  First cut adding SD plugins.
682 03Sep08
683 kes  Add Slot if it is non-zero to writing bsr file after a
684      backup.
685 kes  Change a number of bnet_fsend() into class method calls.
686 kes  Begin audit of diff of 2.4 branch to trunk code.
687 01Sep08
688 ebl  Fix the mysql creation script that double-created an 
689      index of the same field on the Media table.
690      Add an index to on VolumeName to the Media table for mysql.
691 30Aug08
692 kes  Another try at fixing Vbackup. It looks much better this time.
693      Disable file index sanity check in FD with value stored in
694      attributes record because with Vbackup the File Index gets
695      changed, but not the attributes record.
696      Enhance some debug code.
697      Fix handling of re-indexing records that are copied in Vbackup.
698 29Aug08
699 kes  Made level_to_str() know about Virtual backup.
700 kes  Set correct Virtual backup write pool.
701 kes  Fix compile warning in new dbcheck port code.
702 kes  Fix migration code broken by previous virtual backup fix.
703 28Aug08
704 kes  Fix problem of Virtual backup not writing a sequential FileIndex.
705 kes  Reset Virtual backup time/date to the value from the last backup.
706 kes  Ensure that storage name is passed to SD on read.
707 kes  Correct a problem with Level and Virtual backup, rework how
708      bsrs are printed in debug to use standard routine.
709 kes  Apply patch from Chris in bug #1133 that provides alternate db port
710      support for dbcheck.
711 ebl  Remove catalog dependency from bcopy tool.
712 ebl  Modify catalog scripts to have an easier packaging integration,
713      using default variables.
714      Make difference between SQLite3 and SQLite in db_get_type()
715 27Aug08
716 kes  Apply most of changes in a patch from:
717       Michael Stapelberg <michael+bacula@stapelberg.de>
718       that allow the Bacula FD to compile on IRIX 6.5.
719 26Aug08
720 kes  Apply patch from Bastian Friedrich that accepts a yes on a
721      delete volume command line.
722 kes  Attempt to fix bug #1128 InChanger flag cleared during Migration
723      job when reading from one autochanger and writing to another.
724 kes  Minor tweaks (copyright dates convert to use method instead of bnet).
725 21Aug08
726 kes  Fix NULL Volume error when reading (or Migration or VBackup) must switch
727      drives when no tape is mounted.
728 18Aug08
729 kes  Add additional info to some SD messages.
730 kes  Add fix supplied by Martin Simmons for turning off EOL character
731      in new console multi-command code.
732 14Aug08
733 kes  Fix a Verify InitCatalog problem where in certain cases
734      a garbage filename may be entered in the verification database.  This 
735      fixes bug #1143.
736 13Aug08
737 kes  Add VSS 64 bit dll entry point in src/win32/filed/vss_generic.cpp
738      sent in by Riyas Yoosuf.
739 12Aug08 
740 kes  Fix seg fault in Dir during estimate command with no level value
741      given. This fixes bug #1140.
742 08Aug08
743 kes  Add message to migration job when the target job is already migrated.
744      This closes bug #1129.
745 30Jul08
746 kes  Fix Win32 build.
747 kes  Raise some restore debug levels.
748 kes  Replace off_t by boffset_t where ever I found it.
749 28Jul08
750 kes  Define a machine dependent ioctl request type for use with 
751      vtape_ioctl().
752 26Jul08
753 kes  When a migration job actually runs, re-check the Job record
754      and skip if the job is already migrated. This should
755      significantly reduce the problems with bug #1129.
756 24Jul08
757 kes  Set MALLOC_CHECK_=0 in environment before starting Bacula to
758      turn off glibc checks that prevent getting good dumps.
759 kes  Implement console 'wait mount' command. Doesn't yet work.
760 kes  Implement timeout=nn on console 'wait mount timeout=nn' command.
761 kes  Break the do_swapping into do_unload, do_swapping, and
762      do_load.  It is much more logical that way.
763 kes  Implement a set_dcr_from_vol subroutine in acquire.c for
764      reading volumes. This allows the dcr to be refreshed after being
765      zapped when the wrong volume is mounted.
766      This should fix bug #1126 -- During multiple tape restore, bacula 
767      does not ask for physical tape change, but rereads same tape
768 23Jul08
769 kes  Apply patch submitted for bug #1107 with a small modification.
770      This fixes a bug where bcopy copied too many records.
771 kes  Make some tweaks to bsmtp based on patch submitted in bug #1124.
772      This fixes bug #1124.
773 kes  Make the default bat restore Pool be Any. This fixes bug #1118.
774 22Jul08
775 kes  Remove debug statement that crashes the SD at the end of
776      a tape during restore. Fixes bug #1125.
777 21Jul08
778 kes  Implement Win32 bat changes made to Branch-2.4
779 20Jul08
780 kes  Tweak separator command in console to start disabled and
781      allow defining no separator character.  Also make code a
782      bit more fault tolerant.
783 kes  Make btraceback write the traceback to the working directory
784      before attempting to mail it.
785 kes  Add a RFC to Projects.
786 18Jul08
787 kes  Attempt to implement a kludge to make Qt work with bat
788      on Win32.
789 kes  Setup rstorage correctly. Virtual backups are working.
790 17Jul08
791 kes  Move setting JobLevel and JobType into a method, which should
792      allow completing Virtual Backups.
793 kes  Fix verify jobs to work again.
794 16Jul08
795 kes  Virtual Backup tweaks -- it is close to working.
796 15Jul08
797 kes  Ensure that SD tried to mount a volume not in an autochanger
798      at least once before asking for operator intervention.
799 kes  Make SD aware of Virtual Backup jobs.
800 kes  Add VirtualFull for bat.
801 kes  Changes to get read storage correct for Virtual Backup.
802 14Jul08 
803 kes  Remove old code from label.c
804 kes  Split display_display_info() out of write_bsr_file()
805 kes  do_vbackup_init() working -- i.e. bootstrap file built.
806 kes  Change Bacula trademark owner from John Walker to Kern Sibbald
807 kes  First non-working cut of vbackup
808 kes  Correct FD heartbeat code to use volatile variable accessed by
809      two threads.
810 kes  Zero thread id with memset if on Win32 in case it is a struct.
811 kes  If cannot create JobMedia record, continue to try to write eof
812      and clean up in block.c
813 12Jul08
814 kes  Add code to interface OpenSSL to new Win32 pthreads code which
815      used a structure for thread_t.
816 09Jul08
817 ebl  tweak bat for win32 compilation
818 08Jul08
819 ebl  Remove tokyo cabinet from the source
820 ebl  Update configure/autoconf to support berkeley DB
821 ebl  Add a sort to db_get_file_list() to improve bsr construction time.
822 07Jul08
823 kes  Add a mtx-changer.conf file that is not overwritten during
824      an upgrade. It fully configures the mtx-changer script.
825 kes  Clear in-use bit on vol when unused while swapping.
826 06Jul08
827 kes  Remove sleep at end of ./bacula
828 kes  Clear hash packet for hardlinked files correctly. This corrects
829      a long standing bug where hardlinked files selected individually
830      would occasionally not be restored.
831 05Jul08
832 kes  Apply Eric's patch to ensure that autoprune does not return
833      a Volume not in the autochanger unless requested to do so.
834 kes  Correct bat restore display of multiple drives. This fixes    
835      bug #1117.
836 kes  Do find_a_volume() each time an unload is done. This
837      fixes the failure of maxvol2-test.
838 04Jul08
839 kes  Add some SD debug code.
840 kes  Do find_a_volume() each time an unload is done.
841 kes  Apply Joao's DBI patch that adds easier configuration of DBI drivers,
842      and adds --with-db-port to ./configure.
843 kes  Use Qmsg() in job.c watchdog callback.
844 03Jul08
845 kes  Release main control rwlock if ABORTing.
846 kes  Make watchdog connect timeout queue messages rather than sending
847      directly to avoid lock conflicts with the real thread.
848 kes  Add const char in dbd.c to avoid compiler warnings.
849 kes  Fix python compiler string warning. Note, IMO the GNU C++ 
850      compiler guys have made a *very* bad change to their compiler.
851      They now force all strings to be 'const' unless you explicitly
852      cast them, which is extremely ugly and ruins nice code as well
853      as creates a lot of useless work.
854 02Jul08
855 kes  Fix mtx-changer to detect both versions of Ubuntu (Debian)
856      mt. This fixes bug #1116.
857 kes  Add const in python files to reduce compiler warnings.
858      This may have to be backed out because of later compiler
859      strict checking.
860 kes  Fix failure of 2drive-concurrent-test. Always read label;
861      clear_unload() only after drive is defined in acquire_for_read().
862 27Jun08
863 kes  Generally clean up the manual tape loading code. The main
864      conceptual change is that when a volume is marked to be unloaded,
865      its volume name is retained, and it is only marked as unloaded
866      when either the autoloader says it is unloaded or another tape
867      is read on that drive.                                     
868 25Jun08
869 kes  Add debug code and refactor subroutine in stored/mount.c
870 kes  Fix format problem in bscan output reported in bug #1105.
871 ebl  Fix get_next_volume_for_append logic with autochanger
872       - use pruned volumes if found
873       - don't reset the inchanger flag after getting a recycled volume
874         or a scratch one
875      Fix recycle_oldest_purged_volume to take InChanger flag in account
876 23Jun08
877 ebl  Add mmap/unmmap implementation for tokyodbm under win32
878 22Jun08
879 kes  Make first step toward eliminating globals from config
880      scanning. Also should be a workaround for FORTIFY_SOURCE
881      GNU C bug -- fixes bug #1042.
882 21Jun08
883 kes  Apply duplicate job tests to restarted jobs.
884 kes  Copy more data when restarting a job so that run
885      overrides are kept. This should fix bug #1094.
886 20Jun08
887 kes  More word alignment cleanup.
888 kes  Fix bug where SD did not ask operator if the device could not
889      be opened. Reported by Eric.
890 19Jun08
891 kes  Add dbuser to DIR conf file (replaces user).
892 kes  Add --with-db-password to ./configure
893 kes  Fix regress to handle db_password.
894 ebl  Add new 'status storage slots' that list autochanger
895      content.
896 ebl  Update vtape driver to compile only under Linux.
897 ebl  Fix a bug when restoring with a wrong mediatype.
898 18Jun08
899 kes  Eliminate ints from conf files and structures to avoid
900      word alignment problems
901 17Jun08
902 kes  Fix bug reported by Scott Barninger where the bacula script
903      refers to scripts in the wrong directory. Needed to meet the
904      requirements of recent FHS location changes.
905 ebl  Disable vtape for FreeBSD.
906 15Jun08
907 ebl  Modify disk-changer to check if slot contains something before
908      loading it.
909 14Jun08
910 ebl  Fix vtape on win32 and debian.
911 ebl  Fix autoselect patch (cause segfault).
912 13Jun08
913 ebl  Fix autoselect option broken for a while. Fix #1089. Need some
914      work with StorageId to be able to use a particular drive in a 
915      autochanger.
916 09Jun08
917 ebl  Rename vtape to vtape.
918 ebl  Update vtape driver.
919 08Jun08
920 ebl  Modify vtape driver to avoid sparse file.
921 kes  Add make clean of qt-source directory during ./configure
922 kes  Store last block number written to tape in DEVICE and
923      use it for testing for correct last block on EOT.
924
925 28Dec08
926 Release Version 2.4.4
927 27Oct08
928 Release Version 2.4.3
929 26Jul08
930 Release Version 2.4.2
931 07Jul08
932 Release Version 2.4.1
933 04Jun08
934 Release Version 2.4.0
935 25Jan08
936 Release Version 2.2.8