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