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