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