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