1 Technical notes on version 1.37
8 - Require 5 arguments to mtx-changer except list and slots
9 - Turn -EPIPE status returns from bpipe to ETIME
10 - Include Slot in SD status output
11 - Do not term_dev() during initialization in SD if the device
12 could not be opened. In the case of a tape drive, there may
13 be no tape in the drive.
15 - Correct PostgreSQL database scripts as suggested by a user.
16 - Add additional info to FATAL message generated when a device
17 is busy writing to another volume.
18 - Suppress an inappropriate NULL Volume name message after a cancel.
19 - Correct a warning message in reserve.c
21 - Apply user's patch to make mutiple modifiers for times
23 - Make read_dev_volume_label() handle ANSI/IBM labels
24 correctly -- ie space over any label at the beginning
27 - Make ANSI/IBM writing of HDR1/2 labels ignore any
28 errors if at end of tape.
29 - Apply Martin's patch to improve Python detection in
31 - Temporarily turn off disk seeking until I find the
34 - Add OSF1 patch supplied by user.
35 - Use number of files selected from write_bsr() only
37 - Explicitly seek to end of file when getting size for
39 - Correctly set EndBlock position in JobMedia record
41 - Remove unnecessary set StartBlock in bscan. Caused bscan
44 - Modify mtx-changer to wait a maximum of 300 seconds.
45 - Do restart of failed jobs only for Backups job types.
46 - A number of DVD updates from Nicolas.
48 - Turn off old service helper code in Win32.
49 - Correct Messages bug found by Phil in stored.
51 - Complete (almost) documentation of 1.38.
52 - Add error messages for error conditions with VSS.
53 - Fix additional problems with VSS backup that I introduced.
56 - Correct compiler complaints in wx-console and tray-monitor.
57 - Correct VSS problems recognizing c:
58 - Add VSS before job status
59 - Fix output of status from being one big line.
60 - Change cd xx; make to cd xx && make as suggested by Phil.
61 - Cleanup projects file
62 - Remove unnecessary casting of FF_PKT in filed.
63 - Apply Thorsten's bugfix for vss_generic.cpp
64 - Add check for df path for dvd_freespace
65 - Use df to get space used on DVD.
66 - Change sense of flag indicating erase DVD or not before writing.
67 - Fix bpipe so that it never modifies the result pointer.
68 - Replace more dev_name by print_name().
69 - Rewrite edit_device_codes_dev() so it does not overwrite the
71 - Update printing of labels (for bls) so that critical information
72 is printed (Job name and timestamp).
73 - Cleanup old spool files when starting the SD.
74 - Modify vss.cpp to allow C: as a path name. Otherwise VSS
75 doesn't work when only a drive name is given.
76 - Modify vss.c to eliminate double / in filenames.
77 - Update doc -- particularly the restore chapter.
79 - Make all files in working directory have .xxx at end.
80 - Work on DVD writing.
81 - Fix keepatime bug (bugs database).
82 - Move Python variables from Job to Bacula. They are
83 DirName, Version, ConfigFile, and WorkingDir
84 - Fix delete of bootstrap to only occur on Bacula created
86 - Allow cancelling a Job name that is not active. It is
89 - Fix name space pollution by OpenSSL 0.9.8 reported by
90 Matthias Kurz -- applied his patch.
91 - Fix bpipe.c so that it does not modify results pointer.
92 ***FIXME*** calling sequence should be changed.
93 - Remove some remaining references to dev_name.
94 - Fix calls to mount_dev() and unmount_dev() to
95 correspond to returned value (bool instead of int).
96 - Try without success to make DVD writing work.
98 Changes to 1.37.30 released 16 July 05:
100 - Fix "dir" command scanning field misalignment in
102 - Switch to using the wxWidgets Unicode library.
103 - Include msvcr71.dll in distribution.
104 - Add VSS to status line in Win32 FD if enabled.
105 - Get VSS build scripts working with Thorsten's help.
106 - Unlink the bootstrap file after sending it to
108 - Remove sending include/exclude lists to the FD during
109 a restore -- deprecated code.
110 - Cleanup the bootstrap files in the FD.
114 - Remove old commented out code from configure.in
115 - Add baculavssfd.mak file for building VSS version of
117 - Correct date (year) in vss.cpp and vss_generic.cpp
119 - I finally found and squashed the elusive SD crash.
120 I needed to initialize the used volume list before
121 firing off the device initialization thread.
124 - Make sure that bpipe results are zapped even on
126 - Lots of documentation.
127 - Do not prune volume marked as append when needing a
129 - Print a warning message in SD if a non-used Volume
130 is specified and autolabel not turned on.
131 - Correct a bug in chksum.c concerning SHA1 signatures
132 (an * should have been & when checking for a bit flag).
133 - Print File:Block for all label records in label.c -- concerns
134 primarily bls when doing Job listings (-j).
135 - Correct is_volume_in_use() to return false if testing
136 on the same device where the Volume is already mounted.
137 - Define a init_done flag in the SD that is set when the
138 devices are initialized and make users connecting wait.
139 This prevents useless connect failure warning messages.
140 - Do additional device locking in ask_op_to_mount_volume()
141 to prevent race conditions with a user labeling a Volume
144 - Add a test for error return from bnet_wait... in heartbeat.c
145 in FD to avoid CPU loop.
146 - Implement TLS in gnome console and wx-console.
148 - Correct a NULL pointer reference in the mount command.
149 - Correct typo in Copyright
150 - Add detection of EOM for IBM drives (i.e. errno == ENOSPC)
152 - Remove temp file created in mtx-changer script.
153 - Make fsf_dev() into a class method.
155 - Modify mtx-changer.in script to return slot:barcode for
156 Volumes that are loaded in the drives.
157 - Correct some more places where dev->is_blocked() needs
158 to be checked in dircmd.c in SD.
161 - Add code to ensure that reserved but unused volumes
163 - Correct how Volumes are mounted and handled so that the SD
164 does not get stuck if multiple volumes are used (recycling,
166 - Correct bug where you could relabel a volume while it
167 was being acquired -- created chaos.
169 - Correct seg fault caused by open() calling sequence change.
171 - Add new rc-chio-changer script by Rudolf Cejka to
172 examples/autochangers
173 - Apply Rudolf's changes to bacula.in
174 - Expand the space from 8 to 10 characters in editing
175 file sizes for restore and dir of catalog, otherwise
176 GB sizes are truncated -- fixes bug report.
177 - Modify wx-console to know about 10 character widths.
178 - Allow decending into top level directory if "recurse=no"
179 is set. Fixes a bug report.
180 - Install pthreadVCE.dll when installing console or wx-console
181 on Win32 systems. Fixes bug report.
183 - Tweak dvd-writepart script to prevent door from opening/closing
185 - Remove GROUP BY in several PostgreSQL commands to prevent error.
187 - Ensure that < as first character of filename list is not treated
188 as a directory for restore.
189 - Add debug to heartbeat in FD as it seems to go into an
190 infinite loop from time to time during SD failure in DVD writing.
191 - Add more debug code to dvd writing.
192 - Attempt not to destroy existing fs on DVD.
194 - Detect device mounted for DVD and suppress be sure to
195 mount message after label.
196 - Set Cleaning tape status to "Cleaning" and force no
198 - Get DVD writing working with new standard Bacula open()
200 - Rename get_filename() to make more sense.
201 - Detect "is already mounted on" on mount command so to avoid
202 error if device is already mounted.
203 - Eliminated guess_name() code. It may be necessary to
205 - Eliminate seg fault from printing invalid results.
206 - Make dvd_write_part() bool.
209 - Attempt to fix DVD writing by eliminating a number of the
210 DVD subroutines to simplify.
211 - Modify DEVICE::open() to take dcr as first argument. This
212 will permit providing more info to DVD opening.
213 - Fix scanning for time/size items which in some cases
215 - Eliminate read_dvd_volume_label(). New code (not yet written)
216 *must* open dvd appropriately before calling
217 read_dev_volume_label.
218 - Modify open_first_part() open_next_part() to take DCR as
220 - Make label command from console work on DVDs.
221 - Make mount command from console work on DVDs.
222 Unmount does not work yet.
226 - Add Database vendor to CatalogRes tuple for Python.
228 - Implement DoesVolumeExist(Vol) for Python.
229 - Prevent python command from seg faulting if no arg given.
233 - Add set_mode method in DEVICE.
234 - Correct set_mode method in DEVICE
235 - Add more DVD debug info
237 - Check for incorrect duration and size modifiers in conf files.
239 - Make Version a tuple (version, build-date)
240 - Add CatalogRes tuple (DBName, Address, User, Password,
242 - Add Version, ConfigFile, and WorkingDir as Python attributes
244 - Implement code (principally for Win32) that on failure to
245 create a file, it will cd into the directory and attempt
246 to create the file using a relative path. This avoids creating
247 files with paths which fail on Win32.
248 - Fix parsing of times and sizes with decimal numbers.
249 - Make free_volume_list() in SD work if vol list is not
250 initialized (./bacula-sd -t).
252 - Add debug error printout when open() fails.
253 - If open() of DVD fails in mount.c, return false.
254 - Split open() code for DVD into separate subroutine in dev.c
256 Changes to 1.37.25 released on 20 Jun 05:
258 - Remove (cd gnome-console; make clean) from src/Makefile.in
259 - Fix bug where Storage daemon gets confused about what
260 tape is mounted. (one line of code was inadvertently
265 - DVD writing/reading seems to be mostly working.
266 - Set execute bits on dvd-freespace and dvd-writepart
267 - Make dvd-freespace use existing dummy file.
268 - Modify dvd-freespace to pickup size from Track Size:
270 - Add Date, Job, level to updates to .bsr file in
272 - Add debug info to dvd-freespace.in
273 - Fix hard coded bacula.sql in make_catalog_backup reported
275 - Make sure a verify volume to catalog never reports an error
276 if there are zero files to verify.
277 - Remove confusing debug info in filed/backup.c on network
279 - Make sure output from console is not sent to system log.
280 - Convert open_dev() into a class method.
281 - Change VolHdr.VolName to VolHdr.VolumeName.
282 - Add a flag in the device state word to indicate that
283 we found Media in the drive (DVD).
284 - Make mount_dev() and unmount_dev() return bool.
288 - Fix the same state variable problem in open_next_part().
289 - C++ify the SD code a bit more.
291 - Add more debug code and clarify debug code for DVDs.
292 - Do not save and restore state in open_first_part()
293 since state should be properly set after open_dev().
294 - Make default mandir /usr/share/man
295 - Install Bacula man page.
296 - Implement passing of FileSet Enable VSS to FD.
297 - Move main body of reserve drive code into subroutine
298 so that it can be called multiple times.
300 - Eliminate getpass() for Win32 builds in console as the
301 function does not exist.
303 - Correct some reservation problems in SD when no devices
305 - Start removing #ifdef HAVE_TLS by sneaky tricks.
306 - Begin implementation of TLS in wx-console
307 - Remove ignoring SIGCHLD from console.
308 - Rework the dlist binary search routines for implemenation
309 of the Volume reservation code -- make it more general.
310 - Strip double slashes // from Win32 filenames in an attempt
311 to resolve restore problems on some systems.
312 - Fix a minor bugs in the trace code that caused the first
313 line output to be lost.
314 - Implement a good first cut at adding Volume reservation code
315 to the storage daemon (in file reserve.c).
316 - Remove old unused code from the tree.c routines.
320 - Fix compile problems on Win32
321 - Start writing Volume reservation list (already exists, but
322 is not really very good).
323 - Implement attribute caching to put Signature into database
324 at the same time as the file attributes thus eliminating a
325 number of database accesses.
326 - Correct a reservation problem.
327 - Implement full Dir Storage use.
328 - Reduce a bit of TLS #ifdeffing.
334 - Add more documentation to mtx-changer.in
335 - Correct link to manual in authenticate.c in various
337 - Create a new src/stored/reserve.c file where the
338 Use Storage command is processed and drives are
340 - Modify src/stored/autochanger.c to keep track of each
341 Slot that is loaded for each device.
342 - Ensure that changer_command and changer_name are picked
343 up from Autochanger resource if not specified, and if
344 neither is specified, err.
346 - Fix bextract.c compile problem
348 - Make make distclean clean a bit better
350 - Remove old code in jcr.c
351 - Make testls release jcr chain when terminating.
353 - Implement Maximum Job Spool Size (actually DCR based)
355 - Use light weight non-recursive locking on jcr chain.
356 - Make JCR a class and implement inc_use_count() and
357 dec_use_count() methods that ensure that the jcr is
358 locked when inc/dec the use count.
359 - Remove the global jcr lock when traversing the jcr
361 - Use dlist to implement the jcr chain rather than hand
362 crafted next and prev links.
363 - Lock the jcr chain inside each function that modifies
368 - Fix compile problem of ua_restore.c on broken compilers.
369 - Apply patch from bug 326 to permit bacula status by any user.
370 - Fix bug 325 -- conversion of 12:30pm to 24hour time.
372 - Put Dmsg() on inside if() to avoid calling subroutine.
373 - Make restore.bsr have unique name.
374 - Allow user to define bsr filename on restore command line
375 with bootstrap=xxx.bsr
376 - Add limit=nnn to "list jobs" command.
377 - Remove old restore code that did not use .bsr file.
378 - unlink automatically generated bsr file.
379 - Cleanup heartbeat code so that duped fd is almost sure
380 to be released. Previously under certain conditions, the
381 memory was not released due to race conditions.
384 - Unify the reserve_device() for a single device into one subroutine.
386 - Modify wait during use_device to happen only after all devices
387 have been examined rather than in the reserve_device code.
388 - Correct updating count of number of Volumes in a pool.
392 - Add more debug to SD for Autochangers + status output.
393 - Add Scratch to PoolType in PostgreSQL make...tables and do not
394 permit NULL PoolTypes. Fix for bug 319 reported by Eric.
396 - Add quotes around filename in parse_config error message. Bug
399 - Change nested \include to \input so that sections are properly
400 included in the pdf manual -- update the Web site.
401 - Set reconnect flag in MySQL packet to 1 to ensure that connection
402 is re-established. MySQL 5 changed default to 0. Fixes bug report.
403 - Fix Scratch pool handling as reported in a bug by Eric Bollengier
404 by applying his patch.
405 - Remove delete job in favor of delete jobid.
406 - Add = NULL to configfile definitions as reported by Eric in a bug
408 - Update winbacula.nsi.in to reflect new manual file structure.
410 - Correct a minor build problem with wx-console.
411 - Add cancel() to Dir Python scripting.
412 - Re-correct bug in parse-config error handling.
413 - Reorganization of use_command in SD to permit
414 waiting and multiple drive autochanger support.
416 - Correct bug in parse_config error handling.
417 - Where ever possible mark a volume in error or not
419 - Fix bug in changing tape pools after first backup. Reported
421 - Enhance mtx-changer to use Working Directory as temp.
422 - Remove all but initial setup locking of Res in SD.
424 - Add Client OS type to Job report.
425 - Add version to manual
426 - Update the Web site to have a single page for
427 the documentation links.
429 Changes to 1.37.18 release 08May05:
431 - Correct attribute definition compile error in 1.37.17
432 - Correct inverted order of CreateTime and MD5 pointed out
433 by a user in a bug report in FileSet db routine causing
434 the MD5 to print in the output instead of the time/date.
438 - Implement cstrlen() in sql list routines.
439 - Implement caching of attributes to add the
440 signature so that only one DB call will be made
441 per file. Not yet turned on.
442 - Fix Win32 build for TLS.
443 - Optimize File pruning to eliminate one database call.
444 - Fix bug that prevented File pruning from working.
445 - Implement a cstrlen() which returns the character
446 length of a UTF-8 string.
448 - Move test for MaxStartDelay as suggested by Peter.
449 - Implement Python methods (I had to read the Python source
451 - Implement run() method in Director.
452 - Add Priority and Scheduled time to Job report.
453 - Add JobInit and JobRun events.
454 - Add Priority as Python read/write attribute to Job.
455 - Correct typo in bsmtp reported by Jo.
457 Changes to 1.37.16 released 05May05
459 - Make a few tls ifdef tweaks.
460 - Fix create_file.c Win32 problem pointed out by
462 - Fix really ugly bstrncpy() but found by Thorsten.
463 - Move winapi.h/c from findlib to lib for inclusion in
466 - Thorsten Engel finished his work on Win32 Unicode. We
467 now have a single executable that runs on all Win32 machines.
468 - Move job initialization code after job scheduling so that
469 Verify jobs check for the prior JobId after they are really
470 started rather than before.
471 - Fix lib/fnmatch.c so that it does proper testing before folding.
472 - More documentation -- at tls and ansi labels chapters.
473 - Fix fileset_convert.pl to handle empty Exclude statements.
474 - Turn regex back off in Win32
476 - Fix sign extension problem in lex.c that reads UTF-8
477 with Chinese characters incorrectly.
481 - Remove a few HAVE_TLS #ifdefs
482 - Implement final Python style interface. More implemention to
483 be done, but the interface should change little if at all.
485 - Make default no tls support. You must add
486 --with-openssl to get tls support.
488 - Update Web header to include google search in the search
489 box -- thanks to input from Michel Meyers.
490 - Fix md5sum so that it builds with the new openssl stuff.
491 - Take some enhancements to the md5sum test program proposed
494 - Make option 2 of restore work better (list last 20
495 locations for a file).
496 - Make SD re-open a device with the right permissions if
497 it was previously opened with something different. This
498 should allow reading read-only Volumes under all circumstances.
499 - Implement restore of a single directory.
500 - Apply Tru64 patch supplied by Pascal Pederiva <freebsd@paped.com>
501 - Apply Unicode fixes for Win32 from "Thorsten Engel"
502 <thorsten.engel@matrix-computer.com>
503 - More work on Python read feature in FD.
505 - Fix (hopefully) the ftello() overflow reported by Peter.
506 - Landon Fuller committed his TLS patch.
507 - Fixed two minor warnings in console.c with TLS turned off.
508 - Updated the Makefile.in for wx-windows and tray-monitor
509 to handle TLS. I can only build the tray-monitor.
510 - Fix bscan to open tape in read-only mode (actually fix
511 it so that it doesn't use the standard open routine).
512 - Correct what appears to be an error in setting the
513 return value in dvd.c
515 - Get FD Python running -- design Python backup interface.
516 - Fix seg fault in SD when referencing Alert Command.
517 - More documentation.
518 - Fix one more thing in Win32 build.
522 - Put in production here
526 - Fix SQLite and PostgreSQL table creation script syntax
528 - Fix new Python code to work for Director.
529 - Move lib/python.c to lib/pythonlib.c so that debug output
530 is easier to read (can distinguish lib from dird, ...).
531 - Cleanup Python build so that Python is not dragged
532 into programs that don't use it.
536 - Make Bacula build without Python
537 - Drop Status table in drop_ scripts -- bug 283.
539 - First cut of new Python implementation.
541 - Correct SuSE autostart installation directory name --
543 - Fix director crash if Name directive not supplied
545 - More cleanup of changing %u to %s for DB IDs.
546 - Replace dev_can_write(dev) with dev->can_write().
548 - Make fsr_dev() a method dev->fsr()
549 - Remove Created new FileSet message as it always comes out in
551 - eliminate dev_is_tape() in favor of method dev->is_tape()
552 - Turn on disk seeking during restore for Disk Volumes. This
553 required some changes to bscan -- they seem a bit suspect as
554 they are not symmetrical for tape/files.
555 - Remove some of the recursion in stored/parse_bsr.c
556 - Move rescue out to a new Bacula project.
558 - Update of web site to replace old released doc with LaTeX
560 - Replace logo in doc with new bat logo.
561 - Make a good number of updates to the manual.
562 - Implement Python scripting using a Python object.
563 This makes interfacing with Bacula cleaner (object
565 - Add Phil's Status table to the database -- used
566 for getting a text description of the status
568 - Modify FileSet so that an empty Options (no
569 pattern matching) with an exclude will exclude
571 - Modify FileSet so that no top level included File
572 item can be excluded by a matching pattern.
573 - Suppress Created new FileSet record in daemon output.
574 - Implement Python in FD.
575 - Turn off old bfile reader code -- to be replaced
578 - Remove more recursion in src/dird/bsr.c as pointed out
581 - Increase the index width of Filename and Path entries
582 to 255 chars -- suggestion of Meno Abels.
583 - Change remaining VARCHARS to TINYBLOBs.
584 - Remove recursion from is_volume_selected() following
585 bug report from Peter.
586 - Implement mostly correct handling of use_storage in the
587 SD with full lists, ...
589 - Reset NumVols in Pool record from database on every update
591 - Modify DB to support multiple simultaneous copies and
593 - Pass copy and stripe between DIR and SD and put into
594 the JobMedia DB record.
595 - Update and test SQLite and MySQL datebase creation and
597 - Implement version 9 of the DB.
599 - Convert more atoi to str_to_int64() for DB.
600 - Implement filling in NumVols by querying DB rather
601 than trying to keep track of it.
602 - Add storage name to string passed to in use storage=
603 - Fix newVolume() so that the Python script is always
605 - Fix handling of pool,PoolId, and storage in ua_output.
606 - Same fix in ua_status.c
607 - Remove required locking of resources
608 - Replace pthread_cond_signal() by pthread_cond_broadcast()
609 hoping to fix the /lib/tls hang problems (lost signal).
610 - Move resource locking seaching from parse_conf.c to res.c
612 - Modify end of volume handling so that fixup_... does not
613 redo what block.c has already done -- writing Vol info to
614 DIR. This fixes a bug with bad numbers of files on a tape
615 when it filled as reported by Peter.
616 - In release_device() do not update the DIR on the Volume
617 info if the the information was already written at the
620 - NOTE!!!! This version has a new DIR <--> SD protocol. Both
621 must be updated at the same time.
622 - Begin implementation of passing all the Storage and Device
623 possibilities to the SD for examination during the reserve
625 - Modify the reserve and acquire code in the SD to make a
626 job wait if the device is not available.
627 - Implement New Volume Each Job in DIR and pass to SD, not yet
629 - Remove init/update of the Device resource in DIR
630 - Remove passing PoolId to SD and back.
632 - Remove \a and -e from error echos in most Makefiles.
633 - Add more debug code when there are errors on the tape
634 to try to find Peter's tape problem.
635 - Add wait.c (oops forgot previously).
636 - Move all the reserve/acquire_device_for_read/append to have
637 only a DCR as the argument.
638 - Rework the reserve_device_for_append() in stored to wait
639 if the drive is not available. Note! This is a short
642 - Comment out Multiple Connections in the document.
643 - Move the P() and V() to subroutines so that they can be accessed
644 from class methods. The reference to strerror() caused problems.
645 - Implement new DEVICE class methods block() and unblock() that
646 do what was previously done in 3 lines of code.
647 - Implement wait_for_device(), which will wait for any device
648 to be released then return. This requires a new global mutex
649 and condition variable, and is implemented in src/stored/wait.c
650 - Change the code in reserve_device_for_read(), which previously
651 failed the job to use the new device wait code.
653 - Apply reschedule patch to 1.37 code.
654 - Add copyright to title page of manual so it is clear.
655 - Create patch for rescheduling problem found by Ludovic. Storage
656 pointers were lost during rescheduling.
657 - Attempt to fix 2.6 rescue disk -- failed!
658 - Start working on adding a wait routine in the SD.
659 - Cleanup some old invalid doc in watchdog.
660 - Convert a number of references to dev->dev_name to dev->print_name().
661 - Add new wait.c file to SD.
662 - Add a few more methods to DEVICE in SD to cleanup code a
663 bit -- implement a few of the methods.
665 - Fix more print_name()s for printing device name.
666 - Modify open_dev to try 10 times every 6 seconds to
667 open the device if it gets an I/O error (meaning no
668 volume mounted). This gives a bit of settling in time
669 for an autochanger and avoids spurious messages.
670 - Change all yes/no to yes|no in the manual.
671 - Fix win32 create_file.c typo.
672 - Fix a typo in an error message.
674 - Detect if fseeko exists with autoconf. If so, use it
676 - Remove old bacula-*.conf from examples directory (out
678 - Remove latex-fr index files from CVS.
679 - Rewrite code that stops reading the tape so that the
680 tape is marked at EOT, then once the work is done,
681 the EOT flag is removed.
682 - Flush output to file after every send in console.
683 - Make setting VolFiles to smaller number fatal.
684 - Disable Multiple Connections code.
685 - Add patch from user for NetBSD statvsfs() fix to
687 - Take more care with errors in acquire.c
688 - Don't run through dvd code in append.c if bad status
690 - Modify code so that an autochanger fault is fatal.
691 - Use dev->print_name() in more places.
692 - Implement dev->can_steal_lock() to simplify code.
693 - Make btape re-read first 10000 records on fill command.
694 - Check error return and fail job from fseeko and ftello
695 in spool.c. Don't let a -1 slip in as size.
699 - Apply NetBSD patch from kardel in bug 258.
701 - Add a second job and a second client to the default
702 bacula-dir.conf file.
703 - Remove old style Include/Excludes.
704 - Fix ANSI labels to put EOF1 and EOF2 after each file mark.
705 - Add Python to SD and FD.
707 - Implement IBM labels
708 - Implement EOF and EOV labels at the end of a volume.
709 - Fix a rather ugly problem with the PoolId not getting
710 passed correctly. Now the DIR passes the Pool name and
711 Media Type to the SD, who passes them back when requesting
712 the next Volume. The DIR then looks up the correct PoolId.
713 This takes more time, but always works, AND allows wild
714 card Media Types (i.e. the SD can decide).
715 - The DIR <==> SD protocol has changed.
719 - Fix scanf of PoolId in catreq to handle 64 bit Ids.
721 - Add new ua_update.c file and move update_cmd there.
722 - Modify "update slots" to obtain actual number of slots.
723 - Tweak autochanger code to handle new slots request.
724 - Modify autochanger code to lock/unlock around slots and
727 - Patch the FD so that it does not issue an error message if
728 it attempts to restore the permissions on a Win32 drive.
729 - Edit "Resource-name" (physical-name) for the device name
730 everywhere in the SD.
731 - Remove .linked.tex files in preparation for cutover to
732 using .tex in place of .wml.
734 - Copy latest config.sub and config.guess from autoconf.
735 - Try new way of identifying drives with:
736 "resource-name" (physical-name)
737 More work need to a complete conversion.
739 - Rework some of the autochanger data so that the DIR has
740 the number of drives.
741 - Modify the way the Device info is returned so that it comes
742 back as a special message type and can be sent anytime the
743 Device status changes.
744 - Copy the change name and changer command into the device
745 record if none is specified.
746 - Require the change command and changer name to be specified in
747 and AutoChanger resource.
748 - Force all the Media Type records of all devices in an Autochanger
751 - Add new "run" command to Job resource in DIR. This permits
752 cloning a job as many times as you want.
753 - Pass PoolId to SD on Query request. It is now used in the
754 Find_media catalog request.
755 - Reworked the Device resource in the DIR. Eliminated num_waiting
756 and use_count, but added max_writers, reserved, and PoolId.
757 - This DIR is nolonger compatible with previous SDs.
758 - Add since and cloned keywords to the Console run command
760 - Implemented store_alist_str() to allow multiple string items
761 to be specified in a .conf file.
762 - Added %s (since time) to Job code editing.
763 - Reworked reserving drives in the SD. It now does it much simpler
766 - Integrate HP-UX patch from Olivier Mehani <olivier.mehani@linbox.com>
767 - Fix FD job.c to test correctly for no level.
771 - Change Developers to Developer's Guide as requested by Michael.
772 - Fix developers link in manual
773 - Add additional dcr changes in SD to allow multiple dcrs.
775 - Fix a few problems with the MySQL table create in 1.37.
776 - Delete the new tables in the table delete files.
777 - Increase the number of items permitted in a conf table.
778 - Make Director loop over alternative Devices specified in the
779 Storage resource until one is reserved by SD.
780 - Fix storing of StorageId in Media records.
781 - Add AutoSelect = yes|no in bacula-sd.conf
782 - Add Autochanger support to Label command.
783 - Do not autoselect devices with autoselect set false
785 - Implement setting DIR Storage device to Autochanger
787 - Select first available device in Autochanger.
788 - Pass back actual device name used.
789 - Allow Query of AutoChanger.
790 - Modify Query to include name of AutoChanger if
791 Device belongs to one.
792 - Remove old Pool code in jobq.c
793 - Add Autoselect flag to query and DEVICE class (still
796 - Lock autochanger script when running.
797 - Mark Volume not InChanger if correct volume is not
799 - Corrected some typos in the make_xxx_tables.in files.
800 - Made preliminary split of pre-run and run code for each
801 job type. This will permit early opening of SD for reserving
803 - Add offline and autochanger fields to Device Query record.
804 - Correct pthread_mutex_init() for autochanger in SD.
805 - Tweak Makefile for LaTeX manual, plus add nav buttons.
807 - Clean up drive reservation system. Add more sanity checks.
808 - Implement a few more methods for the DEVICE class in SD.
809 - Add latex directories to make clean
810 - move DEV_BSIZE to B_DEV_BSIZE to avoid conflicts with
811 certain header files (FreeBSD).
813 - Fix an ASSERT that was triggering in stored/acquire.c
814 attempt to fix a bug report.
816 - Corrected SunOs to SunOS in btraceback (user submitted).
817 - Applied patch from Roger HÃ¥kansson <hson@ludd.luth.se>
818 to warn the user of defective AWKs during ./configure.
820 - Add some changes submitted by a user for HP client build.
821 Not all changes accepted.
822 - Rework code in filed/backup.c to ease #ifdefing and make
823 program flow more obvious.
824 - Split DVD code out of dev.c into dvd.c
825 - Tweak #ifdefing to add back all the performance measurement
826 #defines in version.h
827 - Put most of MTIOCGET code in a subroutine to simplify the
829 - Make clean remove old CVS files
830 - Remove unnecessary image files from Latex directory
831 - Implement remaining parts of Storage DB record and
832 its use in the Director.
834 FullMaxWaitTime, Differential Max Wait Time, and
835 Incremental Max Wait time in Job resource.
836 - Start work on SD Autochanger code.
838 - Add back JobId index for MySQL as default -- speeds up
840 - Add more database fields and fix the update scripts to
841 include the new items.
842 - Pass actual level to FD so that ClientRun editing can reflect
843 correct level -- ditto for job status. This makes the DIR
844 incompatible with older clients!
845 - Move jobq.c acquire resources to static subroutine so that
846 the code logic becomes clearer. This is in preparation for
847 actually using the new Device resources.
848 - Fix some lower case problems in sql_cmds.c reported by
850 - Correct a seg fault in the SD reported by a user. Occurred
851 only when a high debug level was set.
852 - Modify init_dev() in dev.c to take JCR as first arg so that
853 proper error messages can be reported in next item.
854 - Modify the query and use device SD commands to attempt to
855 open the device if it could not previously be opened.
856 - Correct error message for Could not reserve device.
857 - Correct some minor details with Autochanger resource in SD.
859 - Fix seg fault if debug level 900 set in SD.
860 - Truncate Win32 child return code to 8 bits.
861 - Remove some old lld's.
865 - Make another attempt at fixing the ClientRunXXX return code
866 bug on Win32 machines.
867 - Apply ua_status patch from Carsten Paeth <calle@calle.in-berlin.de>
868 which enforces console ACLs in the status command for Jobs.
870 - Fix Media LabelDate and FirstWritten to be correctly set.
871 - Fix deadlock in multiple simultaneous jobs.
872 - Fix tape "truncation"/"number of files" after restore bug.
874 - Ensure that correct error messages are returned when
875 reading an ANSI label.
877 - Modified ANSI label code to preserve any ANSI label
878 already found by skipping over it rather than rewriting
880 - Split the ANSI label code into ansi_label.c
881 - Do not let user relabel an ANSI labeled tape.
882 - Applied a patch for the console help command supplied
884 - Added some new dev methods. Most notably was
885 set_eof(), which handles setting all the dev variables
886 when an EOF is just read. This is now used most everywhere
889 - Added code to detect that no files were inserted into the
890 tree for a restore. If a specific JobId was specified, the
891 user has the option of restoring everything.
892 - More progress in implementing 64 bit DB Ids.
893 - Modified the daemon start messages for RH.
894 - Implement update scripts for all database types.
895 - First cut at implementing restore directory (it will not
898 - OK, I think ANSI labels work.
899 - Added Label Type = ANSI|IBM|Bacula to Device resource in SD.
900 If this is set, it will force writing of the appropriate
902 - Added Check Labels = yes|no to Device resource in SD. If this
903 is set, Bacula will check for ANSI labels and accept them,
904 otherwise, ANSI labels will not be accepted when the tape
907 - Second cut ANSI labels.
909 - Merge Preben's patch for ACLs and for Mac OS X resource forks.
911 - Display more informative message when a device was not
912 found or could not be opened.
913 - Add the sqlite3 database scripts.
914 - Add some patches for 1.36.1 (note, I have now prepared
915 a 1.36.2 with all the patches and some new features --
917 - Some minor doc updates.
918 - Add Arno's baculareport.pl script to the examples directory.
919 29Jan05 -- after vacation
920 - Add support for SQLite3 (it seems to run at 1/2 the speed
921 of SQLite2). Use --with-sqlite3 instead of --with-sqlite
923 - Add target for running qemu to boot Rescue CDROM
924 - Add code to support kernel 2.6 in Rescue CDROM -- does NOT yet
926 - Implement ANSI labels -- not yet tested.
927 This required changes to DB format. No upgrade script yet.
928 Note, more work needed to modify "update" command to handle
929 changing label types, also must restrict volume name lengths
931 - Add new Device, Storage, and MediaType records to DB. No
933 - Add MediaType to bsr file record types. Not yet used in SD.
934 - Permit multiple device specifications in Storage resource in
936 - Implement Device resources. Director requests Device resource
937 info from SD on startup.
938 - Note!!!! DIR->SD incompatible with previous versions.
939 - Remove multiple Storage definitions in Job resource. One can
940 still specify multiple Storage resources, but they all go into
941 a single alist, and imply sending data to each Storage daemon
943 - Implement Device query command between DIR and SD.
944 - Allow DIR to "reserve" a Device. It will then be acquired
945 when the FD connects to the SD.
946 - Turn all DIR resources into classes, and implement a few class
947 methods -- more to come.
948 - Turn DEVICE in SD into a class, and implement a number of inline
949 class methods -- more to come.
950 - I had serious problems with ACL errors on my Laptop, and so had
951 to add the following patch:
954 /***** Do we really want to silently ignore errors from acl_get_file
955 and acl_to_text? *****/
960 - Reworked and tested a bit the htable routines.
961 - Major changes to SD acquire.c -- DIR can now reserve devices. Needs
963 - Made a special state code for DVD -- this simplifies the logic
964 of the code, but I probably broke it. Testing needed!!!!
965 - Add AutoChanger resource to SD, but not yet used.
969 - Integrate Preben 'Peppe' Guldberg <peppe@wielders.org>'s
970 acl patch. Fix case where configured but no ACL exists.
971 Rework calling arguments to be shorter and positioned
972 more typically in Bacula usage.
974 - Fix scripts/bacula.in to have awk on an environment variable
975 and add comments for Solaris users.
976 - Turn off inet_aton in src/lib/address_conf.c for Win32
977 - Add new files to win32 build and eliminate a compiler warning.
978 - Add sample DVD Device resource to bacula-sd.conf
980 - Integrate Nicolas' patch for direct DVD support.
982 - Fix fstype error returns.
983 - Apply Preben's cleanup.patch which puts back much of the
984 cleanup code in src/filed/restore.c
986 - Apply all of Preben's patches, but revert to old backup.c
987 and old restore.c in filed. Also turn off code in new
988 acl.c because of errors. The new code, when fully implemented
989 moves platform specific code into acl.c.
990 One of the patches also implements WildFile and WildDir -- thanks.
992 - Implement Python in the SD (no events yet though).
993 - Fix some typos in the previous commit.
995 - Enhance CDROM boot to include some documentation at boot time.
996 - NOTE!!!!! The CDROM will not boot 2.6 kernels because the
997 boot sequence has changed significantly. Updates to come
999 - Add memtest option to CDROM boot.
1000 - Include Nicolas' changes to fix llist JobMedia records.
1001 - Make sure that ClientRunBefore/After messages from the program
1002 are terminated with a newline. Add strerror to output error
1004 - Return program exit status code in Win32.
1006 - Add memtest86 to Bacula Rescue disk
1007 - Enhance Rescue disk startup screen
1009 - Move some variables to eliminate Solaris 2.6 compiler warnings.
1010 - Fix the seg fault at the end of a job in the FD when using
1011 old style include/excludes.
1013 - Apply Preben's ACL patch.
1014 - Integrate Preben's restore patch.
1015 - Integrate Preben's verify teaks.
1016 - Fix doc/latex/Makefile to copy/remove .eps files when building
1017 html and web outputs.
1019 - Fix Bacula so that it does not exit if there is a syntax error
1020 in its conf file during a reload command. Bug 182.
1021 - Apply fixes suggested for old Solaris networking.
1023 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
1024 three patches that clean up white space:
1025 ws.patch.02.strings:
1026 Breaks strings that span lines into concatenated strings. I am not sure
1027 if you like this one. Other code works with concatenated strings, though.
1028 ws.patch.03.trailing:
1029 This removes trailing whitespace. No changes resulted from this for
1031 ws.patch.04.leading:
1032 This replaces space runs at the start of line with tabs. No changes
1034 - Fix overriding storage specification to be done
1035 through a subroutine.
1036 - Fix autoconf so it runs with FC3.
1037 - Add Python4.3 to configure search paths.
1038 - Always copy and delete storage definitions into jcr.
1039 - Check that VolumeName supplied by Python is valid.
1042 - Fix undefined in non-Python build.
1043 - Update rescue disk to include mkinitrd
1044 - Fix umount_drives in rescue disk (only one arg to umount)
1045 - Ensure that if SD is manually set in Console, it is used.
1046 - Put generate_event on pointer and plug it in init. This
1047 permits using it in /lib
1048 - Correct despooling size reported to be Job specific rather
1049 than for the whole drive.
1051 - Fix bug 207. jcr use count off by one when manually
1053 - Remove FNMATCH test in configure.in and always use
1054 the one in our library to get the FN_CASEFOLD GNU
1055 extensions on all platforms.
1056 - While using the rescue CDROM after my computer would not
1057 boot, I realized that it would be very useful to have
1058 a umount_disks. So, it is not implemented, along with
1059 updates to the READMEs and some minor tweaks.
1060 - Moved mounting the CDROM in the rescue boot from /cdrom
1061 to /mnt/cdrom (more standard location).
1062 - Reboot in CDROM rescue should now work -- requires -d
1063 option (no write) to work.
1064 - Hopefully fixed all the IPV6/4 problems and buffer
1065 problems with networking in lib. Bugs 190 and 204.
1066 Cleaned up a lot of #ifdefing problems by using routines
1069 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
1071 - Remove duplicate code from chksum.h (mentioned by Preben).
1073 - Integrate Tim Oberfoell <oberfoell@web.de> patch to ACLs
1074 to handle both the "standard" and "default" ACLs.
1076 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1077 three cleanup patches (btest, verify, find).
1078 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1079 three cleanup patches (backup, chksum, and verify)
1081 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1082 patch to avoid doing MTIOCGET on OSes that do not support
1084 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1085 patch to add filesystem type matching to FileSets in the
1087 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1088 patch to add Mac OSX resource fork support (save/restore)
1089 to Bacula -- HFS Plus support.
1090 - Add FileSet to client Job listing query.
1092 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1093 patch to backup directories skipped (due to no file system
1094 changes or no recursion), and to add a slash to the end
1095 of the directory name during the match process.
1096 - Implement Jamie ffolliott <jamieff@inline.net>
1097 patch to dird_conf.c that enables Multiple Connections and
1098 fixes a typo in show. The rest of his patch awaits my suggested
1101 - Implement run command in Python
1103 - Implement conversion of the manual, and some minor
1104 tweaks to the script tags.
1105 - Apply a patch supplied by Preben 'Peppe' Guldberg that implements
1106 ignore case in wild cards and regexes.
1107 - Fix a truncated line in the above patch due to my cut and paste.
1109 - Fix it so that the InChanger flag is only changed for Volumes
1111 - Add PIDOF configuration path and apply to bacula.in
1112 - Add user supplied patch to add inet_aton() of old Solaris
1114 - Require pools to match before allowing multiple simultaneous
1115 accesses to same storage resource.
1116 - Add patch supplied by Martin to correct buffer overrun in
1117 bsnprintf() with no library snprintf().
1119 - Apply user supplied patch that implements No Hard Links.
1120 - Document Python interface
1121 - Add hardlink keyword patch supplied by David R Bosso <dbosso@lsit.ucsb.edu>
1123 - Fix non-python prototypes in dummy routines.
1124 - Add python 2.3 to config search list (user submitted patch)
1125 - Add JobStatus to Python variables.
1127 - Add "python restart" command in Console.
1128 - Make built-in variables table driven.
1129 - First cut of Python Events for Bacula. Director only.
1130 StartJob, EndJob, NewVolume events.
1132 Version 1.36.1 Released 26Nov04:
1134 - Take Dan's fix to the fix_postgresql_tables (thanks Dan)
1135 - Increase Maximum Concurrent Jobs to 20 in SD and FD!
1136 - Fix improper handling of autochanger Volumes that are not
1137 marked InChanger. Bug 170.
1139 - Update authentication failure message to indicate possible
1140 problem with Maximum Concurrent Jobs. Add to doc too.
1141 - Commit PostgreSQL BIGINT fix -- apparently some people didn't
1143 - Do not use a slot unless it is InChanger in the autochanger
1144 code, otherwise autochanger gets upset not finding the Volume.
1145 Bug 170 (need fix above too).
1147 - Make authentication timeout compile time configurable.
1148 The value is set in src/baconfig.h
1149 - Fix removing items from watchdog queue, which apparently
1150 screwed up if there was more than one item.
1151 - Rework mediaformat part of manual to separate out old
1152 tape format for easier reading.
1153 - Add a lot of debug code to the authentication code.
1154 - Add seconds to the start/end times printed in the job report.
1156 - Fix mutex deadlock in dequeue of messages.
1157 - Add debug code to FD authorization.
1159 - Increase authentication timeouts to 10 minutes.
1161 - Fix cancel bug in FD on /lib/tls with zero pid in
1163 - Add date/time to all messages.
1164 - Make Qmsg use time message was queued rather than time
1166 - Indent job output two spaces.
1168 - Fix web page links for new manual.
1169 - Grant postgresql permission to cdimages.
1170 - Correct crash after "list nextvol" "list media" bug 160
1172 - Fix scripts/Makefile.in missing ;\ -- thanks Martin
1173 - A bit of work on btape to keep if from going into infinite
1174 loops when things do not work well, and to print a bit
1177 - JobDefs Storage resource completely overrode anything
1178 specified in Job resource -- bug 159 -- fixed.
1179 - Fix syntax of renaming postgresql per Dan.
1180 - Add working_directory to be /tmp for wx_console.
1182 - Allow both a JobId and a filename or list of files to be
1183 specified on a restore command line.
1184 - Save old mtx-changer before installing new one: bug 156
1185 - Fix errors in CDROM file pointed out by Scott.
1187 - Fix exepath when Bacula executed without path.
1188 - Move test for socket libraries for Solaris in configure.in
1189 before tcp wrapper tests so that linking works.
1190 - Add "make copy-static-fd" to makefile in CDROM file to
1191 copy existing static fd to CDROM rather than building it.
1194 - Fix ps command for OpenBSD
1195 - Rework the creation of indexes for SQL -- fall back
1196 to the old code, but document what can be added.
1198 - Add new Daemon message handler in default DIR conf.
1200 - Fix Seg Fault with -D100 in bpipe.c.
1201 - Fix Seg Fault in run specifying a JobId.
1202 - Make mail from daemon with a Messages Resource use
1203 the MailCommand with editing rather than the default
1205 - Replace Jmsg in dispatch_message() with Qmsg.
1206 - Make edit_job_codes handle NULL jcr.
1208 - Add M_ALERT class and put tape alerts into it.
1209 - Fix Verify count vs found by not double counting files
1210 that are split across files/Volumes.
1212 - Fix count returned from write_bsr_file() to handle multiple
1213 volumes. This fixes most cases of the Verify VolumeToCatalog.
1214 - Cleanup a bit the make clean for the rescue cdrom and remove
1215 unneeded files from the CVS.
1217 - Fixed acquiring a tape so that it does not block all acquires
1218 when operator intervention is needed.
1219 - Platform build script updates from Scott
1221 - Add patch to force Linux LD_ASSUME_KERNEL to avoid using the
1222 new /lib/tls. This is done in the startup scripts.
1223 - Modify mtx-changer so that it checks for ONLINE while
1225 - Modify make_postgresql_tables.in so that EndBlock is stored
1226 as a bigint. Prevents job failures when a disk volume is
1229 - Add grep ONLINE to wait_for_drive() in mtx-changer.in
1231 - Rebuild Scott's new configure