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