1 Technical notes on version 1.37
8 - Implement TLS in gnome console and wx-console.
10 - Correct a NULL pointer reference in the mount command.
11 - Correct typo in Copyright
12 - Add detection of EOM for IBM drives (i.e. errno == ENOSPC)
14 - Remove temp file created in mtx-changer script.
15 - Make fsf_dev() into a class method.
17 - Modify mtx-changer.in script to return slot:barcode for
18 Volumes that are loaded in the drives.
19 - Correct some more places where dev->is_blocked() needs
20 to be checked in dircmd.c in SD.
23 - Add code to ensure that reserved but unused volumes
25 - Correct how Volumes are mounted and handled so that the SD
26 does not get stuck if multiple volumes are used (recycling,
28 - Correct bug where you could relabel a volume while it
29 was being acquired -- created chaos.
31 - Correct seg fault caused by open() calling sequence change.
33 - Add new rc-chio-changer script by Rudolf Cejka to
35 - Apply Rudolf's changes to bacula.in
36 - Expand the space from 8 to 10 characters in editing
37 file sizes for restore and dir of catalog, otherwise
38 GB sizes are truncated -- fixes bug report.
39 - Modify wx-console to know about 10 character widths.
40 - Allow decending into top level directory if "recurse=no"
41 is set. Fixes a bug report.
42 - Install pthreadVCE.dll when installing console or wx-console
43 on Win32 systems. Fixes bug report.
45 - Tweak dvd-writepart script to prevent door from opening/closing
47 - Remove GROUP BY in several PostgreSQL commands to prevent error.
49 - Ensure that < as first character of filename list is not treated
50 as a directory for restore.
51 - Add debug to heartbeat in FD as it seems to go into an
52 infinite loop from time to time during SD failure in DVD writing.
53 - Add more debug code to dvd writing.
54 - Attempt not to destroy existing fs on DVD.
56 - Detect device mounted for DVD and suppress be sure to
57 mount message after label.
58 - Set Cleaning tape status to "Cleaning" and force no
60 - Get DVD writing working with new standard Bacula open()
62 - Rename get_filename() to make more sense.
63 - Detect "is already mounted on" on mount command so to avoid
64 error if device is already mounted.
65 - Eliminated guess_name() code. It may be necessary to
67 - Eliminate seg fault from printing invalid results.
68 - Make dvd_write_part() bool.
71 - Attempt to fix DVD writing by eliminating a number of the
72 DVD subroutines to simplify.
73 - Modify DEVICE::open() to take dcr as first argument. This
74 will permit providing more info to DVD opening.
75 - Fix scanning for time/size items which in some cases
77 - Eliminate read_dvd_volume_label(). New code (not yet written)
78 *must* open dvd appropriately before calling
79 read_dev_volume_label.
80 - Modify open_first_part() open_next_part() to take DCR as
82 - Make label command from console work on DVDs.
83 - Make mount command from console work on DVDs.
84 Unmount does not work yet.
88 - Add Database vendor to CatalogRes tuple for Python.
90 - Implement DoesVolumeExist(Vol) for Python.
91 - Prevent python command from seg faulting if no arg given.
95 - Add set_mode method in DEVICE.
96 - Correct set_mode method in DEVICE
97 - Add more DVD debug info
99 - Check for incorrect duration and size modifiers in conf files.
101 - Make Version a tuple (version, build-date)
102 - Add CatalogRes tuple (DBName, Address, User, Password,
104 - Add Version, ConfigFile, and WorkingDir as Python attributes
106 - Implement code (principally for Win32) that on failure to
107 create a file, it will cd into the directory and attempt
108 to create the file using a relative path. This avoids creating
109 files with paths which fail on Win32.
110 - Fix parsing of times and sizes with decimal numbers.
111 - Make free_volume_list() in SD work if vol list is not
112 initialized (./bacula-sd -t).
114 - Add debug error printout when open() fails.
115 - If open() of DVD fails in mount.c, return false.
116 - Split open() code for DVD into separate subroutine in dev.c
118 Changes to 1.37.25 released on 20 Jun 05:
120 - Remove (cd gnome-console; make clean) from src/Makefile.in
121 - Fix bug where Storage daemon gets confused about what
122 tape is mounted. (one line of code was inadvertently
127 - DVD writing/reading seems to be mostly working.
128 - Set execute bits on dvd-freespace and dvd-writepart
129 - Make dvd-freespace use existing dummy file.
130 - Modify dvd-freespace to pickup size from Track Size:
132 - Add Date, Job, level to updates to .bsr file in
134 - Add debug info to dvd-freespace.in
135 - Fix hard coded bacula.sql in make_catalog_backup reported
137 - Make sure a verify volume to catalog never reports an error
138 if there are zero files to verify.
139 - Remove confusing debug info in filed/backup.c on network
141 - Make sure output from console is not sent to system log.
142 - Convert open_dev() into a class method.
143 - Change VolHdr.VolName to VolHdr.VolumeName.
144 - Add a flag in the device state word to indicate that
145 we found Media in the drive (DVD).
146 - Make mount_dev() and unmount_dev() return bool.
150 - Fix the same state variable problem in open_next_part().
151 - C++ify the SD code a bit more.
153 - Add more debug code and clarify debug code for DVDs.
154 - Do not save and restore state in open_first_part()
155 since state should be properly set after open_dev().
156 - Make default mandir /usr/share/man
157 - Install Bacula man page.
158 - Implement passing of FileSet Enable VSS to FD.
159 - Move main body of reserve drive code into subroutine
160 so that it can be called multiple times.
162 - Eliminate getpass() for Win32 builds in console as the
163 function does not exist.
165 - Correct some reservation problems in SD when no devices
167 - Start removing #ifdef HAVE_TLS by sneaky tricks.
168 - Begin implementation of TLS in wx-console
169 - Remove ignoring SIGCHLD from console.
170 - Rework the dlist binary search routines for implemenation
171 of the Volume reservation code -- make it more general.
172 - Strip double slashes // from Win32 filenames in an attempt
173 to resolve restore problems on some systems.
174 - Fix a minor bugs in the trace code that caused the first
175 line output to be lost.
176 - Implement a good first cut at adding Volume reservation code
177 to the storage daemon (in file reserve.c).
178 - Remove old unused code from the tree.c routines.
182 - Fix compile problems on Win32
183 - Start writing Volume reservation list (already exists, but
184 is not really very good).
185 - Implement attribute caching to put Signature into database
186 at the same time as the file attributes thus eliminating a
187 number of database accesses.
188 - Correct a reservation problem.
189 - Implement full Dir Storage use.
190 - Reduce a bit of TLS #ifdeffing.
196 - Add more documentation to mtx-changer.in
197 - Correct link to manual in authenticate.c in various
199 - Create a new src/stored/reserve.c file where the
200 Use Storage command is processed and drives are
202 - Modify src/stored/autochanger.c to keep track of each
203 Slot that is loaded for each device.
204 - Ensure that changer_command and changer_name are picked
205 up from Autochanger resource if not specified, and if
206 neither is specified, err.
208 - Fix bextract.c compile problem
210 - Make make distclean clean a bit better
212 - Remove old code in jcr.c
213 - Make testls release jcr chain when terminating.
215 - Implement Maximum Job Spool Size (actually DCR based)
217 - Use light weight non-recursive locking on jcr chain.
218 - Make JCR a class and implement inc_use_count() and
219 dec_use_count() methods that ensure that the jcr is
220 locked when inc/dec the use count.
221 - Remove the global jcr lock when traversing the jcr
223 - Use dlist to implement the jcr chain rather than hand
224 crafted next and prev links.
225 - Lock the jcr chain inside each function that modifies
230 - Fix compile problem of ua_restore.c on broken compilers.
231 - Apply patch from bug 326 to permit bacula status by any user.
232 - Fix bug 325 -- conversion of 12:30pm to 24hour time.
234 - Put Dmsg() on inside if() to avoid calling subroutine.
235 - Make restore.bsr have unique name.
236 - Allow user to define bsr filename on restore command line
237 with bootstrap=xxx.bsr
238 - Add limit=nnn to "list jobs" command.
239 - Remove old restore code that did not use .bsr file.
240 - unlink automatically generated bsr file.
241 - Cleanup heartbeat code so that duped fd is almost sure
242 to be released. Previously under certain conditions, the
243 memory was not released due to race conditions.
246 - Unify the reserve_device() for a single device into one subroutine.
248 - Modify wait during use_device to happen only after all devices
249 have been examined rather than in the reserve_device code.
250 - Correct updating count of number of Volumes in a pool.
254 - Add more debug to SD for Autochangers + status output.
255 - Add Scratch to PoolType in PostgreSQL make...tables and do not
256 permit NULL PoolTypes. Fix for bug 319 reported by Eric.
258 - Add quotes around filename in parse_config error message. Bug
261 - Change nested \include to \input so that sections are properly
262 included in the pdf manual -- update the Web site.
263 - Set reconnect flag in MySQL packet to 1 to ensure that connection
264 is re-established. MySQL 5 changed default to 0. Fixes bug report.
265 - Fix Scratch pool handling as reported in a bug by Eric Bollengier
266 by applying his patch.
267 - Remove delete job in favor of delete jobid.
268 - Add = NULL to configfile definitions as reported by Eric in a bug
270 - Update winbacula.nsi.in to reflect new manual file structure.
272 - Correct a minor build problem with wx-console.
273 - Add cancel() to Dir Python scripting.
274 - Re-correct bug in parse-config error handling.
275 - Reorganization of use_command in SD to permit
276 waiting and multiple drive autochanger support.
278 - Correct bug in parse_config error handling.
279 - Where ever possible mark a volume in error or not
281 - Fix bug in changing tape pools after first backup. Reported
283 - Enhance mtx-changer to use Working Directory as temp.
284 - Remove all but initial setup locking of Res in SD.
286 - Add Client OS type to Job report.
287 - Add version to manual
288 - Update the Web site to have a single page for
289 the documentation links.
291 Changes to 1.37.18 release 08May05:
293 - Correct attribute definition compile error in 1.37.17
294 - Correct inverted order of CreateTime and MD5 pointed out
295 by a user in a bug report in FileSet db routine causing
296 the MD5 to print in the output instead of the time/date.
300 - Implement cstrlen() in sql list routines.
301 - Implement caching of attributes to add the
302 signature so that only one DB call will be made
303 per file. Not yet turned on.
304 - Fix Win32 build for TLS.
305 - Optimize File pruning to eliminate one database call.
306 - Fix bug that prevented File pruning from working.
307 - Implement a cstrlen() which returns the character
308 length of a UTF-8 string.
310 - Move test for MaxStartDelay as suggested by Peter.
311 - Implement Python methods (I had to read the Python source
313 - Implement run() method in Director.
314 - Add Priority and Scheduled time to Job report.
315 - Add JobInit and JobRun events.
316 - Add Priority as Python read/write attribute to Job.
317 - Correct typo in bsmtp reported by Jo.
319 Changes to 1.37.16 released 05May05
321 - Make a few tls ifdef tweaks.
322 - Fix create_file.c Win32 problem pointed out by
324 - Fix really ugly bstrncpy() but found by Thorsten.
325 - Move winapi.h/c from findlib to lib for inclusion in
328 - Thorsten Engel finished his work on Win32 Unicode. We
329 now have a single executable that runs on all Win32 machines.
330 - Move job initialization code after job scheduling so that
331 Verify jobs check for the prior JobId after they are really
332 started rather than before.
333 - Fix lib/fnmatch.c so that it does proper testing before folding.
334 - More documentation -- at tls and ansi labels chapters.
335 - Fix fileset_convert.pl to handle empty Exclude statements.
336 - Turn regex back off in Win32
338 - Fix sign extension problem in lex.c that reads UTF-8
339 with Chinese characters incorrectly.
343 - Remove a few HAVE_TLS #ifdefs
344 - Implement final Python style interface. More implemention to
345 be done, but the interface should change little if at all.
347 - Make default no tls support. You must add
348 --with-openssl to get tls support.
350 - Update Web header to include google search in the search
351 box -- thanks to input from Michel Meyers.
352 - Fix md5sum so that it builds with the new openssl stuff.
353 - Take some enhancements to the md5sum test program proposed
356 - Make option 2 of restore work better (list last 20
357 locations for a file).
358 - Make SD re-open a device with the right permissions if
359 it was previously opened with something different. This
360 should allow reading read-only Volumes under all circumstances.
361 - Implement restore of a single directory.
362 - Apply Tru64 patch supplied by Pascal Pederiva <freebsd@paped.com>
363 - Apply Unicode fixes for Win32 from "Thorsten Engel"
364 <thorsten.engel@matrix-computer.com>
365 - More work on Python read feature in FD.
367 - Fix (hopefully) the ftello() overflow reported by Peter.
368 - Landon Fuller committed his TLS patch.
369 - Fixed two minor warnings in console.c with TLS turned off.
370 - Updated the Makefile.in for wx-windows and tray-monitor
371 to handle TLS. I can only build the tray-monitor.
372 - Fix bscan to open tape in read-only mode (actually fix
373 it so that it doesn't use the standard open routine).
374 - Correct what appears to be an error in setting the
375 return value in dvd.c
377 - Get FD Python running -- design Python backup interface.
378 - Fix seg fault in SD when referencing Alert Command.
379 - More documentation.
380 - Fix one more thing in Win32 build.
384 - Put in production here
388 - Fix SQLite and PostgreSQL table creation script syntax
390 - Fix new Python code to work for Director.
391 - Move lib/python.c to lib/pythonlib.c so that debug output
392 is easier to read (can distinguish lib from dird, ...).
393 - Cleanup Python build so that Python is not dragged
394 into programs that don't use it.
398 - Make Bacula build without Python
399 - Drop Status table in drop_ scripts -- bug 283.
401 - First cut of new Python implementation.
403 - Correct SuSE autostart installation directory name --
405 - Fix director crash if Name directive not supplied
407 - More cleanup of changing %u to %s for DB IDs.
408 - Replace dev_can_write(dev) with dev->can_write().
410 - Make fsr_dev() a method dev->fsr()
411 - Remove Created new FileSet message as it always comes out in
413 - eliminate dev_is_tape() in favor of method dev->is_tape()
414 - Turn on disk seeking during restore for Disk Volumes. This
415 required some changes to bscan -- they seem a bit suspect as
416 they are not symmetrical for tape/files.
417 - Remove some of the recursion in stored/parse_bsr.c
418 - Move rescue out to a new Bacula project.
420 - Update of web site to replace old released doc with LaTeX
422 - Replace logo in doc with new bat logo.
423 - Make a good number of updates to the manual.
424 - Implement Python scripting using a Python object.
425 This makes interfacing with Bacula cleaner (object
427 - Add Phil's Status table to the database -- used
428 for getting a text description of the status
430 - Modify FileSet so that an empty Options (no
431 pattern matching) with an exclude will exclude
433 - Modify FileSet so that no top level included File
434 item can be excluded by a matching pattern.
435 - Suppress Created new FileSet record in daemon output.
436 - Implement Python in FD.
437 - Turn off old bfile reader code -- to be replaced
440 - Remove more recursion in src/dird/bsr.c as pointed out
443 - Increase the index width of Filename and Path entries
444 to 255 chars -- suggestion of Meno Abels.
445 - Change remaining VARCHARS to TINYBLOBs.
446 - Remove recursion from is_volume_selected() following
447 bug report from Peter.
448 - Implement mostly correct handling of use_storage in the
449 SD with full lists, ...
451 - Reset NumVols in Pool record from database on every update
453 - Modify DB to support multiple simultaneous copies and
455 - Pass copy and stripe between DIR and SD and put into
456 the JobMedia DB record.
457 - Update and test SQLite and MySQL datebase creation and
459 - Implement version 9 of the DB.
461 - Convert more atoi to str_to_int64() for DB.
462 - Implement filling in NumVols by querying DB rather
463 than trying to keep track of it.
464 - Add storage name to string passed to in use storage=
465 - Fix newVolume() so that the Python script is always
467 - Fix handling of pool,PoolId, and storage in ua_output.
468 - Same fix in ua_status.c
469 - Remove required locking of resources
470 - Replace pthread_cond_signal() by pthread_cond_broadcast()
471 hoping to fix the /lib/tls hang problems (lost signal).
472 - Move resource locking seaching from parse_conf.c to res.c
474 - Modify end of volume handling so that fixup_... does not
475 redo what block.c has already done -- writing Vol info to
476 DIR. This fixes a bug with bad numbers of files on a tape
477 when it filled as reported by Peter.
478 - In release_device() do not update the DIR on the Volume
479 info if the the information was already written at the
482 - NOTE!!!! This version has a new DIR <--> SD protocol. Both
483 must be updated at the same time.
484 - Begin implementation of passing all the Storage and Device
485 possibilities to the SD for examination during the reserve
487 - Modify the reserve and acquire code in the SD to make a
488 job wait if the device is not available.
489 - Implement New Volume Each Job in DIR and pass to SD, not yet
491 - Remove init/update of the Device resource in DIR
492 - Remove passing PoolId to SD and back.
494 - Remove \a and -e from error echos in most Makefiles.
495 - Add more debug code when there are errors on the tape
496 to try to find Peter's tape problem.
497 - Add wait.c (oops forgot previously).
498 - Move all the reserve/acquire_device_for_read/append to have
499 only a DCR as the argument.
500 - Rework the reserve_device_for_append() in stored to wait
501 if the drive is not available. Note! This is a short
504 - Comment out Multiple Connections in the document.
505 - Move the P() and V() to subroutines so that they can be accessed
506 from class methods. The reference to strerror() caused problems.
507 - Implement new DEVICE class methods block() and unblock() that
508 do what was previously done in 3 lines of code.
509 - Implement wait_for_device(), which will wait for any device
510 to be released then return. This requires a new global mutex
511 and condition variable, and is implemented in src/stored/wait.c
512 - Change the code in reserve_device_for_read(), which previously
513 failed the job to use the new device wait code.
515 - Apply reschedule patch to 1.37 code.
516 - Add copyright to title page of manual so it is clear.
517 - Create patch for rescheduling problem found by Ludovic. Storage
518 pointers were lost during rescheduling.
519 - Attempt to fix 2.6 rescue disk -- failed!
520 - Start working on adding a wait routine in the SD.
521 - Cleanup some old invalid doc in watchdog.
522 - Convert a number of references to dev->dev_name to dev->print_name().
523 - Add new wait.c file to SD.
524 - Add a few more methods to DEVICE in SD to cleanup code a
525 bit -- implement a few of the methods.
527 - Fix more print_name()s for printing device name.
528 - Modify open_dev to try 10 times every 6 seconds to
529 open the device if it gets an I/O error (meaning no
530 volume mounted). This gives a bit of settling in time
531 for an autochanger and avoids spurious messages.
532 - Change all yes/no to yes|no in the manual.
533 - Fix win32 create_file.c typo.
534 - Fix a typo in an error message.
536 - Detect if fseeko exists with autoconf. If so, use it
538 - Remove old bacula-*.conf from examples directory (out
540 - Remove latex-fr index files from CVS.
541 - Rewrite code that stops reading the tape so that the
542 tape is marked at EOT, then once the work is done,
543 the EOT flag is removed.
544 - Flush output to file after every send in console.
545 - Make setting VolFiles to smaller number fatal.
546 - Disable Multiple Connections code.
547 - Add patch from user for NetBSD statvsfs() fix to
549 - Take more care with errors in acquire.c
550 - Don't run through dvd code in append.c if bad status
552 - Modify code so that an autochanger fault is fatal.
553 - Use dev->print_name() in more places.
554 - Implement dev->can_steal_lock() to simplify code.
555 - Make btape re-read first 10000 records on fill command.
556 - Check error return and fail job from fseeko and ftello
557 in spool.c. Don't let a -1 slip in as size.
561 - Apply NetBSD patch from kardel in bug 258.
563 - Add a second job and a second client to the default
564 bacula-dir.conf file.
565 - Remove old style Include/Excludes.
566 - Fix ANSI labels to put EOF1 and EOF2 after each file mark.
567 - Add Python to SD and FD.
569 - Implement IBM labels
570 - Implement EOF and EOV labels at the end of a volume.
571 - Fix a rather ugly problem with the PoolId not getting
572 passed correctly. Now the DIR passes the Pool name and
573 Media Type to the SD, who passes them back when requesting
574 the next Volume. The DIR then looks up the correct PoolId.
575 This takes more time, but always works, AND allows wild
576 card Media Types (i.e. the SD can decide).
577 - The DIR <==> SD protocol has changed.
581 - Fix scanf of PoolId in catreq to handle 64 bit Ids.
583 - Add new ua_update.c file and move update_cmd there.
584 - Modify "update slots" to obtain actual number of slots.
585 - Tweak autochanger code to handle new slots request.
586 - Modify autochanger code to lock/unlock around slots and
589 - Patch the FD so that it does not issue an error message if
590 it attempts to restore the permissions on a Win32 drive.
591 - Edit "Resource-name" (physical-name) for the device name
592 everywhere in the SD.
593 - Remove .linked.tex files in preparation for cutover to
594 using .tex in place of .wml.
596 - Copy latest config.sub and config.guess from autoconf.
597 - Try new way of identifying drives with:
598 "resource-name" (physical-name)
599 More work need to a complete conversion.
601 - Rework some of the autochanger data so that the DIR has
602 the number of drives.
603 - Modify the way the Device info is returned so that it comes
604 back as a special message type and can be sent anytime the
605 Device status changes.
606 - Copy the change name and changer command into the device
607 record if none is specified.
608 - Require the change command and changer name to be specified in
609 and AutoChanger resource.
610 - Force all the Media Type records of all devices in an Autochanger
613 - Add new "run" command to Job resource in DIR. This permits
614 cloning a job as many times as you want.
615 - Pass PoolId to SD on Query request. It is now used in the
616 Find_media catalog request.
617 - Reworked the Device resource in the DIR. Eliminated num_waiting
618 and use_count, but added max_writers, reserved, and PoolId.
619 - This DIR is nolonger compatible with previous SDs.
620 - Add since and cloned keywords to the Console run command
622 - Implemented store_alist_str() to allow multiple string items
623 to be specified in a .conf file.
624 - Added %s (since time) to Job code editing.
625 - Reworked reserving drives in the SD. It now does it much simpler
628 - Integrate HP-UX patch from Olivier Mehani <olivier.mehani@linbox.com>
629 - Fix FD job.c to test correctly for no level.
633 - Change Developers to Developer's Guide as requested by Michael.
634 - Fix developers link in manual
635 - Add additional dcr changes in SD to allow multiple dcrs.
637 - Fix a few problems with the MySQL table create in 1.37.
638 - Delete the new tables in the table delete files.
639 - Increase the number of items permitted in a conf table.
640 - Make Director loop over alternative Devices specified in the
641 Storage resource until one is reserved by SD.
642 - Fix storing of StorageId in Media records.
643 - Add AutoSelect = yes|no in bacula-sd.conf
644 - Add Autochanger support to Label command.
645 - Do not autoselect devices with autoselect set false
647 - Implement setting DIR Storage device to Autochanger
649 - Select first available device in Autochanger.
650 - Pass back actual device name used.
651 - Allow Query of AutoChanger.
652 - Modify Query to include name of AutoChanger if
653 Device belongs to one.
654 - Remove old Pool code in jobq.c
655 - Add Autoselect flag to query and DEVICE class (still
658 - Lock autochanger script when running.
659 - Mark Volume not InChanger if correct volume is not
661 - Corrected some typos in the make_xxx_tables.in files.
662 - Made preliminary split of pre-run and run code for each
663 job type. This will permit early opening of SD for reserving
665 - Add offline and autochanger fields to Device Query record.
666 - Correct pthread_mutex_init() for autochanger in SD.
667 - Tweak Makefile for LaTeX manual, plus add nav buttons.
669 - Clean up drive reservation system. Add more sanity checks.
670 - Implement a few more methods for the DEVICE class in SD.
671 - Add latex directories to make clean
672 - move DEV_BSIZE to B_DEV_BSIZE to avoid conflicts with
673 certain header files (FreeBSD).
675 - Fix an ASSERT that was triggering in stored/acquire.c
676 attempt to fix a bug report.
678 - Corrected SunOs to SunOS in btraceback (user submitted).
679 - Applied patch from Roger HÃ¥kansson <hson@ludd.luth.se>
680 to warn the user of defective AWKs during ./configure.
682 - Add some changes submitted by a user for HP client build.
683 Not all changes accepted.
684 - Rework code in filed/backup.c to ease #ifdefing and make
685 program flow more obvious.
686 - Split DVD code out of dev.c into dvd.c
687 - Tweak #ifdefing to add back all the performance measurement
688 #defines in version.h
689 - Put most of MTIOCGET code in a subroutine to simplify the
691 - Make clean remove old CVS files
692 - Remove unnecessary image files from Latex directory
693 - Implement remaining parts of Storage DB record and
694 its use in the Director.
696 FullMaxWaitTime, Differential Max Wait Time, and
697 Incremental Max Wait time in Job resource.
698 - Start work on SD Autochanger code.
700 - Add back JobId index for MySQL as default -- speeds up
702 - Add more database fields and fix the update scripts to
703 include the new items.
704 - Pass actual level to FD so that ClientRun editing can reflect
705 correct level -- ditto for job status. This makes the DIR
706 incompatible with older clients!
707 - Move jobq.c acquire resources to static subroutine so that
708 the code logic becomes clearer. This is in preparation for
709 actually using the new Device resources.
710 - Fix some lower case problems in sql_cmds.c reported by
712 - Correct a seg fault in the SD reported by a user. Occurred
713 only when a high debug level was set.
714 - Modify init_dev() in dev.c to take JCR as first arg so that
715 proper error messages can be reported in next item.
716 - Modify the query and use device SD commands to attempt to
717 open the device if it could not previously be opened.
718 - Correct error message for Could not reserve device.
719 - Correct some minor details with Autochanger resource in SD.
721 - Fix seg fault if debug level 900 set in SD.
722 - Truncate Win32 child return code to 8 bits.
723 - Remove some old lld's.
727 - Make another attempt at fixing the ClientRunXXX return code
728 bug on Win32 machines.
729 - Apply ua_status patch from Carsten Paeth <calle@calle.in-berlin.de>
730 which enforces console ACLs in the status command for Jobs.
732 - Fix Media LabelDate and FirstWritten to be correctly set.
733 - Fix deadlock in multiple simultaneous jobs.
734 - Fix tape "truncation"/"number of files" after restore bug.
736 - Ensure that correct error messages are returned when
737 reading an ANSI label.
739 - Modified ANSI label code to preserve any ANSI label
740 already found by skipping over it rather than rewriting
742 - Split the ANSI label code into ansi_label.c
743 - Do not let user relabel an ANSI labeled tape.
744 - Applied a patch for the console help command supplied
746 - Added some new dev methods. Most notably was
747 set_eof(), which handles setting all the dev variables
748 when an EOF is just read. This is now used most everywhere
751 - Added code to detect that no files were inserted into the
752 tree for a restore. If a specific JobId was specified, the
753 user has the option of restoring everything.
754 - More progress in implementing 64 bit DB Ids.
755 - Modified the daemon start messages for RH.
756 - Implement update scripts for all database types.
757 - First cut at implementing restore directory (it will not
760 - OK, I think ANSI labels work.
761 - Added Label Type = ANSI|IBM|Bacula to Device resource in SD.
762 If this is set, it will force writing of the appropriate
764 - Added Check Labels = yes|no to Device resource in SD. If this
765 is set, Bacula will check for ANSI labels and accept them,
766 otherwise, ANSI labels will not be accepted when the tape
769 - Second cut ANSI labels.
771 - Merge Preben's patch for ACLs and for Mac OS X resource forks.
773 - Display more informative message when a device was not
774 found or could not be opened.
775 - Add the sqlite3 database scripts.
776 - Add some patches for 1.36.1 (note, I have now prepared
777 a 1.36.2 with all the patches and some new features --
779 - Some minor doc updates.
780 - Add Arno's baculareport.pl script to the examples directory.
781 29Jan05 -- after vacation
782 - Add support for SQLite3 (it seems to run at 1/2 the speed
783 of SQLite2). Use --with-sqlite3 instead of --with-sqlite
785 - Add target for running qemu to boot Rescue CDROM
786 - Add code to support kernel 2.6 in Rescue CDROM -- does NOT yet
788 - Implement ANSI labels -- not yet tested.
789 This required changes to DB format. No upgrade script yet.
790 Note, more work needed to modify "update" command to handle
791 changing label types, also must restrict volume name lengths
793 - Add new Device, Storage, and MediaType records to DB. No
795 - Add MediaType to bsr file record types. Not yet used in SD.
796 - Permit multiple device specifications in Storage resource in
798 - Implement Device resources. Director requests Device resource
799 info from SD on startup.
800 - Note!!!! DIR->SD incompatible with previous versions.
801 - Remove multiple Storage definitions in Job resource. One can
802 still specify multiple Storage resources, but they all go into
803 a single alist, and imply sending data to each Storage daemon
805 - Implement Device query command between DIR and SD.
806 - Allow DIR to "reserve" a Device. It will then be acquired
807 when the FD connects to the SD.
808 - Turn all DIR resources into classes, and implement a few class
809 methods -- more to come.
810 - Turn DEVICE in SD into a class, and implement a number of inline
811 class methods -- more to come.
812 - I had serious problems with ACL errors on my Laptop, and so had
813 to add the following patch:
816 /***** Do we really want to silently ignore errors from acl_get_file
817 and acl_to_text? *****/
822 - Reworked and tested a bit the htable routines.
823 - Major changes to SD acquire.c -- DIR can now reserve devices. Needs
825 - Made a special state code for DVD -- this simplifies the logic
826 of the code, but I probably broke it. Testing needed!!!!
827 - Add AutoChanger resource to SD, but not yet used.
831 - Integrate Preben 'Peppe' Guldberg <peppe@wielders.org>'s
832 acl patch. Fix case where configured but no ACL exists.
833 Rework calling arguments to be shorter and positioned
834 more typically in Bacula usage.
836 - Fix scripts/bacula.in to have awk on an environment variable
837 and add comments for Solaris users.
838 - Turn off inet_aton in src/lib/address_conf.c for Win32
839 - Add new files to win32 build and eliminate a compiler warning.
840 - Add sample DVD Device resource to bacula-sd.conf
842 - Integrate Nicolas' patch for direct DVD support.
844 - Fix fstype error returns.
845 - Apply Preben's cleanup.patch which puts back much of the
846 cleanup code in src/filed/restore.c
848 - Apply all of Preben's patches, but revert to old backup.c
849 and old restore.c in filed. Also turn off code in new
850 acl.c because of errors. The new code, when fully implemented
851 moves platform specific code into acl.c.
852 One of the patches also implements WildFile and WildDir -- thanks.
854 - Implement Python in the SD (no events yet though).
855 - Fix some typos in the previous commit.
857 - Enhance CDROM boot to include some documentation at boot time.
858 - NOTE!!!!! The CDROM will not boot 2.6 kernels because the
859 boot sequence has changed significantly. Updates to come
861 - Add memtest option to CDROM boot.
862 - Include Nicolas' changes to fix llist JobMedia records.
863 - Make sure that ClientRunBefore/After messages from the program
864 are terminated with a newline. Add strerror to output error
866 - Return program exit status code in Win32.
868 - Add memtest86 to Bacula Rescue disk
869 - Enhance Rescue disk startup screen
871 - Move some variables to eliminate Solaris 2.6 compiler warnings.
872 - Fix the seg fault at the end of a job in the FD when using
873 old style include/excludes.
875 - Apply Preben's ACL patch.
876 - Integrate Preben's restore patch.
877 - Integrate Preben's verify teaks.
878 - Fix doc/latex/Makefile to copy/remove .eps files when building
879 html and web outputs.
881 - Fix Bacula so that it does not exit if there is a syntax error
882 in its conf file during a reload command. Bug 182.
883 - Apply fixes suggested for old Solaris networking.
885 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
886 three patches that clean up white space:
888 Breaks strings that span lines into concatenated strings. I am not sure
889 if you like this one. Other code works with concatenated strings, though.
890 ws.patch.03.trailing:
891 This removes trailing whitespace. No changes resulted from this for
894 This replaces space runs at the start of line with tabs. No changes
896 - Fix overriding storage specification to be done
897 through a subroutine.
898 - Fix autoconf so it runs with FC3.
899 - Add Python4.3 to configure search paths.
900 - Always copy and delete storage definitions into jcr.
901 - Check that VolumeName supplied by Python is valid.
904 - Fix undefined in non-Python build.
905 - Update rescue disk to include mkinitrd
906 - Fix umount_drives in rescue disk (only one arg to umount)
907 - Ensure that if SD is manually set in Console, it is used.
908 - Put generate_event on pointer and plug it in init. This
909 permits using it in /lib
910 - Correct despooling size reported to be Job specific rather
911 than for the whole drive.
913 - Fix bug 207. jcr use count off by one when manually
915 - Remove FNMATCH test in configure.in and always use
916 the one in our library to get the FN_CASEFOLD GNU
917 extensions on all platforms.
918 - While using the rescue CDROM after my computer would not
919 boot, I realized that it would be very useful to have
920 a umount_disks. So, it is not implemented, along with
921 updates to the READMEs and some minor tweaks.
922 - Moved mounting the CDROM in the rescue boot from /cdrom
923 to /mnt/cdrom (more standard location).
924 - Reboot in CDROM rescue should now work -- requires -d
925 option (no write) to work.
926 - Hopefully fixed all the IPV6/4 problems and buffer
927 problems with networking in lib. Bugs 190 and 204.
928 Cleaned up a lot of #ifdefing problems by using routines
931 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
933 - Remove duplicate code from chksum.h (mentioned by Preben).
935 - Integrate Tim Oberfoell <oberfoell@web.de> patch to ACLs
936 to handle both the "standard" and "default" ACLs.
938 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
939 three cleanup patches (btest, verify, find).
940 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
941 three cleanup patches (backup, chksum, and verify)
943 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
944 patch to avoid doing MTIOCGET on OSes that do not support
946 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
947 patch to add filesystem type matching to FileSets in the
949 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
950 patch to add Mac OSX resource fork support (save/restore)
951 to Bacula -- HFS Plus support.
952 - Add FileSet to client Job listing query.
954 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
955 patch to backup directories skipped (due to no file system
956 changes or no recursion), and to add a slash to the end
957 of the directory name during the match process.
958 - Implement Jamie ffolliott <jamieff@inline.net>
959 patch to dird_conf.c that enables Multiple Connections and
960 fixes a typo in show. The rest of his patch awaits my suggested
963 - Implement run command in Python
965 - Implement conversion of the manual, and some minor
966 tweaks to the script tags.
967 - Apply a patch supplied by Preben 'Peppe' Guldberg that implements
968 ignore case in wild cards and regexes.
969 - Fix a truncated line in the above patch due to my cut and paste.
971 - Fix it so that the InChanger flag is only changed for Volumes
973 - Add PIDOF configuration path and apply to bacula.in
974 - Add user supplied patch to add inet_aton() of old Solaris
976 - Require pools to match before allowing multiple simultaneous
977 accesses to same storage resource.
978 - Add patch supplied by Martin to correct buffer overrun in
979 bsnprintf() with no library snprintf().
981 - Apply user supplied patch that implements No Hard Links.
982 - Document Python interface
983 - Add hardlink keyword patch supplied by David R Bosso <dbosso@lsit.ucsb.edu>
985 - Fix non-python prototypes in dummy routines.
986 - Add python 2.3 to config search list (user submitted patch)
987 - Add JobStatus to Python variables.
989 - Add "python restart" command in Console.
990 - Make built-in variables table driven.
991 - First cut of Python Events for Bacula. Director only.
992 StartJob, EndJob, NewVolume events.
994 Version 1.36.1 Released 26Nov04:
996 - Take Dan's fix to the fix_postgresql_tables (thanks Dan)
997 - Increase Maximum Concurrent Jobs to 20 in SD and FD!
998 - Fix improper handling of autochanger Volumes that are not
999 marked InChanger. Bug 170.
1001 - Update authentication failure message to indicate possible
1002 problem with Maximum Concurrent Jobs. Add to doc too.
1003 - Commit PostgreSQL BIGINT fix -- apparently some people didn't
1005 - Do not use a slot unless it is InChanger in the autochanger
1006 code, otherwise autochanger gets upset not finding the Volume.
1007 Bug 170 (need fix above too).
1009 - Make authentication timeout compile time configurable.
1010 The value is set in src/baconfig.h
1011 - Fix removing items from watchdog queue, which apparently
1012 screwed up if there was more than one item.
1013 - Rework mediaformat part of manual to separate out old
1014 tape format for easier reading.
1015 - Add a lot of debug code to the authentication code.
1016 - Add seconds to the start/end times printed in the job report.
1018 - Fix mutex deadlock in dequeue of messages.
1019 - Add debug code to FD authorization.
1021 - Increase authentication timeouts to 10 minutes.
1023 - Fix cancel bug in FD on /lib/tls with zero pid in
1025 - Add date/time to all messages.
1026 - Make Qmsg use time message was queued rather than time
1028 - Indent job output two spaces.
1030 - Fix web page links for new manual.
1031 - Grant postgresql permission to cdimages.
1032 - Correct crash after "list nextvol" "list media" bug 160
1034 - Fix scripts/Makefile.in missing ;\ -- thanks Martin
1035 - A bit of work on btape to keep if from going into infinite
1036 loops when things do not work well, and to print a bit
1039 - JobDefs Storage resource completely overrode anything
1040 specified in Job resource -- bug 159 -- fixed.
1041 - Fix syntax of renaming postgresql per Dan.
1042 - Add working_directory to be /tmp for wx_console.
1044 - Allow both a JobId and a filename or list of files to be
1045 specified on a restore command line.
1046 - Save old mtx-changer before installing new one: bug 156
1047 - Fix errors in CDROM file pointed out by Scott.
1049 - Fix exepath when Bacula executed without path.
1050 - Move test for socket libraries for Solaris in configure.in
1051 before tcp wrapper tests so that linking works.
1052 - Add "make copy-static-fd" to makefile in CDROM file to
1053 copy existing static fd to CDROM rather than building it.
1056 - Fix ps command for OpenBSD
1057 - Rework the creation of indexes for SQL -- fall back
1058 to the old code, but document what can be added.
1060 - Add new Daemon message handler in default DIR conf.
1062 - Fix Seg Fault with -D100 in bpipe.c.
1063 - Fix Seg Fault in run specifying a JobId.
1064 - Make mail from daemon with a Messages Resource use
1065 the MailCommand with editing rather than the default
1067 - Replace Jmsg in dispatch_message() with Qmsg.
1068 - Make edit_job_codes handle NULL jcr.
1070 - Add M_ALERT class and put tape alerts into it.
1071 - Fix Verify count vs found by not double counting files
1072 that are split across files/Volumes.
1074 - Fix count returned from write_bsr_file() to handle multiple
1075 volumes. This fixes most cases of the Verify VolumeToCatalog.
1076 - Cleanup a bit the make clean for the rescue cdrom and remove
1077 unneeded files from the CVS.
1079 - Fixed acquiring a tape so that it does not block all acquires
1080 when operator intervention is needed.
1081 - Platform build script updates from Scott
1083 - Add patch to force Linux LD_ASSUME_KERNEL to avoid using the
1084 new /lib/tls. This is done in the startup scripts.
1085 - Modify mtx-changer so that it checks for ONLINE while
1087 - Modify make_postgresql_tables.in so that EndBlock is stored
1088 as a bigint. Prevents job failures when a disk volume is
1091 - Add grep ONLINE to wait_for_drive() in mtx-changer.in
1093 - Rebuild Scott's new configure