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