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