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