2 Released as 1.38.0 28Oct05:
6 - Don't overwrite pthreadVCE.dll or msvcr71.dll during Win32
8 - Update README.win32 instructions.
10 - Make db_get_job_record() return Name so that the ACL
11 can be checked. Fixes bug #446
13 - Insure that all the SD tools init the Autochanger
18 - Print error message if no Changer Command found.
19 - Apply fix from Martin Simmons to clear structure before
20 using it in IPADDR -- fixes a bind() bug on AIX.
22 - Add NetBSD fstype patch from Geert Hendrickx <ghen@telenet.be>
23 - Update num_parts only when writing to DVD.
25 - Fix error conditions in bpipe.c DVD routine (terminate buffer).
26 - Use a bigger buffer 32K as suggested by Arno in bpipe.c.
27 - Increase dvd mount timeout with patch from Arno.
28 - Modify DVD code so that it keeps a state flag that indicates
29 when the freespace variable is valid. freespace_errno, now has
30 either 0 or an errno. There are no negative errnos.
31 - Create is_freespace_ok() to test state flag. Also, set_freespace_ok()
32 and clear_freespace_ok(). Modify code to use them. This
33 simplifies a bit the logic of the freespace code.
34 - Edit 64bit debug values correctly in dvd.c
35 - Fix %e variable to check num_parts rather than part.
36 - Use static buffer instead of static buffers for FI_to_ascii()
37 and stream_to_ascii() debug routines in SD. This is to prevent
38 possible race conditions between two threads (possibly Phil's
41 - Add a .dir command that separates arguments with commas. It
42 is intended to be used in the tree routines to get a
43 machine readable output for GUIs like wx-console.
44 - Make configure set dvd-handler to have execute permission.
45 - Install dvd-handler as is done for other dvd-xxx scripts.
46 - In block.c call dvd_write_part() to write last part rather
47 than dvd_open_next_part().
48 - Prefix some DVD subroutines with dvd_
50 - Add extra debug to Update media error for VolFiles decrease
52 - Do not update dev->file on set_ateof() for non-tape.
54 - Mark DVD volume in error if part cannot be written.
55 - If a DVD is mounted, unmount it before asking operator
56 to mount an different one.
57 - Add Arno's dvd-handler script to the scripts directory and
58 integrate with configure. It replaces both existing scripts.
59 - Make default schedule start at 23:10
60 - Implement gui release in Makefile. It creates two .tar.gz
61 bacula-web and bimagemgr.
63 - Add README plus tar release to gui project.
64 - Manual documentation
65 - Tweak bacula.man doc
66 - Add PRAGMA synchronous = NORMAL; to SQLite3 tables. This
67 speeds up SQLite3 so it is only about 10% slower than version
68 2.xx. Thanks to Russell Howe for this tip.
69 - Add msvcr71.dll to pebuilder .inf file as it is needed by
70 Bacula FD. Thanks to Brandon for passing this fix to Scott.
72 - Add VolumePurged method to Python JobEvents class. Fixes
74 - Add JobId index to File table for MySQL.
75 - Correct tray-monitor crash of bacula-dir. qstatus_cmd()
76 code referenced the wrong pointer. Fixes bug #438.
77 - Add bacualnovss.mak file from Martin.
78 - Remove Pool from restore string in wbrestorepanel.cpp. Patch
79 from user for bug #433.
80 - Correct code in wbrestorpanel.cpp with misplaced parens. Patch
81 from user for bug #431
82 - Correct printing filenames/date/times in wbrestorepanel.cpp due to bad
83 column alignment. Patch from user for bug #432.
87 - Add fix to compat.h supplied by Martin Simmons that permits
88 building the Win32 FD without VSS.
90 - Bring cats/bdb_x.c routines up to version 1.37 (return values
93 - Integrate libwrap patch from Szechuan Death. They should
95 - Clean up patches directory for next release.
96 - Add PS variable in bacula.in script as recommended by a user.
97 - Correct mtx-changer.in so it only creates a temp file when
99 - Add patch supplied by user in a bug report to fix gnome2
101 - Add patch from Peter Eriksson <peter@ifm.liu.se> to correct
102 NLS error in tray-monitor.c
104 - Add code to catalog_update to detect NULL db pointer.
105 - Remove char *msg argument from catalog_request and
108 - Fix mode change open in btape.c
109 - Use nonblocking opens on Linux only.
110 - Move set_blocking code for tapes into method to
111 simplify main line code.
112 - Cleanup the code for ensuring we advance tape on fsf.
113 This should fix IBM problems -- patch from Adam Thorton
115 - Remove test for BMT_EOD in fixup_device... this eliminates
116 need for status_dev() routine.
117 - Before doing label ensure device is in read-write mode.
121 - Tweak daemon.c berrno, copyright.
123 - Fix handling of temp file in mtx_changer.in, reported as
124 a security bug, but it is not really. Bug #422
125 - Fix security problem of handling temp file in randpass.
127 - During label/relabel, add new_volume to VOLRES list in SD.
129 - Apply Landon's patch for the TLS ANS1 API change.
131 - Make single exit path in first_open_device().
133 - Make new_volume walk through all Vols looking for dev
136 - Make "quit" command in console always allowed.
137 - Remove the storage list between each console command to
138 keep Dir from remembering a previously selected SD.
139 - Add code to reservation VOLRES subroutines to try to ensure
140 we don't end up with two Volumes on the same drive.
141 - Simplify the mutex code in VOLRES a bit to reduce the chance
144 - Apply Nicolas' dvd-freespace.in patch.
145 - Make sure SQL table names are not translated.
146 - Eliminate incorrect message saying barcodes not
147 found in "label barcodes" -- fixes bug report.
151 - Add ability to have passwords on backup of catalog as
152 alternate 3rd argument. Submitted by Andrew Ford
153 <A.Ford@ford-mason.co.uk>
154 - Turn off TapeAlert by default if user enables a Device
155 and add a note to install mtx.
157 - Fix out of order volumes during restore.
161 - Final tweaks to build Win32.
162 - Enable debug code in ua_label.c
163 - Remove devices from the Volume list even if no
164 Volume is in drive. Hopefully this fixes Arno's problem
165 of multiple volumes listed in the same drive.
167 - Apply Landon's patch for TLS default values.
168 - Correct LOCALEDIR problem in build of Win32
169 - Correct ssize_t problem in build of Win32
170 - Add code to llprint pools and volumes to debug next item.
171 - From bug report, fix resetting Pool defaults in Volume. It
172 was a typo "Max" was missing in several places.
173 - Don't allow translation of database Volume Status values.
175 Changes to 1.37.37 released 26 Aug 05
177 - Ensure that the drive is closed before calling the
178 mtx-changer script so that the script can access the drive.
179 - Add drive name to reserved Volume list printout in SD.
181 - Fix bug in acquire.c that incorrectly reported volume
183 - Add additional debug code and messages in reserve.c
184 - Eliminate unwanted warning message in reserve.c
186 Changes to 1.37.36 released 22 Aug 05
188 - Landon's fix for NLS detection
189 - Eliminate incorrect compiler warning on FreeBSD.
190 - Move Win32 errno message build into berrno constructor.
193 - A number of minor Win32 fixes.
194 - Remove a PostQuitMessage() as suggested by Thorsten so that
195 BartPE restore can work correctly.
196 - Fix for create JobMedia so that VolIndex remains valid even
197 during a delete Job or pruning -- bug 402.
198 - Minor tweak for Win32 build.
200 - Win32 fix -- remove debug O_NONBLOCK code.
201 - Fix bug 399 -- make_catalog_backup does not work for sqlite3
202 - Implement unloading a volume in a different drive if it
203 is needed in the current drive.
204 - Implement search for unused autochanger drive.
205 - Implement search for exact Volume in reservation before
207 - Fix picking up drive in Dir so that it is not done in
209 - Eliminate double check on "loaded" for autochanger.
211 - Start coding better reservation algorithm
212 - Always look for slot for label command.
213 - Add more debug code for autochangers.
214 - Apply fix from Stephan Leemburg <sleemburg@jvc.nl> for
215 improper scanning of schedule resource:
216 Run = Level=Full Pool=Catalog daily at 1:20
217 - Apply patch from Chris Lee <labmonkey42@gmail.com> for
218 adding --enable-build-dird --enable-build-stored.
219 - Tweak datadir definition in configure.in
221 - Fix bug that missed drive=nn specification.
222 - Eliminate nonblocking kludge in heartbeat of FD as
223 it caused high CPU usage.
224 - Pickup loaded slot when doing open() of tape drive.
225 - Make autochanger reservation code go through full list
226 first pass until exact match found.
228 - Fix how FileSet is saved in job record to correct continual
230 - Make datadir print on config.out listing.
231 - Move get FileSet record up in backup init to eliminate continual
232 Full save seen by Peter Sjoberg.
233 - Add VolumeName to read-only Python variables.
234 - Add VolumePurged event for Python.
235 - Suppress /dev/ Filesystem change prohibited INFO messages.
236 - Do not delete FT_RAW files before restore (allows FIFOs
237 to be used for restore).
239 - Add drive specification to mount, unmount, release, label,
240 and relabel for Autochangers. Note Dir<->SD protocol has
245 - Disable parts of NLS as the configure does not work here.
246 - In job backup init (backup.c) define definitive Job level and
247 since time, *then* apply Job Pool override selection if any.
249 - Modified bconsole script so that it is improperly
250 installed, it will refuse to execute. This avoids
251 recursive call loops.
255 - Apply David's ACL fix to src/filed/acl.c
257 - Apply patches sent by David Duchscher <kreios@gmail.com> for
258 making ACLs work on MacOS X and FreeBSD.
260 - Apply patch in bug#397 that improved configure
261 - find readline under $with_readline/include/readline
262 - no libutil under Solaris
263 - no need for -ldl under Solaris
264 - Make reservation system single threaded during the
265 search to avoid two threads competing for the same
267 - Correct a return code in find_suitable_device_for_job()
268 Possibly cause of "busy writing to another volume".
270 - Modify open() for tape so nonblocking really works.
271 - Use fcntl() to reset blocking status rather than close()
272 and reopen the drive.
273 - Make sure dev->open() is always called so that any change
274 in read/write permissions will occur.
275 - Open drives initially in daemon in read-only mode.
276 - Ensure that each time the VolHdr.VolumeName is zapped
277 or changed that free_volume() is called on the old name.
281 - Require 5 arguments to mtx-changer except list and slots
282 - Turn -EPIPE status returns from bpipe to ETIME
283 - Include Slot in SD status output
284 - Do not term_dev() during initialization in SD if the device
285 could not be opened. In the case of a tape drive, there may
286 be no tape in the drive.
290 - Correct PostgreSQL database scripts as suggested by a user.
291 - Add additional info to FATAL message generated when a device
292 is busy writing to another volume.
293 - Suppress an inappropriate NULL Volume name message after a cancel.
294 - Correct a warning message in reserve.c
296 - Apply user's patch to make mutiple modifiers for times
298 - Make read_dev_volume_label() handle ANSI/IBM labels
299 correctly -- ie space over any label at the beginning
302 - Make ANSI/IBM writing of HDR1/2 labels ignore any
303 errors if at end of tape.
304 - Apply Martin's patch to improve Python detection in
306 - Temporarily turn off disk seeking until I find the
307 cause of the problem.
309 - Add OSF1 patch supplied by user.
310 - Use number of files selected from write_bsr() only
311 if it is not defined.
312 - Explicitly seek to end of file when getting size for
314 - Correctly set EndBlock position in JobMedia record
316 - Remove unnecessary set StartBlock in bscan. Caused bscan
319 - Modify mtx-changer to wait a maximum of 300 seconds.
320 - Do restart of failed jobs only for Backups job types.
321 - A number of DVD updates from Nicolas.
323 - Turn off old service helper code in Win32.
324 - Correct Messages bug found by Phil in stored.
326 - Complete (almost) documentation of 1.38.
327 - Add error messages for error conditions with VSS.
328 - Fix additional problems with VSS backup that I introduced.
331 - Correct compiler complaints in wx-console and tray-monitor.
332 - Correct VSS problems recognizing c:
333 - Add VSS before job status
334 - Fix output of status from being one big line.
335 - Change cd xx; make to cd xx && make as suggested by Phil.
336 - Cleanup projects file
337 - Remove unnecessary casting of FF_PKT in filed.
338 - Apply Thorsten's bugfix for vss_generic.cpp
339 - Add check for df path for dvd_freespace
340 - Use df to get space used on DVD.
341 - Change sense of flag indicating erase DVD or not before writing.
342 - Fix bpipe so that it never modifies the result pointer.
343 - Replace more dev_name by print_name().
344 - Rewrite edit_device_codes_dev() so it does not overwrite the
346 - Update printing of labels (for bls) so that critical information
347 is printed (Job name and timestamp).
348 - Cleanup old spool files when starting the SD.
349 - Modify vss.cpp to allow C: as a path name. Otherwise VSS
350 doesn't work when only a drive name is given.
351 - Modify vss.c to eliminate double / in filenames.
352 - Update doc -- particularly the restore chapter.
354 - Make all files in working directory have .xxx at end.
355 - Work on DVD writing.
356 - Fix keepatime bug (bugs database).
357 - Move Python variables from Job to Bacula. They are
358 DirName, Version, ConfigFile, and WorkingDir
359 - Fix delete of bootstrap to only occur on Bacula created
361 - Allow cancelling a Job name that is not active. It is
364 - Fix name space pollution by OpenSSL 0.9.8 reported by
365 Matthias Kurz -- applied his patch.
366 - Fix bpipe.c so that it does not modify results pointer.
367 ***FIXME*** calling sequence should be changed.
368 - Remove some remaining references to dev_name.
369 - Fix calls to mount_dev() and unmount_dev() to
370 correspond to returned value (bool instead of int).
371 - Try without success to make DVD writing work.
374 - Convert dvd-writepart to Python.
375 - Increase delay from 3 seconds to 5 seconds between SIGTERM and SIGKILL when
376 killing external programs.
378 - Add gettext macros in autoconf/gettext-macros.
379 - Modify how localedir is set in configure.in.
380 - Remove setlocale check (useless).
382 - Mark translatable strings in all source files.
384 - Create French and Italian translation files (fr.po, it.po).
385 - Add support for translation in configure and Makefiles.
386 - Update autoconf/aclocal.m4 so it is automatically created with aclocal
387 (Note: autoconf/gnome-macros is not used anymore, it may be removed).
389 - Fix src/lib/bpipe.c:run_program and run_program_full_output to detect if the watchdog
390 killed the program, and return an error if it is the case.
392 - Modify parse_config to get a LEX_ERROR_HANDLER as a parameter
393 - lex_open_file now returns NULL if the file can't be opened. All calling functions have
395 - Remove set_exit_on_error function
397 - Fix "unknown device type" problem with DVD devices.
398 - Fix crash when there is no media in the DVD drive.
400 - Update the documentation and ReleaseNotes.
402 - Add FreeSpaceCommand in Device (SD configuration file) and implement it.
403 - Some modifications (again) on how guessed volume names are handled (now it should work).
404 - Part files on the hard disk are removed if they are empty.
406 - Major fixes on how guessed volume names are handled.
407 - Minor fix in src/stored/append.c.
408 - Replace, when possible, POOLMEM by POOL_MEM in the new code of src/stored/dev.c.
409 - New script, scripts/dvd-freespace, which gets the free space available on a writable DVD.
411 - Add WritePartAfterJob directive in Job resource (Director)
412 - Add WritePartAfterJob directive in Schedule Resource (Director)
413 - Implement these new directives
415 - New function, open_guess_name_dev in src/stored/dev.c, which tries to guess the volume
416 name of a mounted device, so the label can be read.
417 - New script, scripts/dvd-writepart, which write parts to DVD+/-R(W).
418 - Removed WriteFirstPartCommand directive in Device (SD configuration file).
419 - Use readdir_r instead of readdir (src/stored/dev.c:open_guess_name_dev).
421 - Add RequiresMount, MountPoint, MountCommand, UnmountCommand directives in Device (SD configuration file).
422 - Implement these directives (volumes can now be restored from a manually written DVD).
423 - Add WriteFirstPartCommand, WritePartCommand directives in Device (SD configuration file).
424 - Implement these directives (DVD writing now works).
425 - New function run_program_full_output in src/lib/bpipe.c.
426 - Lots of bugfixes and cleanups in the new code.
428 - Add VolParts field in Media table
429 - Add MaximumPartSize directive in Device (SD configuration file)
430 - File Volumes can now be splitted in multiple files ("parts")
431 - Fix SQL error in sql_list while doing "llist jobmedia"
433 Changes to 1.37.30 released 16 July 2005:
435 - Fix "dir" command scanning field misalignment in
437 - Switch to using the wxWidgets Unicode library.
438 - Include msvcr71.dll in distribution.
439 - Add VSS to status line in Win32 FD if enabled.
440 - Get VSS build scripts working with Thorsten's help.
441 - Unlink the bootstrap file after sending it to
443 - Remove sending include/exclude lists to the FD during
444 a restore -- deprecated code.
445 - Cleanup the bootstrap files in the FD.
449 - Remove old commented out code from configure.in
450 - Add baculavssfd.mak file for building VSS version of
452 - Correct date (year) in vss.cpp and vss_generic.cpp
454 - I finally found and squashed the elusive SD crash.
455 I needed to initialize the used volume list before
456 firing off the device initialization thread.
459 - Make sure that bpipe results are zapped even on
461 - Lots of documentation.
462 - Do not prune volume marked as append when needing a
464 - Print a warning message in SD if a non-used Volume
465 is specified and autolabel not turned on.
466 - Correct a bug in chksum.c concerning SHA1 signatures
467 (an * should have been & when checking for a bit flag).
468 - Print File:Block for all label records in label.c -- concerns
469 primarily bls when doing Job listings (-j).
470 - Correct is_volume_in_use() to return false if testing
471 on the same device where the Volume is already mounted.
472 - Define a init_done flag in the SD that is set when the
473 devices are initialized and make users connecting wait.
474 This prevents useless connect failure warning messages.
475 - Do additional device locking in ask_op_to_mount_volume()
476 to prevent race conditions with a user labeling a Volume
479 - Add a test for error return from bnet_wait... in heartbeat.c
480 in FD to avoid CPU loop.
481 - Implement TLS in gnome console and wx-console.
485 - Correct a NULL pointer reference in the mount command.
486 - Correct typo in Copyright
487 - Add detection of EOM for IBM drives (i.e. errno == ENOSPC)
489 - Remove temp file created in mtx-changer script.
490 - Make fsf_dev() into a class method.
492 - Modify mtx-changer.in script to return slot:barcode for
493 Volumes that are loaded in the drives.
494 - Correct some more places where dev->is_blocked() needs
495 to be checked in dircmd.c in SD.
498 - Add code to ensure that reserved but unused volumes
500 - Correct how Volumes are mounted and handled so that the SD
501 does not get stuck if multiple volumes are used (recycling,
503 - Correct bug where you could relabel a volume while it
504 was being acquired -- created chaos.
506 - Correct seg fault caused by open() calling sequence change.
508 - Add new rc-chio-changer script by Rudolf Cejka to
509 examples/autochangers
510 - Apply Rudolf's changes to bacula.in
511 - Expand the space from 8 to 10 characters in editing
512 file sizes for restore and dir of catalog, otherwise
513 GB sizes are truncated -- fixes bug report.
514 - Modify wx-console to know about 10 character widths.
515 - Allow decending into top level directory if "recurse=no"
516 is set. Fixes a bug report.
517 - Install pthreadVCE.dll when installing console or wx-console
518 on Win32 systems. Fixes bug report.
520 - Tweak dvd-writepart script to prevent door from opening/closing
522 - Remove GROUP BY in several PostgreSQL commands to prevent error.
524 - Ensure that < as first character of filename list is not treated
525 as a directory for restore.
526 - Add debug to heartbeat in FD as it seems to go into an
527 infinite loop from time to time during SD failure in DVD writing.
528 - Add more debug code to dvd writing.
529 - Attempt not to destroy existing fs on DVD.
531 - Detect device mounted for DVD and suppress be sure to
532 mount message after label.
533 - Set Cleaning tape status to "Cleaning" and force no
535 - Get DVD writing working with new standard Bacula open()
537 - Rename get_filename() to make more sense.
538 - Detect "is already mounted on" on mount command so to avoid
539 error if device is already mounted.
540 - Eliminated guess_name() code. It may be necessary to
542 - Eliminate seg fault from printing invalid results.
543 - Make dvd_write_part() bool.
546 - Attempt to fix DVD writing by eliminating a number of the
547 DVD subroutines to simplify.
548 - Modify DEVICE::open() to take dcr as first argument. This
549 will permit providing more info to DVD opening.
550 - Fix scanning for time/size items which in some cases
552 - Eliminate read_dvd_volume_label(). New code (not yet written)
553 *must* open dvd appropriately before calling
554 read_dev_volume_label.
555 - Modify open_first_part() open_next_part() to take DCR as
557 - Make label command from console work on DVDs.
558 - Make mount command from console work on DVDs.
559 Unmount does not work yet.
563 - Add Database vendor to CatalogRes tuple for Python.
565 - Implement DoesVolumeExist(Vol) for Python.
566 - Prevent python command from seg faulting if no arg given.
570 - Add set_mode method in DEVICE.
571 - Correct set_mode method in DEVICE
572 - Add more DVD debug info
574 - Check for incorrect duration and size modifiers in conf files.
576 - Make Version a tuple (version, build-date)
577 - Add CatalogRes tuple (DBName, Address, User, Password,
579 - Add Version, ConfigFile, and WorkingDir as Python attributes
581 - Implement code (principally for Win32) that on failure to
582 create a file, it will cd into the directory and attempt
583 to create the file using a relative path. This avoids creating
584 files with paths which fail on Win32.
585 - Fix parsing of times and sizes with decimal numbers.
586 - Make free_volume_list() in SD work if vol list is not
587 initialized (./bacula-sd -t).
589 - Add debug error printout when open() fails.
590 - If open() of DVD fails in mount.c, return false.
591 - Split open() code for DVD into separate subroutine in dev.c
593 Changes to 1.37.25 released on 20 Jun 05:
595 - Fix bug where Storage daemon gets confused about what
596 tape is mounted. (one line of code was inadvertently
601 - DVD writing/reading seems to be mostly working.
602 - Set execute bits on dvd-freespace and dvd-writepart
603 - Make dvd-freespace use existing dummy file.
604 - Modify dvd-freespace to pickup size from Track Size:
606 - Add Date, Job, level to updates to .bsr file in
608 - Add debug info to dvd-freespace.in
609 - Fix hard coded bacula.sql in make_catalog_backup reported
611 - Make sure a verify volume to catalog never reports an error
612 if there are zero files to verify.
613 - Remove confusing debug info in filed/backup.c on network
615 - Make sure output from console is not sent to system log.
616 - Convert open_dev() into a class method.
617 - Change VolHdr.VolName to VolHdr.VolumeName.
618 - Add a flag in the device state word to indicate that
619 we found Media in the drive (DVD).
620 - Make mount_dev() and unmount_dev() return bool.
622 Changes from Nicolas Boichat:
624 - Modify parse_config to get a LEX_ERROR_HANDLER as a parameter
625 - lex_open_file now returns NULL if the file can't be opened. All calling functions have
627 - Remove set_exit_on_error function
629 - Fix "unknown device type" problem with DVD devices.
630 - Fix crash when there is no media in the DVD drive.
632 - Update the documentation and ReleaseNotes.
634 - Add FreeSpaceCommand in Device (SD configuration file) and implement it.
635 - Some modifications (again) on how guessed volume names are handled (now it should work).
636 - Part files on the hard disk are removed if they are empty.
638 - Major fixes on how guessed volume names are handled.
639 - Minor fix in src/stored/append.c.
640 - Replace, when possible, POOLMEM by POOL_MEM in the new code of src/stored/dev.c.
641 - New script, scripts/dvd-freespace, which gets the free space available on a writable DVD.
643 - Add WritePartAfterJob directive in Job resource (Director)
644 - Add WritePartAfterJob directive in Schedule Resource (Director)
645 - Implement these new directives
647 - New function, open_guess_name_dev in src/stored/dev.c, which tries to guess the volume
648 name of a mounted device, so the label can be read.
649 - New script, scripts/dvd-writepart, which write parts to DVD+/-R(W).
650 - Removed WriteFirstPartCommand directive in Device (SD configuration file).
651 - Use readdir_r instead of readdir (src/stored/dev.c:open_guess_name_dev).
653 - Add RequiresMount, MountPoint, MountCommand, UnmountCommand directives in Device (SD configuration file).
654 - Implement these directives (volumes can now be restored from a manually written DVD).
655 - Add WriteFirstPartCommand, WritePartCommand directives in Device (SD configuration file).
656 - Implement these directives (DVD writing now works).
657 - New function run_program_full_output in src/lib/bpipe.c.
658 - Lots of bugfixes and cleanups in the new code.
660 - Add VolParts field in Media table
661 - Add MaximumPartSize directive in Device (SD configuration file)
662 - File Volumes can now be splitted in multiple files ("parts")
663 - Fix SQL error in sql_list while doing "llist jobmedia"
666 - Renamed to make unique version for open_next_part()
670 - Renamed to make unique version for open_next_part()
675 - Fix the same state variable problem in open_next_part().
676 - C++ify the SD code a bit more.
678 - Add more debug code and clarify debug code for DVDs.
679 - Do not save and restore state in open_first_part()
680 since state should be properly set after open_dev().
681 - Make default mandir /usr/share/man
682 - Install Bacula man page.
683 - Implement passing of FileSet Enable VSS to FD.
684 - Move main body of reserve drive code into subroutine
685 so that it can be called multiple times.
687 - Eliminate getpass() for Win32 builds in console as the
688 function does not exist.
690 - Correct some reservation problems in SD when no devices
692 - Start removing #ifdef HAVE_TLS by sneaky tricks.
693 - Begin implementation of TLS in wx-console
694 - Remove ignoring SIGCHLD from console.
695 - Rework the dlist binary search routines for implemenation
696 of the Volume reservation code -- make it more general.
697 - Strip double slashes // from Win32 filenames in an attempt
698 to resolve restore problems on some systems.
699 - Fix a minor bugs in the trace code that caused the first
700 line output to be lost.
701 - Implement a good first cut at adding Volume reservation code
702 to the storage daemon (in file reserve.c).
703 - Remove old unused code from the tree.c routines.
707 - Fix compile problems on Win32
708 - Start writing Volume reservation list (already exists, but
709 is not really very good).
710 - Implement attribute caching to put Signature into database
711 at the same time as the file attributes thus eliminating a
712 number of database accesses.
713 - Correct a reservation problem.
714 - Implement full Dir Storage use.
715 - Reduce a bit of TLS #ifdeffing.
721 - Add more documentation to mtx-changer.in
722 - Correct link to manual in authenticate.c in various
724 - Create a new src/stored/reserve.c file where the
725 Use Storage command is processed and drives are
727 - Modify src/stored/autochanger.c to keep track of each
728 Slot that is loaded for each device.
729 - Ensure that changer_command and changer_name are picked
730 up from Autochanger resource if not specified, and if
731 neither is specified, err.
733 - Fix bextract.c compile problem
735 - Make make distclean clean a bit better
737 - Remove old code in jcr.c
738 - Make testls release jcr chain when terminating.
740 - Implement Maximum Job Spool Size (actually DCR based)
742 - Use light weight non-recursive locking on jcr chain.
743 - Make JCR a class and implement inc_use_count() and
744 dec_use_count() methods that ensure that the jcr is
745 locked when inc/dec the use count.
746 - Remove the global jcr lock when traversing the jcr
748 - Use dlist to implement the jcr chain rather than hand
749 crafted next and prev links.
750 - Lock the jcr chain inside each function that modifies
755 - Fix compile problem of ua_restore.c on broken compilers.
756 - Apply patch from bug 326 to permit bacula status by any user.
757 - Fix bug 325 -- conversion of 12:30pm to 24hour time.
759 - Put Dmsg() on inside if() to avoid calling subroutine.
760 - Make restore.bsr have unique name.
761 - Allow user to define bsr filename on restore command line
762 with bootstrap=xxx.bsr
763 - Add limit=nnn to "list jobs" command.
764 - Remove old restore code that did not use .bsr file.
765 - unlink automatically generated bsr file.
766 - Cleanup heartbeat code so that duped fd is almost sure
767 to be released. Previously under certain conditions, the
768 memory was not released due to race conditions.
771 - Unify the reserve_device() for a single device into one subroutine.
773 - Modify wait during use_device to happen only after all devices
774 have been examined rather than in the reserve_device code.
775 - Correct updating count of number of Volumes in a pool.
779 - Add more debug to SD for Autochangers + status output.
780 - Add Scratch to PoolType in PostgreSQL make...tables and do not
781 permit NULL PoolTypes. Fix for bug 319 reported by Eric.
783 - Add quotes around filename in parse_config error message. Bug
786 - Change nested \include to \input so that sections are properly
787 included in the pdf manual -- update the Web site.
788 - Set reconnect flag in MySQL packet to 1 to ensure that connection
789 is re-established. MySQL 5 changed default to 0. Fixes bug report.
790 - Fix Scratch pool handling as reported in a bug by Eric Bollengier
791 by applying his patch.
792 - Remove delete job in favor of delete jobid.
793 - Add = NULL to configfile definitions as reported by Eric in a bug
795 - Update winbacula.nsi.in to reflect new manual file structure.
797 - Correct a minor build problem with wx-console.
798 - Add cancel() to Dir Python scripting.
799 - Re-correct bug in parse-config error handling.
800 - Reorganization of use_command in SD to permit
801 waiting and multiple drive autochanger support.
803 - Correct bug in parse_config error handling.
804 - Where ever possible mark a volume in error or not
806 - Fix bug in changing tape pools after first backup. Reported
808 - Enhance mtx-changer to use Working Directory as temp.
809 - Remove all but initial setup locking of Res in SD.
811 - Add Client OS type to Job report.
812 - Add version to manual
813 - Update the Web site to have a single page for
814 the documentation links.
816 Changes to 1.37.18 release 08May05:
818 - Correct attribute definition compile error in 1.37.17
819 - Correct inverted order of CreateTime and MD5 pointed out
820 by a user in a bug report in FileSet db routine causing
821 the MD5 to print in the output instead of the time/date.
825 - Implement cstrlen() in sql list routines.
826 - Implement caching of attributes to add the
827 signature so that only one DB call will be made
828 per file. Not yet turned on.
829 - Fix Win32 build for TLS.
830 - Optimize File pruning to eliminate one database call.
831 - Fix bug that prevented File pruning from working.
832 - Implement a cstrlen() which returns the character
833 length of a UTF-8 string.
835 - Move test for MaxStartDelay as suggested by Peter.
836 - Implement Python methods (I had to read the Python source
838 - Implement run() method in Director.
839 - Add Priority and Scheduled time to Job report.
840 - Add JobInit and JobRun events.
841 - Add Priority as Python read/write attribute to Job.
842 - Correct typo in bsmtp reported by Jo.
844 Changes to 1.37.16 (07May05): released 07May05
846 - Implement cstrlen() in sql list routines.
847 - Implement caching of attributes to add the
848 signature so that only one DB call will be made
849 per file. Not yet turned on.
850 - Fix Win32 build for TLS.
851 - Optimize File pruning to eliminate one database call.
852 - Fix bug that prevented File pruning from working.
853 - Implement a cstrlen() which returns the character
854 length of a UTF-8 string.
856 - Move test for MaxStartDelay as suggested by Peter.
857 - Implement Python methods (I had to read the Python source
859 - Implement run() method in Director.
860 - Add Priority and Scheduled time to Job report.
861 - Add JobInit and JobRun events.
862 - Add Priority as Python read/write attribute to Job.
863 - Correct typo in bsmtp reported by Jo.
865 Changes to 1.37.16 (03May05): released 05May05
867 - Make a few tls ifdef tweaks.
868 - Fix create_file.c Win32 problem pointed out by
870 - Fix really ugly bstrncpy() but found by Thorsten.
871 - Move winapi.h/c from findlib to lib for inclusion in
874 - Thorsten Engel finished his work on Win32 Unicode. We
875 now have a single executable that runs on all Win32 machines.
876 - Move job initialization code after job scheduling so that
877 Verify jobs check for the prior JobId after they are really
878 started rather than before.
879 - Fix lib/fnmatch.c so that it does proper testing before folding.
880 - More documentation -- at tls and ansi labels chapters.
881 - Fix fileset_convert.pl to handle empty Exclude statements.
882 - Turn regex back off in Win32
884 - Fix sign extension problem in lex.c that reads UTF-8
885 with Chinese characters incorrectly.
889 - Remove a few HAVE_TLS #ifdefs
890 - Implement final Python style interface. More implemention to
891 be done, but the interface should change little if at all.
893 - Make default no tls support. You must add
894 --with-openssl to get tls support.
896 - Update Web header to include google search in the search
897 box -- thanks to input from Michel Meyers.
898 - Fix md5sum so that it builds with the new openssl stuff.
899 - Take some enhancements to the md5sum test program proposed
902 - Apply Tru64 patch supplied by Pascal Pederiva <freebsd@paped.com>
903 - Apply Unicode fixes for Win32 from "Thorsten Engel"
904 <thorsten.engel@matrix-computer.com>
905 - More work on Python read feature in FD.
907 - Fix (hopefully) the ftello() overflow reported by Peter.
908 - Landon Fuller committed his TLS patch.
909 - Fixed two minor warnings in console.c with TLS turned off.
910 - Updated the Makefile.in for wx-windows and tray-monitor
911 to handle TLS. I can only build the tray-monitor.
912 - Fix bscan to open tape in read-only mode (actually fix
913 it so that it doesn't use the standard open routine).
914 - Correct what appears to be an error in setting the
915 return value in dvd.c
917 - Get FD Python running -- design Python backup interface.
918 - Fix seg fault in SD when referencing Alert Command.
919 - More documentation.
920 - Fix one more thing in Win32 build.
924 - Put in production here
928 - Fix SQLite and PostgreSQL table creation script syntax
930 - Fix new Python code to work for Director.
931 - Move lib/python.c to lib/pythonlib.c so that debug output
932 is easier to read (can distinguish lib from dird, ...).
933 - Cleanup Python build so that Python is not dragged
934 into programs that don't use it.
938 - Reset NumVols in Pool record from database on every update
940 - Modify DB to support multiple simultaneous copies and
942 - Pass copy and stripe between DIR and SD and put into
943 the JobMedia DB record.
944 - Update and test SQLite and MySQL datebase creation and
946 - Implement version 9 of the DB.
948 - Convert more atoi to str_to_int64() for DB.
949 - Implement filling in NumVols by querying DB rather
950 than trying to keep track of it.
951 - Add storage name to string passed to in use storage=
952 - Fix newVolume() so that the Python script is always
954 - Fix handling of pool,PoolId, and storage in ua_output.
955 - Same fix in ua_status.c
956 - Remove required locking of resources
957 - Replace pthread_cond_signal() by pthread_cond_broadcast()
958 hoping to fix the /lib/tls hang problems (lost signal).
959 - Move resource locking seaching from parse_conf.c to res.c
961 - Modify end of volume handling so that fixup_... does not
962 redo what block.c has already done -- writing Vol info to
963 DIR. This fixes a bug with bad numbers of files on a tape
964 when it filled as reported by Peter.
965 - In release_device() do not update the DIR on the Volume
966 info if the the information was already written at the
969 - NOTE!!!! This version has a new DIR <--> SD protocol. Both
970 must be updated at the same time.
971 - Begin implementation of passing all the Storage and Device
972 possibilities to the SD for examination during the reserve
974 - Modify the reserve and acquire code in the SD to make a
975 job wait if the device is not available.
976 - Implement New Volume Each Job in DIR and pass to SD, not yet
978 - Remove init/update of the Device resource in DIR
979 - Remove passing PoolId to SD and back.
981 - Remove \a and -e from error echos in most Makefiles.
982 - Add more debug code when there are errors on the tape
983 to try to find Peter's tape problem.
984 - Add wait.c (oops forgot previously).
985 - Move all the reserve/acquire_device_for_read/append to have
986 only a DCR as the argument.
987 - Rework the reserve_device_for_append() in stored to wait
988 if the drive is not available. Note! This is a short
991 - Comment out Multiple Connections in the document.
992 - Move the P() and V() to subroutines so that they can be accessed
993 from class methods. The reference to strerror() caused problems.
994 - Implement new DEVICE class methods block() and unblock() that
995 do what was previously done in 3 lines of code.
996 - Implement wait_for_device(), which will wait for any device
997 to be released then return. This requires a new global mutex
998 and condition variable, and is implemented in src/stored/wait.c
999 - Change the code in reserve_device_for_read(), which previously
1000 failed the job to use the new device wait code.
1002 - Apply reschedule patch to 1.37 code.
1003 - Add copyright to title page of manual so it is clear.
1004 - Create patch for rescheduling problem found by Ludovic. Storage
1005 pointers were lost during rescheduling.
1006 - Attempt to fix 2.6 rescue disk -- failed!
1007 - Start working on adding a wait routine in the SD.
1008 - Cleanup some old invalid doc in watchdog.
1009 - Convert a number of references to dev->dev_name to dev->print_name().
1010 - Add new wait.c file to SD.
1011 - Add a few more methods to DEVICE in SD to cleanup code a
1012 bit -- implement a few of the methods.
1014 - Fix more print_name()s for printing device name.
1015 - Modify open_dev to try 10 times every 6 seconds to
1016 open the device if it gets an I/O error (meaning no
1017 volume mounted). This gives a bit of settling in time
1018 for an autochanger and avoids spurious messages.
1019 - Change all yes/no to yes|no in the manual.
1020 - Fix win32 create_file.c typo.
1021 - Fix a typo in an error message.
1023 - Detect if fseeko exists with autoconf. If so, use it
1025 - Remove old bacula-*.conf from examples directory (out
1027 - Remove latex-fr index files from CVS.
1028 - Rewrite code that stops reading the tape so that the
1029 tape is marked at EOT, then once the work is done,
1030 the EOT flag is removed.
1031 - Flush output to file after every send in console.
1032 - Make setting VolFiles to smaller number fatal.
1033 - Disable Multiple Connections code.
1034 - Add patch from user for NetBSD statvsfs() fix to
1036 - Take more care with errors in acquire.c
1037 - Don't run through dvd code in append.c if bad status
1039 - Modify code so that an autochanger fault is fatal.
1040 - Use dev->print_name() in more places.
1041 - Implement dev->can_steal_lock() to simplify code.
1042 - Make btape re-read first 10000 records on fill command.
1043 - Check error return and fail job from fseeko and ftello
1044 in spool.c. Don't let a -1 slip in as size.
1048 - Apply NetBSD patch from kardel in bug 258.
1050 - Add a second job and a second client to the default
1051 bacula-dir.conf file.
1052 - Remove old style Include/Excludes.
1053 - Fix ANSI labels to put EOF1 and EOF2 after each file mark.
1054 - Add Python to SD and FD.
1056 - Implement IBM labels
1057 - Implement EOF and EOV labels at the end of a volume.
1058 - Fix a rather ugly problem with the PoolId not getting
1059 passed correctly. Now the DIR passes the Pool name and
1060 Media Type to the SD, who passes them back when requesting
1061 the next Volume. The DIR then looks up the correct PoolId.
1062 This takes more time, but always works, AND allows wild
1063 card Media Types (i.e. the SD can decide).
1064 - The DIR <==> SD protocol has changed.
1068 - Fix scanf of PoolId in catreq to handle 64 bit Ids.
1070 - Add new ua_update.c file and move update_cmd there.
1071 - Modify "update slots" to obtain actual number of slots.
1072 - Tweak autochanger code to handle new slots request.
1073 - Modify autochanger code to lock/unlock around slots and
1076 - Patch the FD so that it does not issue an error message if
1077 it attempts to restore the permissions on a Win32 drive.
1078 - Edit "Resource-name" (physical-name) for the device name
1079 everywhere in the SD.
1080 - Remove .linked.tex files in preparation for cutover to
1081 using .tex in place of .wml.
1083 - Copy latest config.sub and config.guess from autoconf.
1084 - Try new way of identifying drives with:
1085 "resource-name" (physical-name)
1086 More work need to a complete conversion.
1088 - Rework some of the autochanger data so that the DIR has
1089 the number of drives.
1090 - Modify the way the Device info is returned so that it comes
1091 back as a special message type and can be sent anytime the
1092 Device status changes.
1093 - Copy the change name and changer command into the device
1094 record if none is specified.
1095 - Require the change command and changer name to be specified in
1096 and AutoChanger resource.
1097 - Force all the Media Type records of all devices in an Autochanger
1100 - Add new "run" command to Job resource in DIR. This permits
1101 cloning a job as many times as you want.
1102 - Pass PoolId to SD on Query request. It is now used in the
1103 Find_media catalog request.
1104 - Reworked the Device resource in the DIR. Eliminated num_waiting
1105 and use_count, but added max_writers, reserved, and PoolId.
1106 - This DIR is nolonger compatible with previous SDs.
1107 - Add since and cloned keywords to the Console run command
1109 - Implemented store_alist_str() to allow multiple string items
1110 to be specified in a .conf file.
1111 - Added %s (since time) to Job code editing.
1112 - Reworked reserving drives in the SD. It now does it much simpler
1115 - Integrate HP-UX patch from Olivier Mehani <olivier.mehani@linbox.com>
1116 - Fix FD job.c to test correctly for no level.
1120 - Change Developers to Developer's Guide as requested by Michael.
1121 - Fix developers link in manual
1122 - Add additional dcr changes in SD to allow multiple dcrs.
1124 - Fix a few problems with the MySQL table create in 1.37.
1125 - Delete the new tables in the table delete files.
1126 - Increase the number of items permitted in a conf table.
1127 - Make Director loop over alternative Devices specified in the
1128 Storage resource until one is reserved by SD.
1129 - Fix storing of StorageId in Media records.
1130 - Add AutoSelect = yes|no in bacula-sd.conf
1131 - Add Autochanger support to Label command.
1132 - Do not autoselect devices with autoselect set false
1134 - Implement setting DIR Storage device to Autochanger
1136 - Select first available device in Autochanger.
1137 - Pass back actual device name used.
1138 - Allow Query of AutoChanger.
1139 - Modify Query to include name of AutoChanger if
1140 Device belongs to one.
1141 - Remove old Pool code in jobq.c
1142 - Add Autoselect flag to query and DEVICE class (still
1145 - Lock autochanger script when running.
1146 - Mark Volume not InChanger if correct volume is not
1148 - Corrected some typos in the make_xxx_tables.in files.
1149 - Made preliminary split of pre-run and run code for each
1150 job type. This will permit early opening of SD for reserving
1152 - Add offline and autochanger fields to Device Query record.
1153 - Correct pthread_mutex_init() for autochanger in SD.
1154 - Tweak Makefile for LaTeX manual, plus add nav buttons.
1156 - Clean up drive reservation system. Add more sanity checks.
1157 - Implement a few more methods for the DEVICE class in SD.
1158 - Add latex directories to make clean
1159 - move DEV_BSIZE to B_DEV_BSIZE to avoid conflicts with
1160 certain header files (FreeBSD).
1162 - Fix an ASSERT that was triggering in stored/acquire.c
1163 attempt to fix a bug report.
1165 - Corrected SunOs to SunOS in btraceback (user submitted).
1166 - Applied patch from Roger Haa¥kansson <hson@ludd.luth.se>
1167 to warn the user of defective AWKs during ./configure.
1169 - Add some changes submitted by a user for HP client build.
1170 Not all changes accepted.
1171 - Rework code in filed/backup.c to ease #ifdefing and make
1172 program flow more obvious.
1173 - Split DVD code out of dev.c into dvd.c
1174 - Tweak #ifdefing to add back all the performance measurement
1175 #defines in version.h
1176 - Put most of MTIOCGET code in a subroutine to simplify the
1178 - Make clean remove old CVS files
1179 - Remove unnecessary image files from Latex directory
1180 - Implement remaining parts of Storage DB record and
1181 its use in the Director.
1183 FullMaxWaitTime, Differential Max Wait Time, and
1184 Incremental Max Wait time in Job resource.
1185 - Start work on SD Autochanger code.
1187 - Add back JobId index for MySQL as default -- speeds up
1189 - Add more database fields and fix the update scripts to
1190 include the new items.
1191 - Pass actual level to FD so that ClientRun editing can reflect
1192 correct level -- ditto for job status. This makes the DIR
1193 incompatible with older clients!
1194 - Move jobq.c acquire resources to static subroutine so that
1195 the code logic becomes clearer. This is in preparation for
1196 actually using the new Device resources.
1197 - Fix some lower case problems in sql_cmds.c reported by
1199 - Correct a seg fault in the SD reported by a user. Occurred
1200 only when a high debug level was set.
1201 - Modify init_dev() in dev.c to take JCR as first arg so that
1202 proper error messages can be reported in next item.
1203 - Modify the query and use device SD commands to attempt to
1204 open the device if it could not previously be opened.
1205 - Correct error message for Could not reserve device.
1206 - Correct some minor details with Autochanger resource in SD.
1208 - Fix seg fault if debug level 900 set in SD.
1209 - Truncate Win32 child return code to 8 bits.
1210 - Remove some old lld's.
1214 - Make another attempt at fixing the ClientRunXXX return code
1215 bug on Win32 machines.
1216 - Apply ua_status patch from Carsten Paeth <calle@calle.in-berlin.de>
1217 which enforces console ACLs in the status command for Jobs.
1219 - Fix Media LabelDate and FirstWritten to be correctly set.
1220 - Fix deadlock in multiple simultaneous jobs.
1221 - Fix tape "truncation"/"number of files" after restore bug.
1223 - Ensure that correct error messages are returned when
1224 reading an ANSI label.
1226 - Modified ANSI label code to preserve any ANSI label
1227 already found by skipping over it rather than rewriting
1229 - Split the ANSI label code into ansi_label.c
1230 - Do not let user relabel an ANSI labeled tape.
1231 - Applied a patch for the console help command supplied
1233 - Added some new dev methods. Most notably was
1234 set_eof(), which handles setting all the dev variables
1235 when an EOF is just read. This is now used most everywhere
1238 - Added code to detect that no files were inserted into the
1239 tree for a restore. If a specific JobId was specified, the
1240 user has the option of restoring everything.
1241 - More progress in implementing 64 bit DB Ids.
1242 - Modified the daemon start messages for RH.
1243 - Implement update scripts for all database types.
1244 - First cut at implementing restore directory (it will not
1247 - OK, I think ANSI labels work.
1248 - Added Label Type = ANSI|IBM|Bacula to Device resource in SD.
1249 If this is set, it will force writing of the appropriate
1251 - Added Check Labels = yes|no to Device resource in SD. If this
1252 is set, Bacula will check for ANSI labels and accept them,
1253 otherwise, ANSI labels will not be accepted when the tape
1256 - Second cut ANSI labels.
1258 - Merge Preben's patch for ACLs and for Mac OS X resource forks.
1260 - Display more informative message when a device was not
1261 found or could not be opened.
1262 - Add the sqlite3 database scripts.
1263 - Add some patches for 1.36.1 (note, I have now prepared
1264 a 1.36.2 with all the patches and some new features --
1266 - Some minor doc updates.
1267 - Add Arno's baculareport.pl script to the examples directory.
1268 29Jan05 -- after vacation
1269 - Add support for SQLite3 (it seems to run at 1/2 the speed
1270 of SQLite2). Use --with-sqlite3 instead of --with-sqlite
1272 - Add target for running qemu to boot Rescue CDROM
1273 - Add code to support kernel 2.6 in Rescue CDROM -- does NOT yet
1275 - Implement ANSI labels -- not yet tested.
1276 This required changes to DB format. No upgrade script yet.
1277 Note, more work needed to modify "update" command to handle
1278 changing label types, also must restrict volume name lengths
1280 - Add new Device, Storage, and MediaType records to DB. No
1282 - Add MediaType to bsr file record types. Not yet used in SD.
1283 - Permit multiple device specifications in Storage resource in
1285 - Implement Device resources. Director requests Device resource
1286 info from SD on startup.
1287 - Note!!!! DIR->SD incompatible with previous versions.
1288 - Remove multiple Storage definitions in Job resource. One can
1289 still specify multiple Storage resources, but they all go into
1290 a single alist, and imply sending data to each Storage daemon
1292 - Implement Device query command between DIR and SD.
1293 - Allow DIR to "reserve" a Device. It will then be acquired
1294 when the FD connects to the SD.
1295 - Turn all DIR resources into classes, and implement a few class
1296 methods -- more to come.
1297 - Turn DEVICE in SD into a class, and implement a number of inline
1298 class methods -- more to come.
1299 - I had serious problems with ACL errors on my Laptop, and so had
1300 to add the following patch:
1303 /***** Do we really want to silently ignore errors from acl_get_file
1304 and acl_to_text? *****/
1308 - Added edit_int64()
1309 - Reworked and tested a bit the htable routines.
1310 - Major changes to SD acquire.c -- DIR can now reserve devices. Needs
1312 - Made a special state code for DVD -- this simplifies the logic
1313 of the code, but I probably broke it. Testing needed!!!!
1314 - Add AutoChanger resource to SD, but not yet used.
1318 - Integrate Preben 'Peppe' Guldberg <peppe@wielders.org>'s
1319 acl patch. Fix case where configured but no ACL exists.
1320 Rework calling arguments to be shorter and positioned
1321 more typically in Bacula usage.
1323 - Fix scripts/bacula.in to have awk on an environment variable
1324 and add comments for Solaris users.
1325 - Turn off inet_aton in src/lib/address_conf.c for Win32
1326 - Add new files to win32 build and eliminate a compiler warning.
1327 - Add sample DVD Device resource to bacula-sd.conf
1329 - Integrate Nicolas' patch for direct DVD support.
1331 - Fix fstype error returns.
1332 - Apply Preben's cleanup.patch which puts back much of the
1333 cleanup code in src/filed/restore.c
1335 - Apply all of Preben's patches, but revert to old backup.c
1336 and old restore.c in filed. Also turn off code in new
1337 acl.c because of errors. The new code, when fully implemented
1338 moves platform specific code into acl.c.
1339 One of the patches also implements WildFile and WildDir -- thanks.
1341 - Implement Python in the SD (no events yet though).
1342 - Fix some typos in the previous commit.
1344 - Enhance CDROM boot to include some documentation at boot time.
1345 - NOTE!!!!! The CDROM will not boot 2.6 kernels because the
1346 boot sequence has changed significantly. Updates to come
1348 - Add memtest option to CDROM boot.
1349 - Include Nicolas' changes to fix llist JobMedia records.
1350 - Make sure that ClientRunBefore/After messages from the program
1351 are terminated with a newline. Add strerror to output error
1353 - Return program exit status code in Win32.
1355 - Add memtest86 to Bacula Rescue disk
1356 - Enhance Rescue disk startup screen
1358 - Move some variables to eliminate Solaris 2.6 compiler warnings.
1359 - Fix the seg fault at the end of a job in the FD when using
1360 old style include/excludes.
1362 - Apply Preben's ACL patch.
1363 - Integrate Preben's restore patch.
1364 - Integrate Preben's verify teaks.
1365 - Fix doc/latex/Makefile to copy/remove .eps files when building
1366 html and web outputs.
1368 - Fix Bacula so that it does not exit if there is a syntax error
1369 in its conf file during a reload command. Bug 182.
1370 - Apply fixes suggested for old Solaris networking.
1372 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
1373 three patches that clean up white space:
1374 ws.patch.02.strings:
1375 Breaks strings that span lines into concatenated strings. I am not sure
1376 if you like this one. Other code works with concatenated strings, though.
1377 ws.patch.03.trailing:
1378 This removes trailing whitespace. No changes resulted from this for
1380 ws.patch.04.leading:
1381 This replaces space runs at the start of line with tabs. No changes
1383 - Fix overriding storage specification to be done
1384 through a subroutine.
1385 - Fix autoconf so it runs with FC3.
1386 - Add Python4.3 to configure search paths.
1387 - Always copy and delete storage definitions into jcr.
1388 - Check that VolumeName supplied by Python is valid.
1391 - Fix undefined in non-Python build.
1392 - Update rescue disk to include mkinitrd
1393 - Fix umount_drives in rescue disk (only one arg to umount)
1394 - Ensure that if SD is manually set in Console, it is used.
1395 - Put generate_event on pointer and plug it in init. This
1396 permits using it in /lib
1397 - Correct despooling size reported to be Job specific rather
1398 than for the whole drive.
1400 - Fix bug 207. jcr use count off by one when manually
1402 - Remove FNMATCH test in configure.in and always use
1403 the one in our library to get the FN_CASEFOLD GNU
1404 extensions on all platforms.
1405 - While using the rescue CDROM after my computer would not
1406 boot, I realized that it would be very useful to have
1407 a umount_disks. So, it is not implemented, along with
1408 updates to the READMEs and some minor tweaks.
1409 - Moved mounting the CDROM in the rescue boot from /cdrom
1410 to /mnt/cdrom (more standard location).
1411 - Reboot in CDROM rescue should now work -- requires -d
1412 option (no write) to work.
1413 - Hopefully fixed all the IPV6/4 problems and buffer
1414 problems with networking in lib. Bugs 190 and 204.
1415 Cleaned up a lot of #ifdefing problems by using routines
1418 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
1420 - Remove duplicate code from chksum.h (mentioned by Preben).
1422 - Integrate Tim Oberfoell <oberfoell@web.de> patch to ACLs
1423 to handle both the "standard" and "default" ACLs.
1425 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1426 three cleanup patches (btest, verify, find).
1427 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1428 three cleanup patches (backup, chksum, and verify)
1430 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1431 patch to avoid doing MTIOCGET on OSes that do not support
1433 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1434 patch to add filesystem type matching to FileSets in the
1436 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1437 patch to add Mac OSX resource fork support (save/restore)
1438 to Bacula -- HFS Plus support.
1439 - Add FileSet to client Job listing query.
1441 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1442 patch to backup directories skipped (due to no file system
1443 changes or no recursion), and to add a slash to the end
1444 of the directory name during the match process.
1445 - Implement Jamie ffolliott <jamieff@inline.net>
1446 patch to dird_conf.c that enables Multiple Connections and
1447 fixes a typo in show. The rest of his patch awaits my suggested
1450 - Implement run command in Python
1452 - Implement conversion of the manual, and some minor
1453 tweaks to the script tags.
1454 - Apply a patch supplied by Preben 'Peppe' Guldberg that implements
1455 ignore case in wild cards and regexes.
1456 - Fix a truncated line in the above patch due to my cut and paste.
1458 - Fix it so that the InChanger flag is only changed for Volumes
1460 - Add PIDOF configuration path and apply to bacula.in
1461 - Add user supplied patch to add inet_aton() of old Solaris
1463 - Require pools to match before allowing multiple simultaneous
1464 accesses to same storage resource.
1465 - Add patch supplied by Martin to correct buffer overrun in
1466 bsnprintf() with no library snprintf().
1468 - Apply user supplied patch that implements No Hard Links.
1469 - Document Python interface
1470 - Add hardlink keyword patch supplied by David R Bosso <dbosso@lsit.ucsb.edu>
1472 - Fix non-python prototypes in dummy routines.
1473 - Add python 2.3 to config search list (user submitted patch)
1474 - Add JobStatus to Python variables.
1476 - Add "python restart" command in Console.
1477 - Make built-in variables table driven.
1478 - First cut of Python Events for Bacula. Director only.
1479 StartJob, EndJob, NewVolume events.
1482 Technical notes on version 1.37
1489 - dvd.c: update VolParts when writing the last part.
1491 - configure: add check for dd, remove check for df
1492 - block.c:do_dvd_size_checks: Check we are writing to a dvd before doing tests
1493 (reported by David Raine on the list, "[Bacula-users] LTO drive - End Of Volume error").
1494 - Update bacula-sd.conf.in to use dvd-handler correctly.
1495 - dvd.c:dvd_write_part: Increase timeout when writing the first part (see the code for
1498 - Modify .backups command to get a fileset parameter (fix bug #444).
1500 - Fix bug when recycling DVD devices (append flag was removed).
1501 - Add tests for dvd+rw-format in configure script.
1502 - scripts/dvd-handler: Reformat DVD-RW when needed. This needs dvd+rw-format.
1503 - Add patch for dvd+rw-tools in patches dir (this should probably be elsewhere).
1505 - Remove scripts/dvd-freespace and scripts/dvd-writepart, as they are now
1506 merged into scripts/dvd-handler. Note: Documentation needs to be updated.
1507 - scripts/dvd-handler: "zero" brand-new DVD+/-RW to fix a problem with some
1508 DVD-writers, thanks to Arno Lehmann for reporting this, and providing the
1510 - new scripts/dvd-handler. Note: it also needs a patched version of dvd+rw-tools.
1511 - new scripts/dvd-freespace. Note: it needs a patched version of dvd+rw-tools.
1512 - dvd.c:dvd_write_part: Don't write empty part. (Fix 4GB crossing bug reported by Arno Lehmann)
1514 - dvd.c:dvd_write_part: Use part_size and not max_part_size when setting write timeout.
1515 - dvd.c:do_mount_dev: When checking if the DVD is mounted, do not count ., .. and .keep (needed on Gentoo).
1517 - Convert dvd-writepart to Python.
1518 - Increase delay from 3 seconds to 5 seconds between SIGTERM and SIGKILL when
1519 killing external programs.
1521 - Add gettext macros in autoconf/gettext-macros.
1522 - Modify how localedir is set in configure.in.
1523 - Remove setlocale check (useless).
1525 - Mark translatable strings in all source files.
1527 - Create French and Italian translation files (fr.po, it.po).
1528 - Add support for translation in configure and Makefiles.
1529 - Update autoconf/aclocal.m4 so it is automatically created with aclocal
1530 (Note: autoconf/gnome-macros is not used anymore, it may be removed).
1532 - Fix src/lib/bpipe.c:run_program and run_program_full_output to detect if the watchdog
1533 killed the program, and return an error if it is the case.
1535 - Modify parse_config to get a LEX_ERROR_HANDLER as a parameter
1536 - lex_open_file now returns NULL if the file can't be opened. All calling functions have
1538 - Remove set_exit_on_error function
1540 - Fix "unknown device type" problem with DVD devices.
1541 - Fix crash when there is no media in the DVD drive.
1543 - Update the documentation and ReleaseNotes.
1545 - Add FreeSpaceCommand in Device (SD configuration file) and implement it.
1546 - Some modifications (again) on how guessed volume names are handled (now it should work).
1547 - Part files on the hard disk are removed if they are empty.
1549 - Major fixes on how guessed volume names are handled.
1550 - Minor fix in src/stored/append.c.
1551 - Replace, when possible, POOLMEM by POOL_MEM in the new code of src/stored/dev.c.
1552 - New script, scripts/dvd-freespace, which gets the free space available on a writable DVD.
1554 - Add WritePartAfterJob directive in Job resource (Director)
1555 - Add WritePartAfterJob directive in Schedule Resource (Director)
1556 - Implement these new directives
1558 - New function, open_guess_name_dev in src/stored/dev.c, which tries to guess the volume
1559 name of a mounted device, so the label can be read.
1560 - New script, scripts/dvd-writepart, which write parts to DVD+/-R(W).
1561 - Removed WriteFirstPartCommand directive in Device (SD configuration file).
1562 - Use readdir_r instead of readdir (src/stored/dev.c:open_guess_name_dev).
1564 - Add RequiresMount, MountPoint, MountCommand, UnmountCommand directives in Device (SD configuration file).
1565 - Implement these directives (volumes can now be restored from a manually written DVD).
1566 - Add WriteFirstPartCommand, WritePartCommand directives in Device (SD configuration file).
1567 - Implement these directives (DVD writing now works).
1568 - New function run_program_full_output in src/lib/bpipe.c.
1569 - Lots of bugfixes and cleanups in the new code.
1571 - Add VolParts field in Media table
1572 - Add MaximumPartSize directive in Device (SD configuration file)
1573 - File Volumes can now be splitted in multiple files ("parts")
1574 - Fix SQL error in sql_list while doing "llist jobmedia"