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