1 Technical notes on version 1.37
6 Changes to 1.37.25 release on 20 Jun 05:
8 - Fix bug where Storage daemon gets confused about what
9 tape is mounted. (one line of code was inadvertently
14 - DVD writing/reading seems to be mostly working.
15 - Set execute bits on dvd-freespace and dvd-writepart
16 - Make dvd-freespace use existing dummy file.
17 - Modify dvd-freespace to pickup size from Track Size:
19 - Add Date, Job, level to updates to .bsr file in
21 - Add debug info to dvd-freespace.in
22 - Fix hard coded bacula.sql in make_catalog_backup reported
24 - Make sure a verify volume to catalog never reports an error
25 if there are zero files to verify.
26 - Remove confusing debug info in filed/backup.c on network
28 - Make sure output from console is not sent to system log.
29 - Convert open_dev() into a class method.
30 - Change VolHdr.VolName to VolHdr.VolumeName.
31 - Add a flag in the device state word to indicate that
32 we found Media in the drive (DVD).
33 - Make mount_dev() and unmount_dev() return bool.
37 - Fix the same state variable problem in open_next_part().
38 - C++ify the SD code a bit more.
40 - Add more debug code and clarify debug code for DVDs.
41 - Do not save and restore state in open_first_part()
42 since state should be properly set after open_dev().
43 - Make default mandir /usr/share/man
44 - Install Bacula man page.
45 - Implement passing of FileSet Enable VSS to FD.
46 - Move main body of reserve drive code into subroutine
47 so that it can be called multiple times.
49 - Eliminate getpass() for Win32 builds in console as the
50 function does not exist.
52 - Correct some reservation problems in SD when no devices
54 - Start removing #ifdef HAVE_TLS by sneaky tricks.
55 - Begin implementation of TLS in wx-console
56 - Remove ignoring SIGCHLD from console.
57 - Rework the dlist binary search routines for implemenation
58 of the Volume reservation code -- make it more general.
59 - Strip double slashes // from Win32 filenames in an attempt
60 to resolve restore problems on some systems.
61 - Fix a minor bugs in the trace code that caused the first
62 line output to be lost.
63 - Implement a good first cut at adding Volume reservation code
64 to the storage daemon (in file reserve.c).
65 - Remove old unused code from the tree.c routines.
69 - Fix compile problems on Win32
70 - Start writing Volume reservation list (already exists, but
71 is not really very good).
72 - Implement attribute caching to put Signature into database
73 at the same time as the file attributes thus eliminating a
74 number of database accesses.
75 - Correct a reservation problem.
76 - Implement full Dir Storage use.
77 - Reduce a bit of TLS #ifdeffing.
83 - Add more documentation to mtx-changer.in
84 - Correct link to manual in authenticate.c in various
86 - Create a new src/stored/reserve.c file where the
87 Use Storage command is processed and drives are
89 - Modify src/stored/autochanger.c to keep track of each
90 Slot that is loaded for each device.
91 - Ensure that changer_command and changer_name are picked
92 up from Autochanger resource if not specified, and if
93 neither is specified, err.
95 - Fix bextract.c compile problem
97 - Make make distclean clean a bit better
99 - Remove old code in jcr.c
100 - Make testls release jcr chain when terminating.
102 - Implement Maximum Job Spool Size (actually DCR based)
104 - Use light weight non-recursive locking on jcr chain.
105 - Make JCR a class and implement inc_use_count() and
106 dec_use_count() methods that ensure that the jcr is
107 locked when inc/dec the use count.
108 - Remove the global jcr lock when traversing the jcr
110 - Use dlist to implement the jcr chain rather than hand
111 crafted next and prev links.
112 - Lock the jcr chain inside each function that modifies
117 - Fix compile problem of ua_restore.c on broken compilers.
118 - Apply patch from bug 326 to permit bacula status by any user.
119 - Fix bug 325 -- conversion of 12:30pm to 24hour time.
121 - Put Dmsg() on inside if() to avoid calling subroutine.
122 - Make restore.bsr have unique name.
123 - Allow user to define bsr filename on restore command line
124 with bootstrap=xxx.bsr
125 - Add limit=nnn to "list jobs" command.
126 - Remove old restore code that did not use .bsr file.
127 - unlink automatically generated bsr file.
128 - Cleanup heartbeat code so that duped fd is almost sure
129 to be released. Previously under certain conditions, the
130 memory was not released due to race conditions.
133 - Unify the reserve_device() for a single device into one subroutine.
135 - Modify wait during use_device to happen only after all devices
136 have been examined rather than in the reserve_device code.
137 - Correct updating count of number of Volumes in a pool.
141 - Add more debug to SD for Autochangers + status output.
142 - Add Scratch to PoolType in PostgreSQL make...tables and do not
143 permit NULL PoolTypes. Fix for bug 319 reported by Eric.
145 - Add quotes around filename in parse_config error message. Bug
148 - Change nested \include to \input so that sections are properly
149 included in the pdf manual -- update the Web site.
150 - Set reconnect flag in MySQL packet to 1 to ensure that connection
151 is re-established. MySQL 5 changed default to 0. Fixes bug report.
152 - Fix Scratch pool handling as reported in a bug by Eric Bollengier
153 by applying his patch.
154 - Remove delete job in favor of delete jobid.
155 - Add = NULL to configfile definitions as reported by Eric in a bug
157 - Update winbacula.nsi.in to reflect new manual file structure.
159 - Correct a minor build problem with wx-console.
160 - Add cancel() to Dir Python scripting.
161 - Re-correct bug in parse-config error handling.
162 - Reorganization of use_command in SD to permit
163 waiting and multiple drive autochanger support.
165 - Correct bug in parse_config error handling.
166 - Where ever possible mark a volume in error or not
168 - Fix bug in changing tape pools after first backup. Reported
170 - Enhance mtx-changer to use Working Directory as temp.
171 - Remove all but initial setup locking of Res in SD.
173 - Add Client OS type to Job report.
174 - Add version to manual
175 - Update the Web site to have a single page for
176 the documentation links.
178 Changes to 1.37.18 release 08May05:
180 - Correct attribute definition compile error in 1.37.17
181 - Correct inverted order of CreateTime and MD5 pointed out
182 by a user in a bug report in FileSet db routine causing
183 the MD5 to print in the output instead of the time/date.
187 - Implement cstrlen() in sql list routines.
188 - Implement caching of attributes to add the
189 signature so that only one DB call will be made
190 per file. Not yet turned on.
191 - Fix Win32 build for TLS.
192 - Optimize File pruning to eliminate one database call.
193 - Fix bug that prevented File pruning from working.
194 - Implement a cstrlen() which returns the character
195 length of a UTF-8 string.
197 - Move test for MaxStartDelay as suggested by Peter.
198 - Implement Python methods (I had to read the Python source
200 - Implement run() method in Director.
201 - Add Priority and Scheduled time to Job report.
202 - Add JobInit and JobRun events.
203 - Add Priority as Python read/write attribute to Job.
204 - Correct typo in bsmtp reported by Jo.
206 Changes to 1.37.16 released 05May05
208 - Make a few tls ifdef tweaks.
209 - Fix create_file.c Win32 problem pointed out by
211 - Fix really ugly bstrncpy() but found by Thorsten.
212 - Move winapi.h/c from findlib to lib for inclusion in
215 - Thorsten Engel finished his work on Win32 Unicode. We
216 now have a single executable that runs on all Win32 machines.
217 - Move job initialization code after job scheduling so that
218 Verify jobs check for the prior JobId after they are really
219 started rather than before.
220 - Fix lib/fnmatch.c so that it does proper testing before folding.
221 - More documentation -- at tls and ansi labels chapters.
222 - Fix fileset_convert.pl to handle empty Exclude statements.
223 - Turn regex back off in Win32
225 - Fix sign extension problem in lex.c that reads UTF-8
226 with Chinese characters incorrectly.
230 - Remove a few HAVE_TLS #ifdefs
231 - Implement final Python style interface. More implemention to
232 be done, but the interface should change little if at all.
234 - Make default no tls support. You must add
235 --with-openssl to get tls support.
237 - Update Web header to include google search in the search
238 box -- thanks to input from Michel Meyers.
239 - Fix md5sum so that it builds with the new openssl stuff.
240 - Take some enhancements to the md5sum test program proposed
243 - Make option 2 of restore work better (list last 20
244 locations for a file).
245 - Make SD re-open a device with the right permissions if
246 it was previously opened with something different. This
247 should allow reading read-only Volumes under all circumstances.
248 - Implement restore of a single directory.
249 - Apply Tru64 patch supplied by Pascal Pederiva <freebsd@paped.com>
250 - Apply Unicode fixes for Win32 from "Thorsten Engel"
251 <thorsten.engel@matrix-computer.com>
252 - More work on Python read feature in FD.
254 - Fix (hopefully) the ftello() overflow reported by Peter.
255 - Landon Fuller committed his TLS patch.
256 - Fixed two minor warnings in console.c with TLS turned off.
257 - Updated the Makefile.in for wx-windows and tray-monitor
258 to handle TLS. I can only build the tray-monitor.
259 - Fix bscan to open tape in read-only mode (actually fix
260 it so that it doesn't use the standard open routine).
261 - Correct what appears to be an error in setting the
262 return value in dvd.c
264 - Get FD Python running -- design Python backup interface.
265 - Fix seg fault in SD when referencing Alert Command.
266 - More documentation.
267 - Fix one more thing in Win32 build.
271 - Put in production here
275 - Fix SQLite and PostgreSQL table creation script syntax
277 - Fix new Python code to work for Director.
278 - Move lib/python.c to lib/pythonlib.c so that debug output
279 is easier to read (can distinguish lib from dird, ...).
280 - Cleanup Python build so that Python is not dragged
281 into programs that don't use it.
285 - Make Bacula build without Python
286 - Drop Status table in drop_ scripts -- bug 283.
288 - First cut of new Python implementation.
290 - Correct SuSE autostart installation directory name --
292 - Fix director crash if Name directive not supplied
294 - More cleanup of changing %u to %s for DB IDs.
295 - Replace dev_can_write(dev) with dev->can_write().
297 - Make fsr_dev() a method dev->fsr()
298 - Remove Created new FileSet message as it always comes out in
300 - eliminate dev_is_tape() in favor of method dev->is_tape()
301 - Turn on disk seeking during restore for Disk Volumes. This
302 required some changes to bscan -- they seem a bit suspect as
303 they are not symmetrical for tape/files.
304 - Remove some of the recursion in stored/parse_bsr.c
305 - Move rescue out to a new Bacula project.
307 - Update of web site to replace old released doc with LaTeX
309 - Replace logo in doc with new bat logo.
310 - Make a good number of updates to the manual.
311 - Implement Python scripting using a Python object.
312 This makes interfacing with Bacula cleaner (object
314 - Add Phil's Status table to the database -- used
315 for getting a text description of the status
317 - Modify FileSet so that an empty Options (no
318 pattern matching) with an exclude will exclude
320 - Modify FileSet so that no top level included File
321 item can be excluded by a matching pattern.
322 - Suppress Created new FileSet record in daemon output.
323 - Implement Python in FD.
324 - Turn off old bfile reader code -- to be replaced
327 - Remove more recursion in src/dird/bsr.c as pointed out
330 - Increase the index width of Filename and Path entries
331 to 255 chars -- suggestion of Meno Abels.
332 - Change remaining VARCHARS to TINYBLOBs.
333 - Remove recursion from is_volume_selected() following
334 bug report from Peter.
335 - Implement mostly correct handling of use_storage in the
336 SD with full lists, ...
338 - Reset NumVols in Pool record from database on every update
340 - Modify DB to support multiple simultaneous copies and
342 - Pass copy and stripe between DIR and SD and put into
343 the JobMedia DB record.
344 - Update and test SQLite and MySQL datebase creation and
346 - Implement version 9 of the DB.
348 - Convert more atoi to str_to_int64() for DB.
349 - Implement filling in NumVols by querying DB rather
350 than trying to keep track of it.
351 - Add storage name to string passed to in use storage=
352 - Fix newVolume() so that the Python script is always
354 - Fix handling of pool,PoolId, and storage in ua_output.
355 - Same fix in ua_status.c
356 - Remove required locking of resources
357 - Replace pthread_cond_signal() by pthread_cond_broadcast()
358 hoping to fix the /lib/tls hang problems (lost signal).
359 - Move resource locking seaching from parse_conf.c to res.c
361 - Modify end of volume handling so that fixup_... does not
362 redo what block.c has already done -- writing Vol info to
363 DIR. This fixes a bug with bad numbers of files on a tape
364 when it filled as reported by Peter.
365 - In release_device() do not update the DIR on the Volume
366 info if the the information was already written at the
369 - NOTE!!!! This version has a new DIR <--> SD protocol. Both
370 must be updated at the same time.
371 - Begin implementation of passing all the Storage and Device
372 possibilities to the SD for examination during the reserve
374 - Modify the reserve and acquire code in the SD to make a
375 job wait if the device is not available.
376 - Implement New Volume Each Job in DIR and pass to SD, not yet
378 - Remove init/update of the Device resource in DIR
379 - Remove passing PoolId to SD and back.
381 - Remove \a and -e from error echos in most Makefiles.
382 - Add more debug code when there are errors on the tape
383 to try to find Peter's tape problem.
384 - Add wait.c (oops forgot previously).
385 - Move all the reserve/acquire_device_for_read/append to have
386 only a DCR as the argument.
387 - Rework the reserve_device_for_append() in stored to wait
388 if the drive is not available. Note! This is a short
391 - Comment out Multiple Connections in the document.
392 - Move the P() and V() to subroutines so that they can be accessed
393 from class methods. The reference to strerror() caused problems.
394 - Implement new DEVICE class methods block() and unblock() that
395 do what was previously done in 3 lines of code.
396 - Implement wait_for_device(), which will wait for any device
397 to be released then return. This requires a new global mutex
398 and condition variable, and is implemented in src/stored/wait.c
399 - Change the code in reserve_device_for_read(), which previously
400 failed the job to use the new device wait code.
402 - Apply reschedule patch to 1.37 code.
403 - Add copyright to title page of manual so it is clear.
404 - Create patch for rescheduling problem found by Ludovic. Storage
405 pointers were lost during rescheduling.
406 - Attempt to fix 2.6 rescue disk -- failed!
407 - Start working on adding a wait routine in the SD.
408 - Cleanup some old invalid doc in watchdog.
409 - Convert a number of references to dev->dev_name to dev->print_name().
410 - Add new wait.c file to SD.
411 - Add a few more methods to DEVICE in SD to cleanup code a
412 bit -- implement a few of the methods.
414 - Fix more print_name()s for printing device name.
415 - Modify open_dev to try 10 times every 6 seconds to
416 open the device if it gets an I/O error (meaning no
417 volume mounted). This gives a bit of settling in time
418 for an autochanger and avoids spurious messages.
419 - Change all yes/no to yes|no in the manual.
420 - Fix win32 create_file.c typo.
421 - Fix a typo in an error message.
423 - Detect if fseeko exists with autoconf. If so, use it
425 - Remove old bacula-*.conf from examples directory (out
427 - Remove latex-fr index files from CVS.
428 - Rewrite code that stops reading the tape so that the
429 tape is marked at EOT, then once the work is done,
430 the EOT flag is removed.
431 - Flush output to file after every send in console.
432 - Make setting VolFiles to smaller number fatal.
433 - Disable Multiple Connections code.
434 - Add patch from user for NetBSD statvsfs() fix to
436 - Take more care with errors in acquire.c
437 - Don't run through dvd code in append.c if bad status
439 - Modify code so that an autochanger fault is fatal.
440 - Use dev->print_name() in more places.
441 - Implement dev->can_steal_lock() to simplify code.
442 - Make btape re-read first 10000 records on fill command.
443 - Check error return and fail job from fseeko and ftello
444 in spool.c. Don't let a -1 slip in as size.
448 - Apply NetBSD patch from kardel in bug 258.
450 - Add a second job and a second client to the default
451 bacula-dir.conf file.
452 - Remove old style Include/Excludes.
453 - Fix ANSI labels to put EOF1 and EOF2 after each file mark.
454 - Add Python to SD and FD.
456 - Implement IBM labels
457 - Implement EOF and EOV labels at the end of a volume.
458 - Fix a rather ugly problem with the PoolId not getting
459 passed correctly. Now the DIR passes the Pool name and
460 Media Type to the SD, who passes them back when requesting
461 the next Volume. The DIR then looks up the correct PoolId.
462 This takes more time, but always works, AND allows wild
463 card Media Types (i.e. the SD can decide).
464 - The DIR <==> SD protocol has changed.
468 - Fix scanf of PoolId in catreq to handle 64 bit Ids.
470 - Add new ua_update.c file and move update_cmd there.
471 - Modify "update slots" to obtain actual number of slots.
472 - Tweak autochanger code to handle new slots request.
473 - Modify autochanger code to lock/unlock around slots and
476 - Patch the FD so that it does not issue an error message if
477 it attempts to restore the permissions on a Win32 drive.
478 - Edit "Resource-name" (physical-name) for the device name
479 everywhere in the SD.
480 - Remove .linked.tex files in preparation for cutover to
481 using .tex in place of .wml.
483 - Copy latest config.sub and config.guess from autoconf.
484 - Try new way of identifying drives with:
485 "resource-name" (physical-name)
486 More work need to a complete conversion.
488 - Rework some of the autochanger data so that the DIR has
489 the number of drives.
490 - Modify the way the Device info is returned so that it comes
491 back as a special message type and can be sent anytime the
492 Device status changes.
493 - Copy the change name and changer command into the device
494 record if none is specified.
495 - Require the change command and changer name to be specified in
496 and AutoChanger resource.
497 - Force all the Media Type records of all devices in an Autochanger
500 - Add new "run" command to Job resource in DIR. This permits
501 cloning a job as many times as you want.
502 - Pass PoolId to SD on Query request. It is now used in the
503 Find_media catalog request.
504 - Reworked the Device resource in the DIR. Eliminated num_waiting
505 and use_count, but added max_writers, reserved, and PoolId.
506 - This DIR is nolonger compatible with previous SDs.
507 - Add since and cloned keywords to the Console run command
509 - Implemented store_alist_str() to allow multiple string items
510 to be specified in a .conf file.
511 - Added %s (since time) to Job code editing.
512 - Reworked reserving drives in the SD. It now does it much simpler
515 - Integrate HP-UX patch from Olivier Mehani <olivier.mehani@linbox.com>
516 - Fix FD job.c to test correctly for no level.
520 - Change Developers to Developer's Guide as requested by Michael.
521 - Fix developers link in manual
522 - Add additional dcr changes in SD to allow multiple dcrs.
524 - Fix a few problems with the MySQL table create in 1.37.
525 - Delete the new tables in the table delete files.
526 - Increase the number of items permitted in a conf table.
527 - Make Director loop over alternative Devices specified in the
528 Storage resource until one is reserved by SD.
529 - Fix storing of StorageId in Media records.
530 - Add AutoSelect = yes|no in bacula-sd.conf
531 - Add Autochanger support to Label command.
532 - Do not autoselect devices with autoselect set false
534 - Implement setting DIR Storage device to Autochanger
536 - Select first available device in Autochanger.
537 - Pass back actual device name used.
538 - Allow Query of AutoChanger.
539 - Modify Query to include name of AutoChanger if
540 Device belongs to one.
541 - Remove old Pool code in jobq.c
542 - Add Autoselect flag to query and DEVICE class (still
545 - Lock autochanger script when running.
546 - Mark Volume not InChanger if correct volume is not
548 - Corrected some typos in the make_xxx_tables.in files.
549 - Made preliminary split of pre-run and run code for each
550 job type. This will permit early opening of SD for reserving
552 - Add offline and autochanger fields to Device Query record.
553 - Correct pthread_mutex_init() for autochanger in SD.
554 - Tweak Makefile for LaTeX manual, plus add nav buttons.
556 - Clean up drive reservation system. Add more sanity checks.
557 - Implement a few more methods for the DEVICE class in SD.
558 - Add latex directories to make clean
559 - move DEV_BSIZE to B_DEV_BSIZE to avoid conflicts with
560 certain header files (FreeBSD).
562 - Fix an ASSERT that was triggering in stored/acquire.c
563 attempt to fix a bug report.
565 - Corrected SunOs to SunOS in btraceback (user submitted).
566 - Applied patch from Roger HÃ¥kansson <hson@ludd.luth.se>
567 to warn the user of defective AWKs during ./configure.
569 - Add some changes submitted by a user for HP client build.
570 Not all changes accepted.
571 - Rework code in filed/backup.c to ease #ifdefing and make
572 program flow more obvious.
573 - Split DVD code out of dev.c into dvd.c
574 - Tweak #ifdefing to add back all the performance measurement
575 #defines in version.h
576 - Put most of MTIOCGET code in a subroutine to simplify the
578 - Make clean remove old CVS files
579 - Remove unnecessary image files from Latex directory
580 - Implement remaining parts of Storage DB record and
581 its use in the Director.
583 FullMaxWaitTime, Differential Max Wait Time, and
584 Incremental Max Wait time in Job resource.
585 - Start work on SD Autochanger code.
587 - Add back JobId index for MySQL as default -- speeds up
589 - Add more database fields and fix the update scripts to
590 include the new items.
591 - Pass actual level to FD so that ClientRun editing can reflect
592 correct level -- ditto for job status. This makes the DIR
593 incompatible with older clients!
594 - Move jobq.c acquire resources to static subroutine so that
595 the code logic becomes clearer. This is in preparation for
596 actually using the new Device resources.
597 - Fix some lower case problems in sql_cmds.c reported by
599 - Correct a seg fault in the SD reported by a user. Occurred
600 only when a high debug level was set.
601 - Modify init_dev() in dev.c to take JCR as first arg so that
602 proper error messages can be reported in next item.
603 - Modify the query and use device SD commands to attempt to
604 open the device if it could not previously be opened.
605 - Correct error message for Could not reserve device.
606 - Correct some minor details with Autochanger resource in SD.
608 - Fix seg fault if debug level 900 set in SD.
609 - Truncate Win32 child return code to 8 bits.
610 - Remove some old lld's.
614 - Make another attempt at fixing the ClientRunXXX return code
615 bug on Win32 machines.
616 - Apply ua_status patch from Carsten Paeth <calle@calle.in-berlin.de>
617 which enforces console ACLs in the status command for Jobs.
619 - Fix Media LabelDate and FirstWritten to be correctly set.
620 - Fix deadlock in multiple simultaneous jobs.
621 - Fix tape "truncation"/"number of files" after restore bug.
623 - Ensure that correct error messages are returned when
624 reading an ANSI label.
626 - Modified ANSI label code to preserve any ANSI label
627 already found by skipping over it rather than rewriting
629 - Split the ANSI label code into ansi_label.c
630 - Do not let user relabel an ANSI labeled tape.
631 - Applied a patch for the console help command supplied
633 - Added some new dev methods. Most notably was
634 set_eof(), which handles setting all the dev variables
635 when an EOF is just read. This is now used most everywhere
638 - Added code to detect that no files were inserted into the
639 tree for a restore. If a specific JobId was specified, the
640 user has the option of restoring everything.
641 - More progress in implementing 64 bit DB Ids.
642 - Modified the daemon start messages for RH.
643 - Implement update scripts for all database types.
644 - First cut at implementing restore directory (it will not
647 - OK, I think ANSI labels work.
648 - Added Label Type = ANSI|IBM|Bacula to Device resource in SD.
649 If this is set, it will force writing of the appropriate
651 - Added Check Labels = yes|no to Device resource in SD. If this
652 is set, Bacula will check for ANSI labels and accept them,
653 otherwise, ANSI labels will not be accepted when the tape
656 - Second cut ANSI labels.
658 - Merge Preben's patch for ACLs and for Mac OS X resource forks.
660 - Display more informative message when a device was not
661 found or could not be opened.
662 - Add the sqlite3 database scripts.
663 - Add some patches for 1.36.1 (note, I have now prepared
664 a 1.36.2 with all the patches and some new features --
666 - Some minor doc updates.
667 - Add Arno's baculareport.pl script to the examples directory.
668 29Jan05 -- after vacation
669 - Add support for SQLite3 (it seems to run at 1/2 the speed
670 of SQLite2). Use --with-sqlite3 instead of --with-sqlite
672 - Add target for running qemu to boot Rescue CDROM
673 - Add code to support kernel 2.6 in Rescue CDROM -- does NOT yet
675 - Implement ANSI labels -- not yet tested.
676 This required changes to DB format. No upgrade script yet.
677 Note, more work needed to modify "update" command to handle
678 changing label types, also must restrict volume name lengths
680 - Add new Device, Storage, and MediaType records to DB. No
682 - Add MediaType to bsr file record types. Not yet used in SD.
683 - Permit multiple device specifications in Storage resource in
685 - Implement Device resources. Director requests Device resource
686 info from SD on startup.
687 - Note!!!! DIR->SD incompatible with previous versions.
688 - Remove multiple Storage definitions in Job resource. One can
689 still specify multiple Storage resources, but they all go into
690 a single alist, and imply sending data to each Storage daemon
692 - Implement Device query command between DIR and SD.
693 - Allow DIR to "reserve" a Device. It will then be acquired
694 when the FD connects to the SD.
695 - Turn all DIR resources into classes, and implement a few class
696 methods -- more to come.
697 - Turn DEVICE in SD into a class, and implement a number of inline
698 class methods -- more to come.
699 - I had serious problems with ACL errors on my Laptop, and so had
700 to add the following patch:
703 /***** Do we really want to silently ignore errors from acl_get_file
704 and acl_to_text? *****/
709 - Reworked and tested a bit the htable routines.
710 - Major changes to SD acquire.c -- DIR can now reserve devices. Needs
712 - Made a special state code for DVD -- this simplifies the logic
713 of the code, but I probably broke it. Testing needed!!!!
714 - Add AutoChanger resource to SD, but not yet used.
718 - Integrate Preben 'Peppe' Guldberg <peppe@wielders.org>'s
719 acl patch. Fix case where configured but no ACL exists.
720 Rework calling arguments to be shorter and positioned
721 more typically in Bacula usage.
723 - Fix scripts/bacula.in to have awk on an environment variable
724 and add comments for Solaris users.
725 - Turn off inet_aton in src/lib/address_conf.c for Win32
726 - Add new files to win32 build and eliminate a compiler warning.
727 - Add sample DVD Device resource to bacula-sd.conf
729 - Integrate Nicolas' patch for direct DVD support.
731 - Fix fstype error returns.
732 - Apply Preben's cleanup.patch which puts back much of the
733 cleanup code in src/filed/restore.c
735 - Apply all of Preben's patches, but revert to old backup.c
736 and old restore.c in filed. Also turn off code in new
737 acl.c because of errors. The new code, when fully implemented
738 moves platform specific code into acl.c.
739 One of the patches also implements WildFile and WildDir -- thanks.
741 - Implement Python in the SD (no events yet though).
742 - Fix some typos in the previous commit.
744 - Enhance CDROM boot to include some documentation at boot time.
745 - NOTE!!!!! The CDROM will not boot 2.6 kernels because the
746 boot sequence has changed significantly. Updates to come
748 - Add memtest option to CDROM boot.
749 - Include Nicolas' changes to fix llist JobMedia records.
750 - Make sure that ClientRunBefore/After messages from the program
751 are terminated with a newline. Add strerror to output error
753 - Return program exit status code in Win32.
755 - Add memtest86 to Bacula Rescue disk
756 - Enhance Rescue disk startup screen
758 - Move some variables to eliminate Solaris 2.6 compiler warnings.
759 - Fix the seg fault at the end of a job in the FD when using
760 old style include/excludes.
762 - Apply Preben's ACL patch.
763 - Integrate Preben's restore patch.
764 - Integrate Preben's verify teaks.
765 - Fix doc/latex/Makefile to copy/remove .eps files when building
766 html and web outputs.
768 - Fix Bacula so that it does not exit if there is a syntax error
769 in its conf file during a reload command. Bug 182.
770 - Apply fixes suggested for old Solaris networking.
772 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
773 three patches that clean up white space:
775 Breaks strings that span lines into concatenated strings. I am not sure
776 if you like this one. Other code works with concatenated strings, though.
777 ws.patch.03.trailing:
778 This removes trailing whitespace. No changes resulted from this for
781 This replaces space runs at the start of line with tabs. No changes
783 - Fix overriding storage specification to be done
784 through a subroutine.
785 - Fix autoconf so it runs with FC3.
786 - Add Python4.3 to configure search paths.
787 - Always copy and delete storage definitions into jcr.
788 - Check that VolumeName supplied by Python is valid.
791 - Fix undefined in non-Python build.
792 - Update rescue disk to include mkinitrd
793 - Fix umount_drives in rescue disk (only one arg to umount)
794 - Ensure that if SD is manually set in Console, it is used.
795 - Put generate_event on pointer and plug it in init. This
796 permits using it in /lib
797 - Correct despooling size reported to be Job specific rather
798 than for the whole drive.
800 - Fix bug 207. jcr use count off by one when manually
802 - Remove FNMATCH test in configure.in and always use
803 the one in our library to get the FN_CASEFOLD GNU
804 extensions on all platforms.
805 - While using the rescue CDROM after my computer would not
806 boot, I realized that it would be very useful to have
807 a umount_disks. So, it is not implemented, along with
808 updates to the READMEs and some minor tweaks.
809 - Moved mounting the CDROM in the rescue boot from /cdrom
810 to /mnt/cdrom (more standard location).
811 - Reboot in CDROM rescue should now work -- requires -d
812 option (no write) to work.
813 - Hopefully fixed all the IPV6/4 problems and buffer
814 problems with networking in lib. Bugs 190 and 204.
815 Cleaned up a lot of #ifdefing problems by using routines
818 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
820 - Remove duplicate code from chksum.h (mentioned by Preben).
822 - Integrate Tim Oberfoell <oberfoell@web.de> patch to ACLs
823 to handle both the "standard" and "default" ACLs.
825 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
826 three cleanup patches (btest, verify, find).
827 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
828 three cleanup patches (backup, chksum, and verify)
830 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
831 patch to avoid doing MTIOCGET on OSes that do not support
833 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
834 patch to add filesystem type matching to FileSets in the
836 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
837 patch to add Mac OSX resource fork support (save/restore)
838 to Bacula -- HFS Plus support.
839 - Add FileSet to client Job listing query.
841 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
842 patch to backup directories skipped (due to no file system
843 changes or no recursion), and to add a slash to the end
844 of the directory name during the match process.
845 - Implement Jamie ffolliott <jamieff@inline.net>
846 patch to dird_conf.c that enables Multiple Connections and
847 fixes a typo in show. The rest of his patch awaits my suggested
850 - Implement run command in Python
852 - Implement conversion of the manual, and some minor
853 tweaks to the script tags.
854 - Apply a patch supplied by Preben 'Peppe' Guldberg that implements
855 ignore case in wild cards and regexes.
856 - Fix a truncated line in the above patch due to my cut and paste.
858 - Fix it so that the InChanger flag is only changed for Volumes
860 - Add PIDOF configuration path and apply to bacula.in
861 - Add user supplied patch to add inet_aton() of old Solaris
863 - Require pools to match before allowing multiple simultaneous
864 accesses to same storage resource.
865 - Add patch supplied by Martin to correct buffer overrun in
866 bsnprintf() with no library snprintf().
868 - Apply user supplied patch that implements No Hard Links.
869 - Document Python interface
870 - Add hardlink keyword patch supplied by David R Bosso <dbosso@lsit.ucsb.edu>
872 - Fix non-python prototypes in dummy routines.
873 - Add python 2.3 to config search list (user submitted patch)
874 - Add JobStatus to Python variables.
876 - Add "python restart" command in Console.
877 - Make built-in variables table driven.
878 - First cut of Python Events for Bacula. Director only.
879 StartJob, EndJob, NewVolume events.
881 Version 1.36.1 Released 26Nov04:
883 - Take Dan's fix to the fix_postgresql_tables (thanks Dan)
884 - Increase Maximum Concurrent Jobs to 20 in SD and FD!
885 - Fix improper handling of autochanger Volumes that are not
886 marked InChanger. Bug 170.
888 - Update authentication failure message to indicate possible
889 problem with Maximum Concurrent Jobs. Add to doc too.
890 - Commit PostgreSQL BIGINT fix -- apparently some people didn't
892 - Do not use a slot unless it is InChanger in the autochanger
893 code, otherwise autochanger gets upset not finding the Volume.
894 Bug 170 (need fix above too).
896 - Make authentication timeout compile time configurable.
897 The value is set in src/baconfig.h
898 - Fix removing items from watchdog queue, which apparently
899 screwed up if there was more than one item.
900 - Rework mediaformat part of manual to separate out old
901 tape format for easier reading.
902 - Add a lot of debug code to the authentication code.
903 - Add seconds to the start/end times printed in the job report.
905 - Fix mutex deadlock in dequeue of messages.
906 - Add debug code to FD authorization.
908 - Increase authentication timeouts to 10 minutes.
910 - Fix cancel bug in FD on /lib/tls with zero pid in
912 - Add date/time to all messages.
913 - Make Qmsg use time message was queued rather than time
915 - Indent job output two spaces.
917 - Fix web page links for new manual.
918 - Grant postgresql permission to cdimages.
919 - Correct crash after "list nextvol" "list media" bug 160
921 - Fix scripts/Makefile.in missing ;\ -- thanks Martin
922 - A bit of work on btape to keep if from going into infinite
923 loops when things do not work well, and to print a bit
926 - JobDefs Storage resource completely overrode anything
927 specified in Job resource -- bug 159 -- fixed.
928 - Fix syntax of renaming postgresql per Dan.
929 - Add working_directory to be /tmp for wx_console.
931 - Allow both a JobId and a filename or list of files to be
932 specified on a restore command line.
933 - Save old mtx-changer before installing new one: bug 156
934 - Fix errors in CDROM file pointed out by Scott.
936 - Fix exepath when Bacula executed without path.
937 - Move test for socket libraries for Solaris in configure.in
938 before tcp wrapper tests so that linking works.
939 - Add "make copy-static-fd" to makefile in CDROM file to
940 copy existing static fd to CDROM rather than building it.
943 - Fix ps command for OpenBSD
944 - Rework the creation of indexes for SQL -- fall back
945 to the old code, but document what can be added.
947 - Add new Daemon message handler in default DIR conf.
949 - Fix Seg Fault with -D100 in bpipe.c.
950 - Fix Seg Fault in run specifying a JobId.
951 - Make mail from daemon with a Messages Resource use
952 the MailCommand with editing rather than the default
954 - Replace Jmsg in dispatch_message() with Qmsg.
955 - Make edit_job_codes handle NULL jcr.
957 - Add M_ALERT class and put tape alerts into it.
958 - Fix Verify count vs found by not double counting files
959 that are split across files/Volumes.
961 - Fix count returned from write_bsr_file() to handle multiple
962 volumes. This fixes most cases of the Verify VolumeToCatalog.
963 - Cleanup a bit the make clean for the rescue cdrom and remove
964 unneeded files from the CVS.
966 - Fixed acquiring a tape so that it does not block all acquires
967 when operator intervention is needed.
968 - Platform build script updates from Scott
970 - Add patch to force Linux LD_ASSUME_KERNEL to avoid using the
971 new /lib/tls. This is done in the startup scripts.
972 - Modify mtx-changer so that it checks for ONLINE while
974 - Modify make_postgresql_tables.in so that EndBlock is stored
975 as a bigint. Prevents job failures when a disk volume is
978 - Add grep ONLINE to wait_for_drive() in mtx-changer.in
980 - Rebuild Scott's new configure