5 - Add OPENSSL_INC to console dependencies, lib dependencies, and
6 wx-console dependencies in Makefile.in
7 - Add OPENSSL INC/LIB to gnome2_console Makefile.in.
8 - Simplify code in askdir.c that waits for creating an appendable
9 volume so that it can handle multiple returns from the wait
11 - Modify the wait code to permit multiple returns.
12 - Return a zero when "autochanger drives" is called and
13 it is not an autochanger.
14 - Make rewind_dev() a method taking a DCR as an argument.
15 This permits closing and reopening the drive if the
16 rewind fails as happens if the drive was loaded while the
17 file descriptor was open. This refreshes the file descriptor.
18 - Remove the ST_OPENED flag and always rely on fd < 0 for knowing
19 if the device is open or not. This should eliminate
21 - Return error if reserve cannot find at least one suitable device.
22 - Make wait_for_sysop() return correct state information.
23 - Fix Win32 state file problem. write was not using compat
24 code. This should fix bug #500.
26 - Modify gui on command to set only GUI mode and not batch.
27 - Modify .messages command to always print messages regardless
29 - If GUI mode is on, suppress automatic printing of
31 - Delete old bnet packet code.
32 - Ignore new BNET_START_SELECT and BNET_END_SELECT signals in
34 - Modify restore command in wx-console to set gui on and to use
35 only .messages instead of messages. Hopefully this fixes bug
39 - Fix seg fault in exit of acquire when canceling a job --
40 reported by Wolfgang Denk
42 - Implement load balancing code.
43 - Pull a few files from 1.39 where we can maintain compatibility.
44 - Rewrite reservation algorithm again. Rename variables to be
45 more logical, add HEARTBEAT with Director, allow cancel of
46 jobs stuck in reservation, add last resourt any_drive.
48 - Remove quotes from Version table name -- it breaks things.
49 - Fix seg fault if user labels a drive directly bug #513
50 - Remove quotes around Version as it breaks things.
52 - Merge in Aleksandar Milivojevic's mods to the spec file.
53 - Apply sparse code fix for raw drives and fifos. Bug 506
54 - Thorsten fixed Unicode cd problem with wx-console bug 505.
56 - Correct reservation system to do a last ditch try
57 for any mounted volume, then anyone anywhere.
58 - Add quotes around table Version because of
59 error in MySQL 4.1.15 -- bug report submitted.
60 - Correct some minor problems with btape in the fill
62 - Updates to ssh-tunnel from Joshua Kugler.
63 - Added a report.pl program from Jonas Bjorklund.
64 - Simplify the O_NONBLOCK open() code for tape drives,
65 and always open nonblocking.
66 - Do not wait for open() if EIO returned (shouldn't happen).
67 - Eliminate 3 argument to tape open().
68 - Correct the slot # edited in the 3995 Bad autochanger unload
70 - With -S on bscan (show progress) do not divide by zero.
72 - Make cancel pthread_cond_signal() pthread_cond_broadcast().
73 - When dcr is freed, also broadcast dev->wait_next_vol signal.
74 - Remove unused code in wait_for_device.
75 - Make wait_for_device() always return after 120 seconds of wait.
77 - Use localhost if no network configured
79 - Eliminated duplicate MaxVolBytes in cat update -- bug 509.
81 - Add bail_out in error during state file reading.
83 - Merge updates into 1.38 branch
84 - Update specs to include mysql4 define.
85 - Stop read_record() if status not ok in second loop.
86 - Return rec->FileIndex in dcr->VolLastIndex for normal
87 and partial records in read_record(). This allows bscan
88 to get FileIndex at EOT correct.
89 - Fix butil.c to correctly set dcr -- fixes seg fault in bls.
91 - Apply patch supplied by user (slightly modified) to fix
92 correct detection of holes in block devices and FIFOs.
94 - Apply patch supplied by user (slightly modified)
95 to fix SD hang with multiple pools and bad client
98 - Add nagios plugin to the examples directory. Submitted by
100 - Remove warning message about multiple saves of hardlinked files
101 from find_one.c as it can generate too many warning messages.
103 - Reset timeout values before select() per patch from
104 Frank Sweetser for problems with non-blocking sockets.
105 - Unlink the state file if either reading or writing it gets
106 errors. Hopefully this will fix Win32 exit problems.
107 - Add sanity check in append.c to ensure that dcr is not NULL.
108 This can happen if multiple drive autochanger SCSI control
109 channel and drive indicies do not correspond.
111 - Get next volume from Scratch pool before creating a volume.
112 - Set new Pool defaults in Vol when moved from Scratch Pool.
113 - Remove argument from create_bacula_database for SQLite as it
115 - Add back next_vol index code so that two drive autochangers can get
117 - Change a bunch of debug levels to aid debugging autochangers.
118 - Fix reservation so that mutexes are properly applied.
119 - Rework reservation algorithm so that two drives can be used
122 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
123 If this patch is applied, the number of days can be specified with
124 "list nextvol days=xx"
127 My use case is to be able to preview the next scheduled job (and the
128 next tape to be used) on fridays if there are no scheduled jobs during
131 - Fix font code in gnome2 console user patch. Fixes bug #501.
132 - Fix malformatted bnet error message that caused seg fault
134 - Applied user patch to improve README.vc8 in src/win32.
136 - Correct some more editing of JobId's (for 64 bit compatibility).
137 - Ensure that StorageId is stored in Media record when ever possible.
138 - Add Migration Job to Job.
139 - Change Start Storage daemon job to require read and write storage
141 - Pass read storage data to SD as well as write storage data.
142 - Remove old code from winservice.cpp
143 - Break on error in scan.
144 - Fix typo in signal.c
145 - Separate read/write DCR in SD. Add jcr->read_dcr.
146 - Cleanup how find_device() works.
147 - Add read output to Status in SD.
149 - Remove abs() in bfile.c so that it compiles on Solaris. Bug #491.
151 Changes to 1.38.2: 22 November 2005
152 - Fix crash in tray-monitor when daemon disconnects. Bug #479.
153 - Fix bnet-server bug found on OpenBSD. Bug #486
154 - Fix cancel failure bug. Bug #481
155 - Fix failure when Pool name has spaces. Bug #487
156 - Fix SD crash in autochanger code. Mutex failure. Bug #488
157 - Fix a couple of free()s in src/filed/acl.c
158 - Fix memory overrun in bfile.c in building OS X resource
159 fork filename. Bug #489
160 - Add Pool name to SD status output.
161 - Add Python install dir for Solaris to configure. Bug #492
163 Changes to 1.38.1: 15 November 2005
164 - Apply SunOS patch for ACLs submitted by David Duchscher.
165 - Make sure to set storage before trying to set drive.
166 - Add bacula_mail_summary.sh to examples directory. It makes
167 a single email summary of any number of jobs. Submitted
169 - Make sure when we do a mount to unblock the device even
170 if the drive could not be opened.
171 - Merge Scott's new spec files.
172 - Add doc on setting up Win32 environment variable supplied
173 by Kees van den Broek.
174 - Turn off API debug output unless debug set to avoid confusing
176 - Add Solaris ACL detection in configure.in as supplied by
178 - Implement "autochanger drives" protocol so that Dir knows
179 how many drives an autochanger has.
180 - Do not request drive number in label, ... if only one drive.
181 - Turn off debug code.
182 - Fix update slots to clear slot number of every slot before
183 setting it. This fixes (I believe) bug #471
184 - Make unmount unload the autochanger slot.
185 - Modify open() on mount to be read-only and non-blocking,
186 otherwise the mount can block for a long time.
187 - Make a few error message numbers unique.
188 - Make a few error messages more correct.
189 - Apply patch from Thorsten to fix Win98 stat() command.
190 - Remove delete of CVS from all makefiles.
191 - Fix seg fault when clicking on Add button in wx-console
192 restore panel. Bug #470.
193 - Fix copyright date and URL typo -- bug #468.
194 - Change autostart install for FreeBSD to look for rc.conf
195 rather than rc.local as suggested fix for bug #466.
196 - Apply patch supplied by Eric Bollinger to fix PostgreSQL
197 grant on status. Bug #465
198 - Apply patch supplied by Eric Bollinger to fix PostgreSQL
199 update script. Bug #464
200 - Fix off by one for last Slot of autochanger for label.
201 - Update release date.
202 - Tweak an authentication error message in dir.
203 - Fix autoloader so that mutex is set and released around
204 each run_program(). There was a missing set.
205 - Remove an unnecessary drive release in autochanger.
206 - Modify configure.in to add execute option to sqlite3 catalog
208 - Create update_xxx_table_8_to_9 scripts for updatedb
209 - Fix wrong variable in bpipe.c debug output reported by user.
210 - Fix improper placement of encode_and_send_attributes() in
211 FD backup.c causing first file of non-portable Win32 backup
212 to have wrong stream. Reported by Thorsten.
213 - Move the -lcrypt for PostgreSQL after the PostgreSQL libs in
214 autoconf/bacula-macros/db.m4 as suggested by user. Fixes bug #457.
215 - Remove @STATIC_CONS@ from tray-monitor Makefile as suggested
216 by user. Fixes bug #456.
218 Released 1.38.0 (28Oct05): 31 October 2005
222 - Don't overwrite pthreadVCE.dll or msvcr71.dll during Win32
224 - Update README.win32 instructions.
226 - Make db_get_job_record() return Name so that the ACL
227 can be checked. Fixes bug #446
229 - Insure that all the SD tools init the Autochanger
234 - Print error message if no Changer Command found.
235 - Apply fix from Martin Simmons to clear structure before
236 using it in IPADDR -- fixes a bind() bug on AIX.
238 - Add NetBSD fstype patch from Geert Hendrickx <ghen@telenet.be>
239 - Update num_parts only when writing to DVD.
241 - Fix error conditions in bpipe.c DVD routine (terminate buffer).
242 - Use a bigger buffer 32K as suggested by Arno in bpipe.c.
243 - Increase dvd mount timeout with patch from Arno.
244 - Modify DVD code so that it keeps a state flag that indicates
245 when the freespace variable is valid. freespace_errno, now has
246 either 0 or an errno. There are no negative errnos.
247 - Create is_freespace_ok() to test state flag. Also, set_freespace_ok()
248 and clear_freespace_ok(). Modify code to use them. This
249 simplifies a bit the logic of the freespace code.
250 - Edit 64bit debug values correctly in dvd.c
251 - Fix %e variable to check num_parts rather than part.
252 - Use static buffer instead of static buffers for FI_to_ascii()
253 and stream_to_ascii() debug routines in SD. This is to prevent
254 possible race conditions between two threads (possibly Phil's
257 - Add a .dir command that separates arguments with commas. It
258 is intended to be used in the tree routines to get a
259 machine readable output for GUIs like wx-console.
260 - Make configure set dvd-handler to have execute permission.
261 - Install dvd-handler as is done for other dvd-xxx scripts.
262 - In block.c call dvd_write_part() to write last part rather
263 than dvd_open_next_part().
264 - Prefix some DVD subroutines with dvd_
266 - Add extra debug to Update media error for VolFiles decrease
268 - Do not update dev->file on set_ateof() for non-tape.
270 - Mark DVD volume in error if part cannot be written.
271 - If a DVD is mounted, unmount it before asking operator
272 to mount an different one.
273 - Add Arno's dvd-handler script to the scripts directory and
274 integrate with configure. It replaces both existing scripts.
275 - Make default schedule start at 23:10
276 - Implement gui release in Makefile. It creates two .tar.gz
277 bacula-web and bimagemgr.
279 - Add README plus tar release to gui project.
280 - Manual documentation
281 - Tweak bacula.man doc
282 - Add PRAGMA synchronous = NORMAL; to SQLite3 tables. This
283 speeds up SQLite3 so it is only about 10% slower than version
284 2.xx. Thanks to Russell Howe for this tip.
285 - Add msvcr71.dll to pebuilder .inf file as it is needed by
286 Bacula FD. Thanks to Brandon for passing this fix to Scott.
288 - Add VolumePurged method to Python JobEvents class. Fixes
290 - Add JobId index to File table for MySQL.
291 - Correct tray-monitor crash of bacula-dir. qstatus_cmd()
292 code referenced the wrong pointer. Fixes bug #438.
293 - Add bacualnovss.mak file from Martin.
294 - Remove Pool from restore string in wbrestorepanel.cpp. Patch
295 from user for bug #433.
296 - Correct code in wbrestorpanel.cpp with misplaced parens. Patch
297 from user for bug #431
298 - Correct printing filenames/date/times in wbrestorepanel.cpp due to bad
299 column alignment. Patch from user for bug #432.
303 - Add fix to compat.h supplied by Martin Simmons that permits
304 building the Win32 FD without VSS.
306 - Bring cats/bdb_x.c routines up to version 1.37 (return values
309 - Integrate libwrap patch from Szechuan Death. They should
311 - Clean up patches directory for next release.
312 - Add PS variable in bacula.in script as recommended by a user.
313 - Correct mtx-changer.in so it only creates a temp file when
315 - Add patch supplied by user in a bug report to fix gnome2
317 - Add patch from Peter Eriksson <peter@ifm.liu.se> to correct
318 NLS error in tray-monitor.c
320 - Add code to catalog_update to detect NULL db pointer.
321 - Remove char *msg argument from catalog_request and
324 - Fix mode change open in btape.c
325 - Use nonblocking opens on Linux only.
326 - Move set_blocking code for tapes into method to
327 simplify main line code.
328 - Cleanup the code for ensuring we advance tape on fsf.
329 This should fix IBM problems -- patch from Adam Thorton
331 - Remove test for BMT_EOD in fixup_device... this eliminates
332 need for status_dev() routine.
333 - Before doing label ensure device is in read-write mode.
337 - Tweak daemon.c berrno, copyright.
339 - Fix handling of temp file in mtx_changer.in, reported as
340 a security bug, but it is not really. Bug #422
341 - Fix security problem of handling temp file in randpass.
343 - During label/relabel, add new_volume to VOLRES list in SD.
345 - Apply Landon's patch for the TLS ANS1 API change.
347 - Make single exit path in first_open_device().
349 - Make new_volume walk through all Vols looking for dev
352 - Make "quit" command in console always allowed.
353 - Remove the storage list between each console command to
354 keep Dir from remembering a previously selected SD.
355 - Add code to reservation VOLRES subroutines to try to ensure
356 we don't end up with two Volumes on the same drive.
357 - Simplify the mutex code in VOLRES a bit to reduce the chance
360 - Apply Nicolas' dvd-freespace.in patch.
361 - Make sure SQL table names are not translated.
362 - Eliminate incorrect message saying barcodes not
363 found in "label barcodes" -- fixes bug report.
367 - Add ability to have passwords on backup of catalog as
368 alternate 3rd argument. Submitted by Andrew Ford
369 <A.Ford@ford-mason.co.uk>
370 - Turn off TapeAlert by default if user enables a Device
371 and add a note to install mtx.
373 - Fix out of order volumes during restore.
377 - Final tweaks to build Win32.
378 - Enable debug code in ua_label.c
379 - Remove devices from the Volume list even if no
380 Volume is in drive. Hopefully this fixes Arno's problem
381 of multiple volumes listed in the same drive.
383 - Apply Landon's patch for TLS default values.
384 - Correct LOCALEDIR problem in build of Win32
385 - Correct ssize_t problem in build of Win32
386 - Add code to llprint pools and volumes to debug next item.
387 - From bug report, fix resetting Pool defaults in Volume. It
388 was a typo "Max" was missing in several places.
389 - Don't allow translation of database Volume Status values.
391 Changes to 1.37.37 released 26 Aug 05
393 - Ensure that the drive is closed before calling the
394 mtx-changer script so that the script can access the drive.
395 - Add drive name to reserved Volume list printout in SD.
397 - Fix bug in acquire.c that incorrectly reported volume
399 - Add additional debug code and messages in reserve.c
400 - Eliminate unwanted warning message in reserve.c
402 Changes to 1.37.36 released 22 Aug 05
404 - Landon's fix for NLS detection
405 - Eliminate incorrect compiler warning on FreeBSD.
406 - Move Win32 errno message build into berrno constructor.
409 - A number of minor Win32 fixes.
410 - Remove a PostQuitMessage() as suggested by Thorsten so that
411 BartPE restore can work correctly.
412 - Fix for create JobMedia so that VolIndex remains valid even
413 during a delete Job or pruning -- bug 402.
414 - Minor tweak for Win32 build.
416 - Win32 fix -- remove debug O_NONBLOCK code.
417 - Fix bug 399 -- make_catalog_backup does not work for sqlite3
418 - Implement unloading a volume in a different drive if it
419 is needed in the current drive.
420 - Implement search for unused autochanger drive.
421 - Implement search for exact Volume in reservation before
423 - Fix picking up drive in Dir so that it is not done in
425 - Eliminate double check on "loaded" for autochanger.
427 - Start coding better reservation algorithm
428 - Always look for slot for label command.
429 - Add more debug code for autochangers.
430 - Apply fix from Stephan Leemburg <sleemburg@jvc.nl> for
431 improper scanning of schedule resource:
432 Run = Level=Full Pool=Catalog daily at 1:20
433 - Apply patch from Chris Lee <labmonkey42@gmail.com> for
434 adding --enable-build-dird --enable-build-stored.
435 - Tweak datadir definition in configure.in
437 - Fix bug that missed drive=nn specification.
438 - Eliminate nonblocking kludge in heartbeat of FD as
439 it caused high CPU usage.
440 - Pickup loaded slot when doing open() of tape drive.
441 - Make autochanger reservation code go through full list
442 first pass until exact match found.
444 - Fix how FileSet is saved in job record to correct continual
446 - Make datadir print on config.out listing.
447 - Move get FileSet record up in backup init to eliminate continual
448 Full save seen by Peter Sjoberg.
449 - Add VolumeName to read-only Python variables.
450 - Add VolumePurged event for Python.
451 - Suppress /dev/ Filesystem change prohibited INFO messages.
452 - Do not delete FT_RAW files before restore (allows FIFOs
453 to be used for restore).
455 - Add drive specification to mount, unmount, release, label,
456 and relabel for Autochangers. Note Dir<->SD protocol has
461 - Disable parts of NLS as the configure does not work here.
462 - In job backup init (backup.c) define definitive Job level and
463 since time, *then* apply Job Pool override selection if any.
465 - Modified bconsole script so that it is improperly
466 installed, it will refuse to execute. This avoids
467 recursive call loops.
471 - Apply David's ACL fix to src/filed/acl.c
473 - Apply patches sent by David Duchscher <kreios@gmail.com> for
474 making ACLs work on MacOS X and FreeBSD.
476 - Apply patch in bug#397 that improved configure
477 - find readline under $with_readline/include/readline
478 - no libutil under Solaris
479 - no need for -ldl under Solaris
480 - Make reservation system single threaded during the
481 search to avoid two threads competing for the same
483 - Correct a return code in find_suitable_device_for_job()
484 Possibly cause of "busy writing to another volume".
486 - Modify open() for tape so nonblocking really works.
487 - Use fcntl() to reset blocking status rather than close()
488 and reopen the drive.
489 - Make sure dev->open() is always called so that any change
490 in read/write permissions will occur.
491 - Open drives initially in daemon in read-only mode.
492 - Ensure that each time the VolHdr.VolumeName is zapped
493 or changed that free_volume() is called on the old name.
497 - Require 5 arguments to mtx-changer except list and slots
498 - Turn -EPIPE status returns from bpipe to ETIME
499 - Include Slot in SD status output
500 - Do not term_dev() during initialization in SD if the device
501 could not be opened. In the case of a tape drive, there may
502 be no tape in the drive.
506 - Correct PostgreSQL database scripts as suggested by a user.
507 - Add additional info to FATAL message generated when a device
508 is busy writing to another volume.
509 - Suppress an inappropriate NULL Volume name message after a cancel.
510 - Correct a warning message in reserve.c
512 - Apply user's patch to make mutiple modifiers for times
514 - Make read_dev_volume_label() handle ANSI/IBM labels
515 correctly -- ie space over any label at the beginning
518 - Make ANSI/IBM writing of HDR1/2 labels ignore any
519 errors if at end of tape.
520 - Apply Martin's patch to improve Python detection in
522 - Temporarily turn off disk seeking until I find the
523 cause of the problem.
525 - Add OSF1 patch supplied by user.
526 - Use number of files selected from write_bsr() only
527 if it is not defined.
528 - Explicitly seek to end of file when getting size for
530 - Correctly set EndBlock position in JobMedia record
532 - Remove unnecessary set StartBlock in bscan. Caused bscan
535 - Modify mtx-changer to wait a maximum of 300 seconds.
536 - Do restart of failed jobs only for Backups job types.
537 - A number of DVD updates from Nicolas.
539 - Turn off old service helper code in Win32.
540 - Correct Messages bug found by Phil in stored.
542 - Complete (almost) documentation of 1.38.
543 - Add error messages for error conditions with VSS.
544 - Fix additional problems with VSS backup that I introduced.
547 - Correct compiler complaints in wx-console and tray-monitor.
548 - Correct VSS problems recognizing c:
549 - Add VSS before job status
550 - Fix output of status from being one big line.
551 - Change cd xx; make to cd xx && make as suggested by Phil.
552 - Cleanup projects file
553 - Remove unnecessary casting of FF_PKT in filed.
554 - Apply Thorsten's bugfix for vss_generic.cpp
555 - Add check for df path for dvd_freespace
556 - Use df to get space used on DVD.
557 - Change sense of flag indicating erase DVD or not before writing.
558 - Fix bpipe so that it never modifies the result pointer.
559 - Replace more dev_name by print_name().
560 - Rewrite edit_device_codes_dev() so it does not overwrite the
562 - Update printing of labels (for bls) so that critical information
563 is printed (Job name and timestamp).
564 - Cleanup old spool files when starting the SD.
565 - Modify vss.cpp to allow C: as a path name. Otherwise VSS
566 doesn't work when only a drive name is given.
567 - Modify vss.c to eliminate double / in filenames.
568 - Update doc -- particularly the restore chapter.
570 - Make all files in working directory have .xxx at end.
571 - Work on DVD writing.
572 - Fix keepatime bug (bugs database).
573 - Move Python variables from Job to Bacula. They are
574 DirName, Version, ConfigFile, and WorkingDir
575 - Fix delete of bootstrap to only occur on Bacula created
577 - Allow cancelling a Job name that is not active. It is
580 - Fix name space pollution by OpenSSL 0.9.8 reported by
581 Matthias Kurz -- applied his patch.
582 - Fix bpipe.c so that it does not modify results pointer.
583 ***FIXME*** calling sequence should be changed.
584 - Remove some remaining references to dev_name.
585 - Fix calls to mount_dev() and unmount_dev() to
586 correspond to returned value (bool instead of int).
587 - Try without success to make DVD writing work.
590 - Convert dvd-writepart to Python.
591 - Increase delay from 3 seconds to 5 seconds between SIGTERM and SIGKILL when
592 killing external programs.
594 - Add gettext macros in autoconf/gettext-macros.
595 - Modify how localedir is set in configure.in.
596 - Remove setlocale check (useless).
598 - Mark translatable strings in all source files.
600 - Create French and Italian translation files (fr.po, it.po).
601 - Add support for translation in configure and Makefiles.
602 - Update autoconf/aclocal.m4 so it is automatically created with aclocal
603 (Note: autoconf/gnome-macros is not used anymore, it may be removed).
605 - Fix src/lib/bpipe.c:run_program and run_program_full_output to detect if the watchdog
606 killed the program, and return an error if it is the case.
608 - Modify parse_config to get a LEX_ERROR_HANDLER as a parameter
609 - lex_open_file now returns NULL if the file can't be opened. All calling functions have
611 - Remove set_exit_on_error function
613 - Fix "unknown device type" problem with DVD devices.
614 - Fix crash when there is no media in the DVD drive.
616 - Update the documentation and ReleaseNotes.
618 - Add FreeSpaceCommand in Device (SD configuration file) and implement it.
619 - Some modifications (again) on how guessed volume names are handled (now it should work).
620 - Part files on the hard disk are removed if they are empty.
622 - Major fixes on how guessed volume names are handled.
623 - Minor fix in src/stored/append.c.
624 - Replace, when possible, POOLMEM by POOL_MEM in the new code of src/stored/dev.c.
625 - New script, scripts/dvd-freespace, which gets the free space available on a writable DVD.
627 - Add WritePartAfterJob directive in Job resource (Director)
628 - Add WritePartAfterJob directive in Schedule Resource (Director)
629 - Implement these new directives
631 - New function, open_guess_name_dev in src/stored/dev.c, which tries to guess the volume
632 name of a mounted device, so the label can be read.
633 - New script, scripts/dvd-writepart, which write parts to DVD+/-R(W).
634 - Removed WriteFirstPartCommand directive in Device (SD configuration file).
635 - Use readdir_r instead of readdir (src/stored/dev.c:open_guess_name_dev).
637 - Add RequiresMount, MountPoint, MountCommand, UnmountCommand directives in Device (SD configuration file).
638 - Implement these directives (volumes can now be restored from a manually written DVD).
639 - Add WriteFirstPartCommand, WritePartCommand directives in Device (SD configuration file).
640 - Implement these directives (DVD writing now works).
641 - New function run_program_full_output in src/lib/bpipe.c.
642 - Lots of bugfixes and cleanups in the new code.
644 - Add VolParts field in Media table
645 - Add MaximumPartSize directive in Device (SD configuration file)
646 - File Volumes can now be splitted in multiple files ("parts")
647 - Fix SQL error in sql_list while doing "llist jobmedia"
649 Changes to 1.37.30 released 16 July 2005:
651 - Fix "dir" command scanning field misalignment in
653 - Switch to using the wxWidgets Unicode library.
654 - Include msvcr71.dll in distribution.
655 - Add VSS to status line in Win32 FD if enabled.
656 - Get VSS build scripts working with Thorsten's help.
657 - Unlink the bootstrap file after sending it to
659 - Remove sending include/exclude lists to the FD during
660 a restore -- deprecated code.
661 - Cleanup the bootstrap files in the FD.
665 - Remove old commented out code from configure.in
666 - Add baculavssfd.mak file for building VSS version of
668 - Correct date (year) in vss.cpp and vss_generic.cpp
670 - I finally found and squashed the elusive SD crash.
671 I needed to initialize the used volume list before
672 firing off the device initialization thread.
675 - Make sure that bpipe results are zapped even on
677 - Lots of documentation.
678 - Do not prune volume marked as append when needing a
680 - Print a warning message in SD if a non-used Volume
681 is specified and autolabel not turned on.
682 - Correct a bug in chksum.c concerning SHA1 signatures
683 (an * should have been & when checking for a bit flag).
684 - Print File:Block for all label records in label.c -- concerns
685 primarily bls when doing Job listings (-j).
686 - Correct is_volume_in_use() to return false if testing
687 on the same device where the Volume is already mounted.
688 - Define a init_done flag in the SD that is set when the
689 devices are initialized and make users connecting wait.
690 This prevents useless connect failure warning messages.
691 - Do additional device locking in ask_op_to_mount_volume()
692 to prevent race conditions with a user labeling a Volume
695 - Add a test for error return from bnet_wait... in heartbeat.c
696 in FD to avoid CPU loop.
697 - Implement TLS in gnome console and wx-console.
701 - Correct a NULL pointer reference in the mount command.
702 - Correct typo in Copyright
703 - Add detection of EOM for IBM drives (i.e. errno == ENOSPC)
705 - Remove temp file created in mtx-changer script.
706 - Make fsf_dev() into a class method.
708 - Modify mtx-changer.in script to return slot:barcode for
709 Volumes that are loaded in the drives.
710 - Correct some more places where dev->is_blocked() needs
711 to be checked in dircmd.c in SD.
714 - Add code to ensure that reserved but unused volumes
716 - Correct how Volumes are mounted and handled so that the SD
717 does not get stuck if multiple volumes are used (recycling,
719 - Correct bug where you could relabel a volume while it
720 was being acquired -- created chaos.
722 - Correct seg fault caused by open() calling sequence change.
724 - Add new rc-chio-changer script by Rudolf Cejka to
725 examples/autochangers
726 - Apply Rudolf's changes to bacula.in
727 - Expand the space from 8 to 10 characters in editing
728 file sizes for restore and dir of catalog, otherwise
729 GB sizes are truncated -- fixes bug report.
730 - Modify wx-console to know about 10 character widths.
731 - Allow decending into top level directory if "recurse=no"
732 is set. Fixes a bug report.
733 - Install pthreadVCE.dll when installing console or wx-console
734 on Win32 systems. Fixes bug report.
736 - Tweak dvd-writepart script to prevent door from opening/closing
738 - Remove GROUP BY in several PostgreSQL commands to prevent error.
740 - Ensure that < as first character of filename list is not treated
741 as a directory for restore.
742 - Add debug to heartbeat in FD as it seems to go into an
743 infinite loop from time to time during SD failure in DVD writing.
744 - Add more debug code to dvd writing.
745 - Attempt not to destroy existing fs on DVD.
747 - Detect device mounted for DVD and suppress be sure to
748 mount message after label.
749 - Set Cleaning tape status to "Cleaning" and force no
751 - Get DVD writing working with new standard Bacula open()
753 - Rename get_filename() to make more sense.
754 - Detect "is already mounted on" on mount command so to avoid
755 error if device is already mounted.
756 - Eliminated guess_name() code. It may be necessary to
758 - Eliminate seg fault from printing invalid results.
759 - Make dvd_write_part() bool.
762 - Attempt to fix DVD writing by eliminating a number of the
763 DVD subroutines to simplify.
764 - Modify DEVICE::open() to take dcr as first argument. This
765 will permit providing more info to DVD opening.
766 - Fix scanning for time/size items which in some cases
768 - Eliminate read_dvd_volume_label(). New code (not yet written)
769 *must* open dvd appropriately before calling
770 read_dev_volume_label.
771 - Modify open_first_part() open_next_part() to take DCR as
773 - Make label command from console work on DVDs.
774 - Make mount command from console work on DVDs.
775 Unmount does not work yet.
779 - Add Database vendor to CatalogRes tuple for Python.
781 - Implement DoesVolumeExist(Vol) for Python.
782 - Prevent python command from seg faulting if no arg given.
786 - Add set_mode method in DEVICE.
787 - Correct set_mode method in DEVICE
788 - Add more DVD debug info
790 - Check for incorrect duration and size modifiers in conf files.
792 - Make Version a tuple (version, build-date)
793 - Add CatalogRes tuple (DBName, Address, User, Password,
795 - Add Version, ConfigFile, and WorkingDir as Python attributes
797 - Implement code (principally for Win32) that on failure to
798 create a file, it will cd into the directory and attempt
799 to create the file using a relative path. This avoids creating
800 files with paths which fail on Win32.
801 - Fix parsing of times and sizes with decimal numbers.
802 - Make free_volume_list() in SD work if vol list is not
803 initialized (./bacula-sd -t).
805 - Add debug error printout when open() fails.
806 - If open() of DVD fails in mount.c, return false.
807 - Split open() code for DVD into separate subroutine in dev.c
809 Changes to 1.37.25 released on 20 Jun 05:
811 - Fix bug where Storage daemon gets confused about what
812 tape is mounted. (one line of code was inadvertently
817 - DVD writing/reading seems to be mostly working.
818 - Set execute bits on dvd-freespace and dvd-writepart
819 - Make dvd-freespace use existing dummy file.
820 - Modify dvd-freespace to pickup size from Track Size:
822 - Add Date, Job, level to updates to .bsr file in
824 - Add debug info to dvd-freespace.in
825 - Fix hard coded bacula.sql in make_catalog_backup reported
827 - Make sure a verify volume to catalog never reports an error
828 if there are zero files to verify.
829 - Remove confusing debug info in filed/backup.c on network
831 - Make sure output from console is not sent to system log.
832 - Convert open_dev() into a class method.
833 - Change VolHdr.VolName to VolHdr.VolumeName.
834 - Add a flag in the device state word to indicate that
835 we found Media in the drive (DVD).
836 - Make mount_dev() and unmount_dev() return bool.
838 Changes from Nicolas Boichat:
840 - Modify parse_config to get a LEX_ERROR_HANDLER as a parameter
841 - lex_open_file now returns NULL if the file can't be opened. All calling functions have
843 - Remove set_exit_on_error function
845 - Fix "unknown device type" problem with DVD devices.
846 - Fix crash when there is no media in the DVD drive.
848 - Update the documentation and ReleaseNotes.
850 - Add FreeSpaceCommand in Device (SD configuration file) and implement it.
851 - Some modifications (again) on how guessed volume names are handled (now it should work).
852 - Part files on the hard disk are removed if they are empty.
854 - Major fixes on how guessed volume names are handled.
855 - Minor fix in src/stored/append.c.
856 - Replace, when possible, POOLMEM by POOL_MEM in the new code of src/stored/dev.c.
857 - New script, scripts/dvd-freespace, which gets the free space available on a writable DVD.
859 - Add WritePartAfterJob directive in Job resource (Director)
860 - Add WritePartAfterJob directive in Schedule Resource (Director)
861 - Implement these new directives
863 - New function, open_guess_name_dev in src/stored/dev.c, which tries to guess the volume
864 name of a mounted device, so the label can be read.
865 - New script, scripts/dvd-writepart, which write parts to DVD+/-R(W).
866 - Removed WriteFirstPartCommand directive in Device (SD configuration file).
867 - Use readdir_r instead of readdir (src/stored/dev.c:open_guess_name_dev).
869 - Add RequiresMount, MountPoint, MountCommand, UnmountCommand directives in Device (SD configuration file).
870 - Implement these directives (volumes can now be restored from a manually written DVD).
871 - Add WriteFirstPartCommand, WritePartCommand directives in Device (SD configuration file).
872 - Implement these directives (DVD writing now works).
873 - New function run_program_full_output in src/lib/bpipe.c.
874 - Lots of bugfixes and cleanups in the new code.
876 - Add VolParts field in Media table
877 - Add MaximumPartSize directive in Device (SD configuration file)
878 - File Volumes can now be splitted in multiple files ("parts")
879 - Fix SQL error in sql_list while doing "llist jobmedia"
882 - Renamed to make unique version for open_next_part()
886 - Renamed to make unique version for open_next_part()
891 - Fix the same state variable problem in open_next_part().
892 - C++ify the SD code a bit more.
894 - Add more debug code and clarify debug code for DVDs.
895 - Do not save and restore state in open_first_part()
896 since state should be properly set after open_dev().
897 - Make default mandir /usr/share/man
898 - Install Bacula man page.
899 - Implement passing of FileSet Enable VSS to FD.
900 - Move main body of reserve drive code into subroutine
901 so that it can be called multiple times.
903 - Eliminate getpass() for Win32 builds in console as the
904 function does not exist.
906 - Correct some reservation problems in SD when no devices
908 - Start removing #ifdef HAVE_TLS by sneaky tricks.
909 - Begin implementation of TLS in wx-console
910 - Remove ignoring SIGCHLD from console.
911 - Rework the dlist binary search routines for implemenation
912 of the Volume reservation code -- make it more general.
913 - Strip double slashes // from Win32 filenames in an attempt
914 to resolve restore problems on some systems.
915 - Fix a minor bugs in the trace code that caused the first
916 line output to be lost.
917 - Implement a good first cut at adding Volume reservation code
918 to the storage daemon (in file reserve.c).
919 - Remove old unused code from the tree.c routines.
923 - Fix compile problems on Win32
924 - Start writing Volume reservation list (already exists, but
925 is not really very good).
926 - Implement attribute caching to put Signature into database
927 at the same time as the file attributes thus eliminating a
928 number of database accesses.
929 - Correct a reservation problem.
930 - Implement full Dir Storage use.
931 - Reduce a bit of TLS #ifdeffing.
937 - Add more documentation to mtx-changer.in
938 - Correct link to manual in authenticate.c in various
940 - Create a new src/stored/reserve.c file where the
941 Use Storage command is processed and drives are
943 - Modify src/stored/autochanger.c to keep track of each
944 Slot that is loaded for each device.
945 - Ensure that changer_command and changer_name are picked
946 up from Autochanger resource if not specified, and if
947 neither is specified, err.
949 - Fix bextract.c compile problem
951 - Make make distclean clean a bit better
953 - Remove old code in jcr.c
954 - Make testls release jcr chain when terminating.
956 - Implement Maximum Job Spool Size (actually DCR based)
958 - Use light weight non-recursive locking on jcr chain.
959 - Make JCR a class and implement inc_use_count() and
960 dec_use_count() methods that ensure that the jcr is
961 locked when inc/dec the use count.
962 - Remove the global jcr lock when traversing the jcr
964 - Use dlist to implement the jcr chain rather than hand
965 crafted next and prev links.
966 - Lock the jcr chain inside each function that modifies
971 - Fix compile problem of ua_restore.c on broken compilers.
972 - Apply patch from bug 326 to permit bacula status by any user.
973 - Fix bug 325 -- conversion of 12:30pm to 24hour time.
975 - Put Dmsg() on inside if() to avoid calling subroutine.
976 - Make restore.bsr have unique name.
977 - Allow user to define bsr filename on restore command line
978 with bootstrap=xxx.bsr
979 - Add limit=nnn to "list jobs" command.
980 - Remove old restore code that did not use .bsr file.
981 - unlink automatically generated bsr file.
982 - Cleanup heartbeat code so that duped fd is almost sure
983 to be released. Previously under certain conditions, the
984 memory was not released due to race conditions.
987 - Unify the reserve_device() for a single device into one subroutine.
989 - Modify wait during use_device to happen only after all devices
990 have been examined rather than in the reserve_device code.
991 - Correct updating count of number of Volumes in a pool.
995 - Add more debug to SD for Autochangers + status output.
996 - Add Scratch to PoolType in PostgreSQL make...tables and do not
997 permit NULL PoolTypes. Fix for bug 319 reported by Eric.
999 - Add quotes around filename in parse_config error message. Bug
1002 - Change nested \include to \input so that sections are properly
1003 included in the pdf manual -- update the Web site.
1004 - Set reconnect flag in MySQL packet to 1 to ensure that connection
1005 is re-established. MySQL 5 changed default to 0. Fixes bug report.
1006 - Fix Scratch pool handling as reported in a bug by Eric Bollengier
1007 by applying his patch.
1008 - Remove delete job in favor of delete jobid.
1009 - Add = NULL to configfile definitions as reported by Eric in a bug
1011 - Update winbacula.nsi.in to reflect new manual file structure.
1013 - Correct a minor build problem with wx-console.
1014 - Add cancel() to Dir Python scripting.
1015 - Re-correct bug in parse-config error handling.
1016 - Reorganization of use_command in SD to permit
1017 waiting and multiple drive autochanger support.
1019 - Correct bug in parse_config error handling.
1020 - Where ever possible mark a volume in error or not
1021 InChanger in mount.c
1022 - Fix bug in changing tape pools after first backup. Reported
1024 - Enhance mtx-changer to use Working Directory as temp.
1025 - Remove all but initial setup locking of Res in SD.
1027 - Add Client OS type to Job report.
1028 - Add version to manual
1029 - Update the Web site to have a single page for
1030 the documentation links.
1032 Changes to 1.37.18 release 08May05:
1034 - Correct attribute definition compile error in 1.37.17
1035 - Correct inverted order of CreateTime and MD5 pointed out
1036 by a user in a bug report in FileSet db routine causing
1037 the MD5 to print in the output instead of the time/date.
1041 - Implement cstrlen() in sql list routines.
1042 - Implement caching of attributes to add the
1043 signature so that only one DB call will be made
1044 per file. Not yet turned on.
1045 - Fix Win32 build for TLS.
1046 - Optimize File pruning to eliminate one database call.
1047 - Fix bug that prevented File pruning from working.
1048 - Implement a cstrlen() which returns the character
1049 length of a UTF-8 string.
1051 - Move test for MaxStartDelay as suggested by Peter.
1052 - Implement Python methods (I had to read the Python source
1054 - Implement run() method in Director.
1055 - Add Priority and Scheduled time to Job report.
1056 - Add JobInit and JobRun events.
1057 - Add Priority as Python read/write attribute to Job.
1058 - Correct typo in bsmtp reported by Jo.
1060 Changes to 1.37.16 (07May05): released 07May05
1062 - Implement cstrlen() in sql list routines.
1063 - Implement caching of attributes to add the
1064 signature so that only one DB call will be made
1065 per file. Not yet turned on.
1066 - Fix Win32 build for TLS.
1067 - Optimize File pruning to eliminate one database call.
1068 - Fix bug that prevented File pruning from working.
1069 - Implement a cstrlen() which returns the character
1070 length of a UTF-8 string.
1072 - Move test for MaxStartDelay as suggested by Peter.
1073 - Implement Python methods (I had to read the Python source
1075 - Implement run() method in Director.
1076 - Add Priority and Scheduled time to Job report.
1077 - Add JobInit and JobRun events.
1078 - Add Priority as Python read/write attribute to Job.
1079 - Correct typo in bsmtp reported by Jo.
1081 Changes to 1.37.16 (03May05): released 05May05
1083 - Make a few tls ifdef tweaks.
1084 - Fix create_file.c Win32 problem pointed out by
1086 - Fix really ugly bstrncpy() but found by Thorsten.
1087 - Move winapi.h/c from findlib to lib for inclusion in
1090 - Thorsten Engel finished his work on Win32 Unicode. We
1091 now have a single executable that runs on all Win32 machines.
1092 - Move job initialization code after job scheduling so that
1093 Verify jobs check for the prior JobId after they are really
1094 started rather than before.
1095 - Fix lib/fnmatch.c so that it does proper testing before folding.
1096 - More documentation -- at tls and ansi labels chapters.
1097 - Fix fileset_convert.pl to handle empty Exclude statements.
1098 - Turn regex back off in Win32
1100 - Fix sign extension problem in lex.c that reads UTF-8
1101 with Chinese characters incorrectly.
1105 - Remove a few HAVE_TLS #ifdefs
1106 - Implement final Python style interface. More implemention to
1107 be done, but the interface should change little if at all.
1109 - Make default no tls support. You must add
1110 --with-openssl to get tls support.
1112 - Update Web header to include google search in the search
1113 box -- thanks to input from Michel Meyers.
1114 - Fix md5sum so that it builds with the new openssl stuff.
1115 - Take some enhancements to the md5sum test program proposed
1118 - Apply Tru64 patch supplied by Pascal Pederiva <freebsd@paped.com>
1119 - Apply Unicode fixes for Win32 from "Thorsten Engel"
1120 <thorsten.engel@matrix-computer.com>
1121 - More work on Python read feature in FD.
1123 - Fix (hopefully) the ftello() overflow reported by Peter.
1124 - Landon Fuller committed his TLS patch.
1125 - Fixed two minor warnings in console.c with TLS turned off.
1126 - Updated the Makefile.in for wx-windows and tray-monitor
1127 to handle TLS. I can only build the tray-monitor.
1128 - Fix bscan to open tape in read-only mode (actually fix
1129 it so that it doesn't use the standard open routine).
1130 - Correct what appears to be an error in setting the
1131 return value in dvd.c
1133 - Get FD Python running -- design Python backup interface.
1134 - Fix seg fault in SD when referencing Alert Command.
1135 - More documentation.
1136 - Fix one more thing in Win32 build.
1140 - Put in production here
1144 - Fix SQLite and PostgreSQL table creation script syntax
1146 - Fix new Python code to work for Director.
1147 - Move lib/python.c to lib/pythonlib.c so that debug output
1148 is easier to read (can distinguish lib from dird, ...).
1149 - Cleanup Python build so that Python is not dragged
1150 into programs that don't use it.
1154 - Reset NumVols in Pool record from database on every update
1156 - Modify DB to support multiple simultaneous copies and
1158 - Pass copy and stripe between DIR and SD and put into
1159 the JobMedia DB record.
1160 - Update and test SQLite and MySQL datebase creation and
1162 - Implement version 9 of the DB.
1164 - Convert more atoi to str_to_int64() for DB.
1165 - Implement filling in NumVols by querying DB rather
1166 than trying to keep track of it.
1167 - Add storage name to string passed to in use storage=
1168 - Fix newVolume() so that the Python script is always
1170 - Fix handling of pool,PoolId, and storage in ua_output.
1171 - Same fix in ua_status.c
1172 - Remove required locking of resources
1173 - Replace pthread_cond_signal() by pthread_cond_broadcast()
1174 hoping to fix the /lib/tls hang problems (lost signal).
1175 - Move resource locking seaching from parse_conf.c to res.c
1177 - Modify end of volume handling so that fixup_... does not
1178 redo what block.c has already done -- writing Vol info to
1179 DIR. This fixes a bug with bad numbers of files on a tape
1180 when it filled as reported by Peter.
1181 - In release_device() do not update the DIR on the Volume
1182 info if the the information was already written at the
1185 - NOTE!!!! This version has a new DIR <--> SD protocol. Both
1186 must be updated at the same time.
1187 - Begin implementation of passing all the Storage and Device
1188 possibilities to the SD for examination during the reserve
1190 - Modify the reserve and acquire code in the SD to make a
1191 job wait if the device is not available.
1192 - Implement New Volume Each Job in DIR and pass to SD, not yet
1194 - Remove init/update of the Device resource in DIR
1195 - Remove passing PoolId to SD and back.
1197 - Remove \a and -e from error echos in most Makefiles.
1198 - Add more debug code when there are errors on the tape
1199 to try to find Peter's tape problem.
1200 - Add wait.c (oops forgot previously).
1201 - Move all the reserve/acquire_device_for_read/append to have
1202 only a DCR as the argument.
1203 - Rework the reserve_device_for_append() in stored to wait
1204 if the drive is not available. Note! This is a short
1207 - Comment out Multiple Connections in the document.
1208 - Move the P() and V() to subroutines so that they can be accessed
1209 from class methods. The reference to strerror() caused problems.
1210 - Implement new DEVICE class methods block() and unblock() that
1211 do what was previously done in 3 lines of code.
1212 - Implement wait_for_device(), which will wait for any device
1213 to be released then return. This requires a new global mutex
1214 and condition variable, and is implemented in src/stored/wait.c
1215 - Change the code in reserve_device_for_read(), which previously
1216 failed the job to use the new device wait code.
1218 - Apply reschedule patch to 1.37 code.
1219 - Add copyright to title page of manual so it is clear.
1220 - Create patch for rescheduling problem found by Ludovic. Storage
1221 pointers were lost during rescheduling.
1222 - Attempt to fix 2.6 rescue disk -- failed!
1223 - Start working on adding a wait routine in the SD.
1224 - Cleanup some old invalid doc in watchdog.
1225 - Convert a number of references to dev->dev_name to dev->print_name().
1226 - Add new wait.c file to SD.
1227 - Add a few more methods to DEVICE in SD to cleanup code a
1228 bit -- implement a few of the methods.
1230 - Fix more print_name()s for printing device name.
1231 - Modify open_dev to try 10 times every 6 seconds to
1232 open the device if it gets an I/O error (meaning no
1233 volume mounted). This gives a bit of settling in time
1234 for an autochanger and avoids spurious messages.
1235 - Change all yes/no to yes|no in the manual.
1236 - Fix win32 create_file.c typo.
1237 - Fix a typo in an error message.
1239 - Detect if fseeko exists with autoconf. If so, use it
1241 - Remove old bacula-*.conf from examples directory (out
1243 - Remove latex-fr index files from CVS.
1244 - Rewrite code that stops reading the tape so that the
1245 tape is marked at EOT, then once the work is done,
1246 the EOT flag is removed.
1247 - Flush output to file after every send in console.
1248 - Make setting VolFiles to smaller number fatal.
1249 - Disable Multiple Connections code.
1250 - Add patch from user for NetBSD statvsfs() fix to
1252 - Take more care with errors in acquire.c
1253 - Don't run through dvd code in append.c if bad status
1255 - Modify code so that an autochanger fault is fatal.
1256 - Use dev->print_name() in more places.
1257 - Implement dev->can_steal_lock() to simplify code.
1258 - Make btape re-read first 10000 records on fill command.
1259 - Check error return and fail job from fseeko and ftello
1260 in spool.c. Don't let a -1 slip in as size.
1264 - Apply NetBSD patch from kardel in bug 258.
1266 - Add a second job and a second client to the default
1267 bacula-dir.conf file.
1268 - Remove old style Include/Excludes.
1269 - Fix ANSI labels to put EOF1 and EOF2 after each file mark.
1270 - Add Python to SD and FD.
1272 - Implement IBM labels
1273 - Implement EOF and EOV labels at the end of a volume.
1274 - Fix a rather ugly problem with the PoolId not getting
1275 passed correctly. Now the DIR passes the Pool name and
1276 Media Type to the SD, who passes them back when requesting
1277 the next Volume. The DIR then looks up the correct PoolId.
1278 This takes more time, but always works, AND allows wild
1279 card Media Types (i.e. the SD can decide).
1280 - The DIR <==> SD protocol has changed.
1284 - Fix scanf of PoolId in catreq to handle 64 bit Ids.
1286 - Add new ua_update.c file and move update_cmd there.
1287 - Modify "update slots" to obtain actual number of slots.
1288 - Tweak autochanger code to handle new slots request.
1289 - Modify autochanger code to lock/unlock around slots and
1292 - Patch the FD so that it does not issue an error message if
1293 it attempts to restore the permissions on a Win32 drive.
1294 - Edit "Resource-name" (physical-name) for the device name
1295 everywhere in the SD.
1296 - Remove .linked.tex files in preparation for cutover to
1297 using .tex in place of .wml.
1299 - Copy latest config.sub and config.guess from autoconf.
1300 - Try new way of identifying drives with:
1301 "resource-name" (physical-name)
1302 More work need to a complete conversion.
1304 - Rework some of the autochanger data so that the DIR has
1305 the number of drives.
1306 - Modify the way the Device info is returned so that it comes
1307 back as a special message type and can be sent anytime the
1308 Device status changes.
1309 - Copy the change name and changer command into the device
1310 record if none is specified.
1311 - Require the change command and changer name to be specified in
1312 and AutoChanger resource.
1313 - Force all the Media Type records of all devices in an Autochanger
1316 - Add new "run" command to Job resource in DIR. This permits
1317 cloning a job as many times as you want.
1318 - Pass PoolId to SD on Query request. It is now used in the
1319 Find_media catalog request.
1320 - Reworked the Device resource in the DIR. Eliminated num_waiting
1321 and use_count, but added max_writers, reserved, and PoolId.
1322 - This DIR is nolonger compatible with previous SDs.
1323 - Add since and cloned keywords to the Console run command
1325 - Implemented store_alist_str() to allow multiple string items
1326 to be specified in a .conf file.
1327 - Added %s (since time) to Job code editing.
1328 - Reworked reserving drives in the SD. It now does it much simpler
1331 - Integrate HP-UX patch from Olivier Mehani <olivier.mehani@linbox.com>
1332 - Fix FD job.c to test correctly for no level.
1336 - Change Developers to Developer's Guide as requested by Michael.
1337 - Fix developers link in manual
1338 - Add additional dcr changes in SD to allow multiple dcrs.
1340 - Fix a few problems with the MySQL table create in 1.37.
1341 - Delete the new tables in the table delete files.
1342 - Increase the number of items permitted in a conf table.
1343 - Make Director loop over alternative Devices specified in the
1344 Storage resource until one is reserved by SD.
1345 - Fix storing of StorageId in Media records.
1346 - Add AutoSelect = yes|no in bacula-sd.conf
1347 - Add Autochanger support to Label command.
1348 - Do not autoselect devices with autoselect set false
1350 - Implement setting DIR Storage device to Autochanger
1352 - Select first available device in Autochanger.
1353 - Pass back actual device name used.
1354 - Allow Query of AutoChanger.
1355 - Modify Query to include name of AutoChanger if
1356 Device belongs to one.
1357 - Remove old Pool code in jobq.c
1358 - Add Autoselect flag to query and DEVICE class (still
1361 - Lock autochanger script when running.
1362 - Mark Volume not InChanger if correct volume is not
1364 - Corrected some typos in the make_xxx_tables.in files.
1365 - Made preliminary split of pre-run and run code for each
1366 job type. This will permit early opening of SD for reserving
1368 - Add offline and autochanger fields to Device Query record.
1369 - Correct pthread_mutex_init() for autochanger in SD.
1370 - Tweak Makefile for LaTeX manual, plus add nav buttons.
1372 - Clean up drive reservation system. Add more sanity checks.
1373 - Implement a few more methods for the DEVICE class in SD.
1374 - Add latex directories to make clean
1375 - move DEV_BSIZE to B_DEV_BSIZE to avoid conflicts with
1376 certain header files (FreeBSD).
1378 - Fix an ASSERT that was triggering in stored/acquire.c
1379 attempt to fix a bug report.
1381 - Corrected SunOs to SunOS in btraceback (user submitted).
1382 - Applied patch from Roger Haa¥kansson <hson@ludd.luth.se>
1383 to warn the user of defective AWKs during ./configure.
1385 - Add some changes submitted by a user for HP client build.
1386 Not all changes accepted.
1387 - Rework code in filed/backup.c to ease #ifdefing and make
1388 program flow more obvious.
1389 - Split DVD code out of dev.c into dvd.c
1390 - Tweak #ifdefing to add back all the performance measurement
1391 #defines in version.h
1392 - Put most of MTIOCGET code in a subroutine to simplify the
1394 - Make clean remove old CVS files
1395 - Remove unnecessary image files from Latex directory
1396 - Implement remaining parts of Storage DB record and
1397 its use in the Director.
1399 FullMaxWaitTime, Differential Max Wait Time, and
1400 Incremental Max Wait time in Job resource.
1401 - Start work on SD Autochanger code.
1403 - Add back JobId index for MySQL as default -- speeds up
1405 - Add more database fields and fix the update scripts to
1406 include the new items.
1407 - Pass actual level to FD so that ClientRun editing can reflect
1408 correct level -- ditto for job status. This makes the DIR
1409 incompatible with older clients!
1410 - Move jobq.c acquire resources to static subroutine so that
1411 the code logic becomes clearer. This is in preparation for
1412 actually using the new Device resources.
1413 - Fix some lower case problems in sql_cmds.c reported by
1415 - Correct a seg fault in the SD reported by a user. Occurred
1416 only when a high debug level was set.
1417 - Modify init_dev() in dev.c to take JCR as first arg so that
1418 proper error messages can be reported in next item.
1419 - Modify the query and use device SD commands to attempt to
1420 open the device if it could not previously be opened.
1421 - Correct error message for Could not reserve device.
1422 - Correct some minor details with Autochanger resource in SD.
1424 - Fix seg fault if debug level 900 set in SD.
1425 - Truncate Win32 child return code to 8 bits.
1426 - Remove some old lld's.
1430 - Make another attempt at fixing the ClientRunXXX return code
1431 bug on Win32 machines.
1432 - Apply ua_status patch from Carsten Paeth <calle@calle.in-berlin.de>
1433 which enforces console ACLs in the status command for Jobs.
1435 - Fix Media LabelDate and FirstWritten to be correctly set.
1436 - Fix deadlock in multiple simultaneous jobs.
1437 - Fix tape "truncation"/"number of files" after restore bug.
1439 - Ensure that correct error messages are returned when
1440 reading an ANSI label.
1442 - Modified ANSI label code to preserve any ANSI label
1443 already found by skipping over it rather than rewriting
1445 - Split the ANSI label code into ansi_label.c
1446 - Do not let user relabel an ANSI labeled tape.
1447 - Applied a patch for the console help command supplied
1449 - Added some new dev methods. Most notably was
1450 set_eof(), which handles setting all the dev variables
1451 when an EOF is just read. This is now used most everywhere
1454 - Added code to detect that no files were inserted into the
1455 tree for a restore. If a specific JobId was specified, the
1456 user has the option of restoring everything.
1457 - More progress in implementing 64 bit DB Ids.
1458 - Modified the daemon start messages for RH.
1459 - Implement update scripts for all database types.
1460 - First cut at implementing restore directory (it will not
1463 - OK, I think ANSI labels work.
1464 - Added Label Type = ANSI|IBM|Bacula to Device resource in SD.
1465 If this is set, it will force writing of the appropriate
1467 - Added Check Labels = yes|no to Device resource in SD. If this
1468 is set, Bacula will check for ANSI labels and accept them,
1469 otherwise, ANSI labels will not be accepted when the tape
1472 - Second cut ANSI labels.
1474 - Merge Preben's patch for ACLs and for Mac OS X resource forks.
1476 - Display more informative message when a device was not
1477 found or could not be opened.
1478 - Add the sqlite3 database scripts.
1479 - Add some patches for 1.36.1 (note, I have now prepared
1480 a 1.36.2 with all the patches and some new features --
1482 - Some minor doc updates.
1483 - Add Arno's baculareport.pl script to the examples directory.
1484 29Jan05 -- after vacation
1485 - Add support for SQLite3 (it seems to run at 1/2 the speed
1486 of SQLite2). Use --with-sqlite3 instead of --with-sqlite
1488 - Add target for running qemu to boot Rescue CDROM
1489 - Add code to support kernel 2.6 in Rescue CDROM -- does NOT yet
1491 - Implement ANSI labels -- not yet tested.
1492 This required changes to DB format. No upgrade script yet.
1493 Note, more work needed to modify "update" command to handle
1494 changing label types, also must restrict volume name lengths
1496 - Add new Device, Storage, and MediaType records to DB. No
1498 - Add MediaType to bsr file record types. Not yet used in SD.
1499 - Permit multiple device specifications in Storage resource in
1501 - Implement Device resources. Director requests Device resource
1502 info from SD on startup.
1503 - Note!!!! DIR->SD incompatible with previous versions.
1504 - Remove multiple Storage definitions in Job resource. One can
1505 still specify multiple Storage resources, but they all go into
1506 a single alist, and imply sending data to each Storage daemon
1508 - Implement Device query command between DIR and SD.
1509 - Allow DIR to "reserve" a Device. It will then be acquired
1510 when the FD connects to the SD.
1511 - Turn all DIR resources into classes, and implement a few class
1512 methods -- more to come.
1513 - Turn DEVICE in SD into a class, and implement a number of inline
1514 class methods -- more to come.
1515 - I had serious problems with ACL errors on my Laptop, and so had
1516 to add the following patch:
1519 /***** Do we really want to silently ignore errors from acl_get_file
1520 and acl_to_text? *****/
1524 - Added edit_int64()
1525 - Reworked and tested a bit the htable routines.
1526 - Major changes to SD acquire.c -- DIR can now reserve devices. Needs
1528 - Made a special state code for DVD -- this simplifies the logic
1529 of the code, but I probably broke it. Testing needed!!!!
1530 - Add AutoChanger resource to SD, but not yet used.
1534 - Integrate Preben 'Peppe' Guldberg <peppe@wielders.org>'s
1535 acl patch. Fix case where configured but no ACL exists.
1536 Rework calling arguments to be shorter and positioned
1537 more typically in Bacula usage.
1539 - Fix scripts/bacula.in to have awk on an environment variable
1540 and add comments for Solaris users.
1541 - Turn off inet_aton in src/lib/address_conf.c for Win32
1542 - Add new files to win32 build and eliminate a compiler warning.
1543 - Add sample DVD Device resource to bacula-sd.conf
1545 - Integrate Nicolas' patch for direct DVD support.
1547 - Fix fstype error returns.
1548 - Apply Preben's cleanup.patch which puts back much of the
1549 cleanup code in src/filed/restore.c
1551 - Apply all of Preben's patches, but revert to old backup.c
1552 and old restore.c in filed. Also turn off code in new
1553 acl.c because of errors. The new code, when fully implemented
1554 moves platform specific code into acl.c.
1555 One of the patches also implements WildFile and WildDir -- thanks.
1557 - Implement Python in the SD (no events yet though).
1558 - Fix some typos in the previous commit.
1560 - Enhance CDROM boot to include some documentation at boot time.
1561 - NOTE!!!!! The CDROM will not boot 2.6 kernels because the
1562 boot sequence has changed significantly. Updates to come
1564 - Add memtest option to CDROM boot.
1565 - Include Nicolas' changes to fix llist JobMedia records.
1566 - Make sure that ClientRunBefore/After messages from the program
1567 are terminated with a newline. Add strerror to output error
1569 - Return program exit status code in Win32.
1571 - Add memtest86 to Bacula Rescue disk
1572 - Enhance Rescue disk startup screen
1574 - Move some variables to eliminate Solaris 2.6 compiler warnings.
1575 - Fix the seg fault at the end of a job in the FD when using
1576 old style include/excludes.
1578 - Apply Preben's ACL patch.
1579 - Integrate Preben's restore patch.
1580 - Integrate Preben's verify teaks.
1581 - Fix doc/latex/Makefile to copy/remove .eps files when building
1582 html and web outputs.
1584 - Fix Bacula so that it does not exit if there is a syntax error
1585 in its conf file during a reload command. Bug 182.
1586 - Apply fixes suggested for old Solaris networking.
1588 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
1589 three patches that clean up white space:
1590 ws.patch.02.strings:
1591 Breaks strings that span lines into concatenated strings. I am not sure
1592 if you like this one. Other code works with concatenated strings, though.
1593 ws.patch.03.trailing:
1594 This removes trailing whitespace. No changes resulted from this for
1596 ws.patch.04.leading:
1597 This replaces space runs at the start of line with tabs. No changes
1599 - Fix overriding storage specification to be done
1600 through a subroutine.
1601 - Fix autoconf so it runs with FC3.
1602 - Add Python4.3 to configure search paths.
1603 - Always copy and delete storage definitions into jcr.
1604 - Check that VolumeName supplied by Python is valid.
1607 - Fix undefined in non-Python build.
1608 - Update rescue disk to include mkinitrd
1609 - Fix umount_drives in rescue disk (only one arg to umount)
1610 - Ensure that if SD is manually set in Console, it is used.
1611 - Put generate_event on pointer and plug it in init. This
1612 permits using it in /lib
1613 - Correct despooling size reported to be Job specific rather
1614 than for the whole drive.
1616 - Fix bug 207. jcr use count off by one when manually
1618 - Remove FNMATCH test in configure.in and always use
1619 the one in our library to get the FN_CASEFOLD GNU
1620 extensions on all platforms.
1621 - While using the rescue CDROM after my computer would not
1622 boot, I realized that it would be very useful to have
1623 a umount_disks. So, it is not implemented, along with
1624 updates to the READMEs and some minor tweaks.
1625 - Moved mounting the CDROM in the rescue boot from /cdrom
1626 to /mnt/cdrom (more standard location).
1627 - Reboot in CDROM rescue should now work -- requires -d
1628 option (no write) to work.
1629 - Hopefully fixed all the IPV6/4 problems and buffer
1630 problems with networking in lib. Bugs 190 and 204.
1631 Cleaned up a lot of #ifdefing problems by using routines
1634 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
1636 - Remove duplicate code from chksum.h (mentioned by Preben).
1638 - Integrate Tim Oberfoell <oberfoell@web.de> patch to ACLs
1639 to handle both the "standard" and "default" ACLs.
1641 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1642 three cleanup patches (btest, verify, find).
1643 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1644 three cleanup patches (backup, chksum, and verify)
1646 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1647 patch to avoid doing MTIOCGET on OSes that do not support
1649 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1650 patch to add filesystem type matching to FileSets in the
1652 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1653 patch to add Mac OSX resource fork support (save/restore)
1654 to Bacula -- HFS Plus support.
1655 - Add FileSet to client Job listing query.
1657 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1658 patch to backup directories skipped (due to no file system
1659 changes or no recursion), and to add a slash to the end
1660 of the directory name during the match process.
1661 - Implement Jamie ffolliott <jamieff@inline.net>
1662 patch to dird_conf.c that enables Multiple Connections and
1663 fixes a typo in show. The rest of his patch awaits my suggested
1666 - Implement run command in Python
1668 - Implement conversion of the manual, and some minor
1669 tweaks to the script tags.
1670 - Apply a patch supplied by Preben 'Peppe' Guldberg that implements
1671 ignore case in wild cards and regexes.
1672 - Fix a truncated line in the above patch due to my cut and paste.
1674 - Fix it so that the InChanger flag is only changed for Volumes
1676 - Add PIDOF configuration path and apply to bacula.in
1677 - Add user supplied patch to add inet_aton() of old Solaris
1679 - Require pools to match before allowing multiple simultaneous
1680 accesses to same storage resource.
1681 - Add patch supplied by Martin to correct buffer overrun in
1682 bsnprintf() with no library snprintf().
1684 - Apply user supplied patch that implements No Hard Links.
1685 - Document Python interface
1686 - Add hardlink keyword patch supplied by David R Bosso <dbosso@lsit.ucsb.edu>
1688 - Fix non-python prototypes in dummy routines.
1689 - Add python 2.3 to config search list (user submitted patch)
1690 - Add JobStatus to Python variables.
1692 - Add "python restart" command in Console.
1693 - Make built-in variables table driven.
1694 - First cut of Python Events for Bacula. Director only.
1695 StartJob, EndJob, NewVolume events.
1698 Technical notes on version 1.37
1705 - dvd.c: update VolParts when writing the last part.
1707 - configure: add check for dd, remove check for df
1708 - block.c:do_dvd_size_checks: Check we are writing to a dvd before doing tests
1709 (reported by David Raine on the list, "[Bacula-users] LTO drive - End Of Volume error").
1710 - Update bacula-sd.conf.in to use dvd-handler correctly.
1711 - dvd.c:dvd_write_part: Increase timeout when writing the first part (see the code for
1714 - Modify .backups command to get a fileset parameter (fix bug #444).
1716 - Fix bug when recycling DVD devices (append flag was removed).
1717 - Add tests for dvd+rw-format in configure script.
1718 - scripts/dvd-handler: Reformat DVD-RW when needed. This needs dvd+rw-format.
1719 - Add patch for dvd+rw-tools in patches dir (this should probably be elsewhere).
1721 - Remove scripts/dvd-freespace and scripts/dvd-writepart, as they are now
1722 merged into scripts/dvd-handler. Note: Documentation needs to be updated.
1723 - scripts/dvd-handler: "zero" brand-new DVD+/-RW to fix a problem with some
1724 DVD-writers, thanks to Arno Lehmann for reporting this, and providing the
1726 - new scripts/dvd-handler. Note: it also needs a patched version of dvd+rw-tools.
1727 - new scripts/dvd-freespace. Note: it needs a patched version of dvd+rw-tools.
1728 - dvd.c:dvd_write_part: Don't write empty part. (Fix 4GB crossing bug reported by Arno Lehmann)
1730 - dvd.c:dvd_write_part: Use part_size and not max_part_size when setting write timeout.
1731 - dvd.c:do_mount_dev: When checking if the DVD is mounted, do not count ., .. and .keep (needed on Gentoo).
1733 - Convert dvd-writepart to Python.
1734 - Increase delay from 3 seconds to 5 seconds between SIGTERM and SIGKILL when
1735 killing external programs.
1737 - Add gettext macros in autoconf/gettext-macros.
1738 - Modify how localedir is set in configure.in.
1739 - Remove setlocale check (useless).
1741 - Mark translatable strings in all source files.
1743 - Create French and Italian translation files (fr.po, it.po).
1744 - Add support for translation in configure and Makefiles.
1745 - Update autoconf/aclocal.m4 so it is automatically created with aclocal
1746 (Note: autoconf/gnome-macros is not used anymore, it may be removed).
1748 - Fix src/lib/bpipe.c:run_program and run_program_full_output to detect if the watchdog
1749 killed the program, and return an error if it is the case.
1751 - Modify parse_config to get a LEX_ERROR_HANDLER as a parameter
1752 - lex_open_file now returns NULL if the file can't be opened. All calling functions have
1754 - Remove set_exit_on_error function
1756 - Fix "unknown device type" problem with DVD devices.
1757 - Fix crash when there is no media in the DVD drive.
1759 - Update the documentation and ReleaseNotes.
1761 - Add FreeSpaceCommand in Device (SD configuration file) and implement it.
1762 - Some modifications (again) on how guessed volume names are handled (now it should work).
1763 - Part files on the hard disk are removed if they are empty.
1765 - Major fixes on how guessed volume names are handled.
1766 - Minor fix in src/stored/append.c.
1767 - Replace, when possible, POOLMEM by POOL_MEM in the new code of src/stored/dev.c.
1768 - New script, scripts/dvd-freespace, which gets the free space available on a writable DVD.
1770 - Add WritePartAfterJob directive in Job resource (Director)
1771 - Add WritePartAfterJob directive in Schedule Resource (Director)
1772 - Implement these new directives
1774 - New function, open_guess_name_dev in src/stored/dev.c, which tries to guess the volume
1775 name of a mounted device, so the label can be read.
1776 - New script, scripts/dvd-writepart, which write parts to DVD+/-R(W).
1777 - Removed WriteFirstPartCommand directive in Device (SD configuration file).
1778 - Use readdir_r instead of readdir (src/stored/dev.c:open_guess_name_dev).
1780 - Add RequiresMount, MountPoint, MountCommand, UnmountCommand directives in Device (SD configuration file).
1781 - Implement these directives (volumes can now be restored from a manually written DVD).
1782 - Add WriteFirstPartCommand, WritePartCommand directives in Device (SD configuration file).
1783 - Implement these directives (DVD writing now works).
1784 - New function run_program_full_output in src/lib/bpipe.c.
1785 - Lots of bugfixes and cleanups in the new code.
1787 - Add VolParts field in Media table
1788 - Add MaximumPartSize directive in Device (SD configuration file)
1789 - File Volumes can now be splitted in multiple files ("parts")
1790 - Fix SQL error in sql_list while doing "llist jobmedia"