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