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