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