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