-14Dec06
-kes Complete hopefully the last of the copyright transfer changes.
-kes Separate NumVolumes in SD to NumReadVolumes and NumWrite volumes so
- that migration writing to multiple volumes doesn't mess up reading
- Volumes. This should fix bug #720 -- multivol migration fails.
-kes Make migration SQL look only for Type='B' jobs to migrate. This should
- fix bug #724 jobs getting migrated twice.
-kes Convert remaining dev_cap(dev, ...) to use dev->has_cap().
-kes Implement dev->clear_cap() and dev->set_cap() methods.
-kes Turn off disk seeking on restore for DVDs since I am not 100%
- sure it works.
-13Dec06
-kes Implement code that should properly set that a job was migrated,
- if the migration was successful even if there were no file to
- migrate.
-kes Apply Richard's patch to fix building or filed/restore.c without
- OpenSSL support.
-kes Ensure that at least one block is written by the SD even if the
- FD dies or fails -- should fix bug #728.
-kes Convert stored/record.c ASSERT into a soft fail if the length of
- a record is too insanely long. This should fix bug #???
-12Dec06
-kes Fix automatic labeling of File volumes, which was broken by new
- removable device code.
-10Dec06
-kes Remove typedef uLong for HP in baconfig.h. It broke things.
-lf Fix job byte reporting -- the digest code runs in verify.c and
- increases this value. The better solution is to digest the
- stream as we receive it, thus removing the need to re-read
- from disk at all, but that requires more extensive and
- potentially destabilizing changes.
-lf This commit fixes backup and restore of HFS+ resource forks.
-lf Add a long-missing 'break' statement in HFS+ attribute
- handling that resulted in restore failures.
-09Dec06
-ebl Fix runscript to always execute command after all job type.
-
-Version 1.39.30 released:
-08Dec06
-kes Mark build-depkgs-mingw3 executable in configure process.
-kes Update autoconf/config.h.in to include LOCALEDIR
-kes Undefine NLS settings for wxWidgets as there is a conflict with
- their way of doing things.
-kes Implement a rpool and rpool_source in jcr.h for Migration jobs.
-kes Change a bunch of ->hdr.name to ->name()
-kes Straighten out handling of read and write pools for Migration, including
- getting the code in the proper order.
-kes Improve migration error messages and debug output.
-kes Shorten code path in migration if nothing found to do.
-kes Implement read/write pool in migration job report.
-kes Move ua_run.c select_job_level code into a subroutine (readability).
-kes Move ua_run.c display_job_parameters into a subroutine.
-kes Do not bash dcr->VolumeName in get_volume_info() because it makes
- restore dependent on a valid catalog containing the Volume name.
-06Dec06
-kes Put make_catalog_backup SQL_BINDIR in an environment variable to
- make it easier for the user to change.
-kes Fail any backup job that tries to use encryption and sparse options.
- Hopefully this is a temporary change.
-kes Correct the EndJob return string for non-backup jobs.
-kes Review the encryption restore code.
-kes Implement a new encryption regression test with compression.
-kes Modify migrate not to fail if nothing found to migrate.
-kes Add #undef HAVE_OPENSSL, HAVE_TLS, HAVE_CYRPTO to autoconf/config.h.in
- because they were not always set correctly.
-05Dec06
-kes Update configure.in to include python 2.5 search.
-kes Back out unwanted migration change reported by Richard Mortimer.
-04Dec06
-kes Make migration with no files to migrate set normal termination.
-kes Change message when job manually started to say Job queued. ...
-kes Add job report indication of whether or not VSS and Encryption were
- used by the FD.
-kes Modify sparseBlock variable name to make the code clearer.
-kes Add more sparse tests to regress using gigaslam sparse file
- generator.
-kes Enable data encryption code.
-kes Add gigaslam.c to src/tools. It creates a 1GB file that contains
- only two blocks -- i.e. it is a real sparse file.
-03Dec06
-kes Enable disk seeking on restore.
-kes Implement the SD 'Block Positioning = yes|no' directive. This
- allows the user to turn off block level seeking, but restores
- will be much slower.
-kes Change the word illegal to read invalid in a few places.
-kes Fix Win32 build, which broke when I added parse_args_only in
- lib. I'm not sure I got the entry point right for msvc.
-kes Turn off data encryption. It can be enabled by defining
- DATA_ENCRYPTION in src/version.h and recompiling.
-kes Implement flag to turn off data encryption feature.
-kes Move unserial code in restore.c to a subroutine. Add a bit of debug
- code.
-kes Rework a bit of code in backup.c to handle sparse blocks correctly.
- The main problem was that signatures were being generated on blocks
- of zeros, which is unnecessary.
-02Dec06
-kes Fix scanner (next_arg) to handle leading double quote correctly.
-kes Modify cd command in restore tree to look at full argument without
- keywords. This fixes bug #716.
-01Dec06
-kes Do not update Migrated Job type if migration does not terminate
- normally. This fixes bug #719.
-kes Update ReleaseNotes
-kes Purge Job records from the catalog for Migration. This was
- not properly done previously. This fixes bug #718.
-28Nov06
-kes Initialize msg_type to M_INFO in migration. Pointed out by
- Robert Nelson.
-kes Add some fflush() statements for debug output. This should not
- really be necessary and defeats buffering but users continue
- to complain.
-27Nov06
-kes More copyright changes.
-kes Make sure we don't detach from the despool read device since it
- is a temporary structure where the condition variables are not
- initialized. Bug #711.
-26Nov06
-kes Add Bacula version+date to Client record. This is a very minor
- security problem in that passing the version facilitates a hacker's
- life, but it will make support easier.
-kes Implement fixes to make disk seeking work. Currently turned
- off in version.h pending reserch on what problems it will cause
- because of the previous bsnprinf() sign extension bug.
-25Nov06
-kes Add Landon's refactor of restore Feature request to the
- projects file.
-kes Tweak debug levels and messages for examining the disk
- seek problem.
-22Nov06
-kes Cleanup some of the error termination code in migration.
-kes Separate read/write source strings to keep track of where
- storage devices are used in a job.
-kes Implement a new method of keeping track of which storage
- device is used in a Job. USTORE keeps both a pointer to the
- resource and to the source string.
-kes Modify all code to use new storage set subroutines in job.c
-kes Modify migrate.c so that the definitive selection of the storage
- resource is done in the do_migration_init() routine prior to
- the job going into the job queue. This permits accurate
- deadlock detection (same read and write storage resource).
-kes Remove bfill from btape (I think it was a left over stub).
-22Nov06
-kes Make sure that the storage for a job is pulled first from
- the Pool and if not from the Job.
-kes Ensure that either the Pool or the Job specifies a Storage
- resource.
-21Nov06
-kes Start applying new FSFE copyright.
-20Nov06
-kes Add additional error messages in acquiring a drive for read.
-kes Make WritePartAfterJob the default so that the last DVD part
- always gets written to the DVD by default.
-kes Add additional error messages in migration.
-kes Suppress redundant error messages in migration (possibly more to do).
-kes Apply Martin's fix (updated to 1.39) that takes into account
- run storage overrides in the Director status display.
-kes Implement, but turn off the submitted code that sets the EOT
- model on FreeBSD machines. Turning on this code is too risky at
- this point in the development.
-19Nov06
-kes Implement unique dbid routine for migration to prevent the same
- JobId from being migrated twice. This should fix bug #709.
-18Nov06
-kes Apply Jaime Ventura's 'mail on success' patch.
-kes Add a SMALLOC_SANITY_CHECK for Arno, which aborts Bacula
- if memory usage gets too big.
-kes Tweak migration to ensure that read/write devices are different.
-17Nov06
-kes Create an AUTHORS file to list Bacula contributors.
-kes Add Richard Stallman's four GPL freedoms to LICENSE
-kes Require the conf file to have a valid NextPool for writing the
- migration output.
-16Nov06
-ebl Enable RecycleCount in catalog.
-ebl Fix "echo python | bconsole" segfault
-14Nov06
-kes Implement code to pass the MediaId to the SD. The SD then uses
- this MediaId when creating JobMedia records. This fixes a bug
- with Migration where the MediaId got set to the second Volume
- read rather than the write Volume. Possibly (unlikely) fixes
- bug #709.
-kes Remove NextPool from Job resource.
-kes Edit a few numbers in the restore dialog with commas.
-kes Note, the DIR<->SD protocol has changed.
-13Nov06
-kes Replace () by {} in configure.in for proper HP configuration.
-kes Shorten some lines over 80 characters in filed/backup.c
-kes Cast sizeof() in filed/backup.c to avoid compiler warning.
-
-Version 1.39.28 released:
-12Nov06
-kes Change error message 'illegal' to 'invalid' -- bug #707
-kes Add rather primitive device resource deadlock detection in
- the job queue handler. It detects the same read and write device
- for migration and cancels the job.
-kes Start adding a unique_dbid_hander() routine in migration to avoid
- duplicate mediaids and duplicate jobids.
-kes Add patch from bug #708 to permit relative paths such as ../xxx
- in the restore tree routine.
-kes Add Eric Bollengier's patch to reduce locking time in the SD after
- despooling, and thus many jobs finish faster.
-kes Correct locking order of reservations lock and device mutex in
- reserve.c -- this should correct Arno's deadlock that occurred
- when doing mount/unmount at the same time a job is reserving a
- drive.
-05Nov06
-rbn Fixed problems with encryption when combined with compression
- or sparse files. Unfortunately this means that all previous
- encrypted backups can't be restored.
-rbn Fixed problem in bfgets with Windows and Mac end of lines.
-rbn Fixed bug in Windows version of close_bpipe() that cause programs
- like bsmtp() to hang waiting for the pipe to be closed. Fixed
- binary file type problems in open_bpipe().
-rbn Fixed a number of bugs in the mysql DB scripts.
-03Nov06
-ebl Fix broken runscript on director. (RunBefore, RunAfter)
-ebl Use M_ERROR instead of M_FATAL in runscript.c
-31Oct06
-ebl Small fix src/dird/job.c to add JobErrors count to catalog.
-rbn Ignore UTF-8 marker at the start of .conf files.
-rbn Add stab2cv to 3rd party dependencies. This is a utility I
- wrote that is licensed under the GPL and available on SourceForge.
- It converts the stab debugging info generated by gcc into Codeview
- format. Currently it just translates function names to global
- symbols. This is sufficient to get reasonable stack traces from
- Dr Watson and to look at minidumps.
-rbn Fix bug # 699 - winbacula client crashes whilerunning bat scripts.
-rbn Enable Windows XP look and feel for the tray icons and wx-console.
-rbn Add Windows specific FileSet example to bacula-dir.conf.
-rbn Reorganize Start menu so that documentation and configuration are
- in subfolders.
-21Oct06
-rbn Change daemons and utilities so that if -c is omitted from the
- command line AND there is no configuration file in the current
- directory then the 'standard' configuration file (eg
- /etc/bacula/bacula-*.conf) will be used. If the argument to -c
- doesn't contain any path separators AND there is no configuration
- file by that name in the current directory then the 'standard'
- configuration file directory will be searched for a file by that
- name.
-rbn Fixed restore on Windows so that backslashes as path separators works.
-rbn Add missing query.sql file to Windows installer.
-rbn Fixed Windows versions of catalog backup scripts.
-20Oct06
-kes Fix optional files in Makefile.in of src/filed that caused
- a syntax error when using no optional files.
-15Oct06
-lf Fix a cosmetic bug in filed.c that caused spurious OpenSSL error
- messages; there is no reason to attempt to load a private key.
- from master key files.
-
-Version 1.39.26 released:
-12Oct06
-kes Apply the three patches from Richard Mortimer.
- bacula-reposition.patch, bacula-tape-reopen.patch, and
- bacula-eod.patch. This corrects tape positioning on older devices,
- and also a problem with btape.
-kes Apply fix from bug report #696 where writing to a FIFO does not
- work due to a dumb typo.
-kes Unlock the tape door before the file descriptor is released. This
- should fix lots of somewhat subtle failures when using an autochanger.
-11Oct06
-kes Correct mtx-changer bug that I introduced in a recent commit, and
- pointed out by Robert Nelson -- thanks.
-rbn Fix Windows' daemons so that messages print to stdout if not
- running as a service.
-rbn Add daemon name to trace file name (eg bacula-dir.trace).
-rbn Fix environment variable expansion in directory names on Windows.
-rbn Fix autochanger support in fill command.
-rbn Update SQL scripts to match Unix versions.
-rbn Fix daemon usage displays.
-rbn Cleanup bacula-dir.conf template.
-rbn Install openssl.cnf so that the openssl.exe installed in the
- Bacula\bin directory can be used to generate keys and
- certificates for TLS and encryption.
-rbn Fix cleanup of spool files on Windows.
-rbn Remove /silent option from daemons on Windows. The new default
- is the same as the old /silent. To enable the message boxes that
- previously were suppressed by /silent you must add /debug instead.
- NOTE: As a result of this change, the first time you upgrade from
- a previous version of 1.39.x you will receive the message
- boxes when the remove of the old services succeeds. This
- is the same behaviour as when migrating from a version prior
- to 1.39.0.
- However, going forward, these message boxes will not appear on
- upgrades or new installs.
-rbn Add new /debug option. This option enables the message boxes that
- previously were suppressed by the /silent option. In addition the
- daemons running as services will open a console window if this
- option is used.
-rbn Fix bug with service not being removed on migrated installs. This
- should correct those cases where the file daemon install was failing
- when upgrading from versions prior to 1.39.x.
-
-08Oct06
-kes Turn on heap reporting in Dir with zero debug level.
-kes Send a message to the sys log when Bacula forces a SEG FAULT, and
- send the same message to stdout.
-07Oct06
-kes Begin work on new GUI "console".
-kes Make configure look in non-standard MySQL library directory
- for Solaris.
-kes Make mtx-changer automatically configure the autochanger wait
- procedure for Solaris, FreeBSD, and Linux. Previously, only Linux
- was implemented.
-kes Correct drop_sqlite_tables.in script to not delete the database.
-kes When writing to a log file, close and reopen the file descriptor
- if there is an error writing the file.
-kes Modify the autochanger loaded?, load, and unload commands to print
- the full text of any mtx output if there is an error. Helps to
- ease diagnosis of autochanger problems.
-kes Correct a few Win32 errno returns in the VSS code so that hopefully
- a resonable Win32 error message will be printed.
-kes Convert a few strcat()... to bstrncat() in the Win32 code.
-06Oct06
-rbn Added Windows version of bsmtp.
-rbn Fixed path search for Windows so that Bacula\bin is automatically
- searched for programs and scripts.
-rbn Fixed bugs in mtx-changer.cmd and made template bacula-sd.conf
- Windows specific.
-
-Version 1.39.24 beta released:
-02Oct06
-rbn Fix restore problem with c:\ prefix bug #676.
-rbn Verify that drive letter is valid on restore.
-rbn Fix re-open() options for tape.
-kes Apply dvd find volume patch from Richard Mortimer.
-kes Eliminate the dvd specific mount routines using only the
- dev->mount/unmount.
-kes Make update_free_space a method of DEVICE and rename
- update_freespace.
-01Oct06
-kes Require a messages command acl to be able to receive messages
- in a console.
-kes Add console, system, and scan job types in util.c.
-28Sep06
-kes Print the Volume purged message only for real jobs to keep
- from cluttering up the daemon messages.
-kes Lock the tape drive door while Bacula is using the device.
-kes Add back the 'No Jobs running' message to FD and SD status because
- my regression script depends on it, and I'm too lazy to change the
- scripts.
-kes Start using structure assignments (not too happy about it ...).
-kes Fix a bug in the tools Makefile that broke on Solaris.
-kes Unload any autochanger drive during a 'release' command.
-26Sep06
-kes Enhance error message when restoring without bootstrap file.
-kes Check restored size only for regular files.
-kes Store Python job level in job record in Dir.
-kes Add back code to open tape device nonblocking, but if rewind fails
- release file descriptor.
-kes Modify acquire.c to first try autoloading the device. Also, ask operator
- to mount tape if drive cannot be opened.
-rbn Made Windows service tray status windows resizable.
-rbn Fixed horizontal scrolling of text in status window.
-rbn Preserve horizontal and vertical scroll position while
- updating. This prevents the display being reset to the
- top line every 5 seconds.
-rbn Fix Windows cross-compile compatibilty problems with
- *nix variants such as OS X without the zic command.
-rbn Eliminate dependency on man2html.
-25Sep06
-kes Update src/win32/dll/bacula.def for change in BPIPE definition for
- Win32 build.
-kes Fix a compiler warning in compat.cpp
-kes Change strcpy to bstrncpy in compat.cpp
-kes Remove some broken code in bdb_list.c
-kes Fix, hopefully the last, ACL problem in the restore command.
-kes Update the README.mingw32
-kes Add new version of upgrade-win32-client.txt to examples directory.
- Submitted by Michel Meyers.
-kes Print an INFO message in the job report when a Volume is marked Purged.
-rbn Fixed handling of external program and script execution
- so that the format of the command line is more flexible.
- Now executable path names containing spaces are translated
- to the equivalent short name automatically. The result is
- passed to cmd.exe with the quotes removed.
-24Sep06
-kes Apply the recycle patch from Richard Mortimer.
-kes Convert a few if statements in dev.c to switch statements.
-kes Start using print_errmsg instead of bstrerror().
-kes Print a job message in SD when a job is marked to be canceled.
-23Sep06
-kes All code added back. Fixed block.c read/write to loop only 3
- times. This apparently keeps the OS from crashing (at least
- most of the time).
-kes The kernel bug still persists. Backup something then immediately
- do a bscan on the same tape, and the kernel will crash.
-kes Simplifed tape open(). It no longer uses nonblocking mode, which
- means that opening with no tape loaded will probably take at least
- 6 minutes before an error is reported.
-kes Do not use MTSETDRVBUFFER if not running as root. Do a MTRESET
- when doing set_os_device_parameters.
-kes Report open error in mount.c
-kes Remove all .exe files from the installer directory on make clean.
-20Sep06
-kes Start adding back removed code.
-kes Back out a number of changes because backups to tape crash my
- system.
-kes Remove the inetd code from the File daemon.
-18Sep06
-kes Add -c option to pg_dump so that it initializes tables when
- restored.
-kes Fix FirstWritten time on Volume to be obtained from SD so that
- it is the actual time the volume was first written.
-kes Minor Makefile changes.
-kes Handle EBUSY during read(). Improve how EBUSY is handled in write().
-ebl Add yes keyword to prune/purge command
-16Sep06
-kes Correct a test in block.c that prevented restore of a DVD from
- looking at the last part in the spool directory.
-kes Make some error messages clearer mostly by using the word DVD
- in the message. Improve infor message in read_record for DVDs.
-kes Remove DVD kludges in dircmd.c label/relabel.
-kes Move the dvd relabel code from dircmd.c into
- write_new_volume_label_to_dvd() adding a relabel argument.
-kes Rewrite the truncate_dvd() code to be much simpler and
- more logical. First blow away any spool part, then create a
- new empty part and write to the DVD.
-kes Rewrite the can_write_on_non_blank_dvd() code making it
- only ensure that no valid data is on the DVD -- i.e. it
- can be overwritten.
-15Sep06
-kes Minor Makefile fixes.
-kes Put attach_dcr_to_dev in a subroutine.
-kes Make attaching/detaching to/from a device use a flag and
- only detach if actually attached.
-kes Add dvd-simulator.in to scripts directory and add to configure.
-kes Fix code in acquire.c that checks fd != 0 to use dev->is_open().
- This could be a cause of a number of drive reservation problems.
- Note, this code is now in attach_dcr_to_dev().
-kes Suppress doing Volume updates if it is a system job. This should
- prevent the DVD label blocking.
-kes Clear the freespace ok flag in a couple of strategic places.
-14Sep06
-kes Put removing zero sized spool part file in subroutine and
- call from release_device().
-kes Add Richard's patch for relabel to dircmd.c, but save and restore
- dev Volume name.
-kes Rework a lot of subroutines in dev.c to take dcr as an
- argument. This is done to eliminate the usage of attached_dcrs
- in lseek().
-kes Change truncated_dvd to blank_dvd, which seems more suitable.
-kes Apply most of Richard Mortimer's truncate patch.
-kes Create lseek() method for DEVICE that takes dcr as an
- argument. This is to eliminate the use of attached_dcrs in
- lseek(). The calls to lseek_dev() must still be changed.
-13Sep06
-kes Apply Richard Mortimer's patches for printing an error
- message in btape when a DVD is used, and to initialize traceback.
-kes Added error message to btape when trying to access a file.
-kes Move prototype of update_slots() to protos.h.
-12Sep06
-kes Add JobErrors, JobFiles, SDJobFiles, SDJobErrors, SDJobStatus,
- and FDJobStatus to the Director Python variables.
-kes Make sure valid argument passed to str_to_utime() where Arno
- had a seg fault.
-kes Apply Richard Mortimer's patch for bcopy, bextract, and bscan.
- I.e. part of two different patches.
-11Sep06
-kes Modify disk changer to simulate some of the error conditions
- of mtx-changer.
-kes Make sure the close() call in the SD tools is just before the
- getchar() call.
-kes Implement dir_get_volume_info() in bls using the patch from
- Richard Mortimer but call find_num_dvd_parts().
-kes Implement find_num_dvd_parts() that mounts and scans a DVD
- and counts the parts.
-kes Move the omode code in open_dvd() up so that the cannot
- write on blank disk can check can be bypassed for read mode.
- Not yet implemented.
-10Sep06
-kes Disable normal data spooling for DVD writing which uses
- a different spooling mechanism.
-kes Apply patch from Richard Mortimer to ensure that the number
- of DVD parts is correctly updated.
-rbn Save installer details log in the Bacula directory as
- install.log.
-rbn Add installer generation of client and storage templates
- suitable for @inclusion on the director.
-rbn Mark previously installed components for Win32 read-only since
- deselection doesn't do anything.
-
-Version 1.39.22 beta released:
-08Sep06
-kes Fix logic error in handling error return from mtx-changer
- script.
-kes Make status from SD aware of -1 (unknown) Slot status.
-kes At Eric's suggestion make both the 'slots' and 'drive' commands
- to the Storage daemon work even if the drive is busy.
-kes Make two separate Win32 menu links for starting bconsole and
- wx-console in winbacula.nsi
-kes Apply DVD part_spooled patch from Richard Mortimer
- richm@oldelvet.org.uk
-kes Put installer/Readme.txt into Win32 EOL format for Notebook.
-rbn Fixed problems migrating settings from previous releases in
- Win32 installer. Add Readme.txt with an option to show it on
- the installer Finish page.
-07Sep06
-kes Use get_catalog_resource() to open catalog database
- to ensure that ACLs are respected and that user is
- correctly prompted for database.
-kes Integrate multiple console/director patch from
- Carsten Paeth calle@calle.in-berlin.de
-ebl Add character substitution in Job/JobDefs WriteBootStrap.
- You can use now 'WriteBootStrap = '/path/%c_%n.bsr''
-kes Apply patch supplied in bug #656 to pass priority field
- in the run dialog to the Director in gnome console
-kes Restore DCR after VOL_NAME_ERROR in mount.c. Hopefully
- this will fix bug #627 where Bacula eventually gets
- confused about what Volume it wants.
-kes Add a new close_part() class in the SD to save the device
- state around open/close_part/open for DVD writing. This
- should fix the num_dvd_parts getting zeroed as reported by
- Richard Mortimer.
-kes Apply patch from Richard Mortimer that correct edit code
- for debug output of st_size.
-ebl Add support of encrypted data stream to bscan.
- display data_len instead of data content (may be binary)
-06Sep06
-kes Add dev->close() in dir_ask_sysop_to_mount_volume() in
- bcopy. Fixes bug #669 reported by Eric.
-kes Fix incorrect number of arguments in SQL statement in
- sql_get.c as reported by Eric.
-kes Manual updates.
-kes Update examples directory.
-kes Remove unused variable in winservice.cpp
-kes Make Win32 make command build installer.
-rbn Add new Install Type page, used to select between Automatic
- and Custom installs. Automatic installs only prompt for
- configuration items that can't be reasonably defaulted.
-rbn Added Bacula logo to page headers.
-rbn Added Upgrade support
- - Configuration and component selection are migrated from
- pre-1.39 installs.
- - Configuration of upgraded components is preserved and
- not prompted for
- - Configuration of new components is handled according to
- the Automatic / Custom selection.
- - Component selection is defaulted to previously selected
- components.
-rbn Installation of Server components is disabled on
- Windows 95, 98 and ME.
-rbn Added URLs for support, info and upgrades to Bacula entry
- in Add/Remove Programs.
-rbn Added Version info to Bacula entry in Add/Remove Programs.
-04Sep06
-kes Correct dvd code that breaks tape labeling.
-kes Implement Enabled on update slots.
-02Sep06
-kes When doing a label, pass the VolBytes back to the Director,
- which puts it in the catalog.
-kes Print an error message if the user attempts to prune an
- archived Volume.
-kes Need to start using %ld when sscanfing 32 bit values.
-kes Update the free
-kes Correct the counting of VolCatBytes for DVDs.
-kes Add code to mount.c to require that VolCatBytes corresponds to
- what is actually found when doing an append.
-kes Update freespace only after writing on the DVD.
-kes Remove code that blows away the current part in the spool file.
-01Sep06
-kes Apply new dvd-handler patch from Richard Mortimer.
-kes Tweak so that debug level 20 shows only DVD commands.
-kes Correct spooled_part flag in dev.c close() so that it is cleared
- when the spool file is deleted or does not exist.
-kes Print part number in read_records when eof hit (restore).
-rbn Installer default changed to start services on new install.
-31Aug06
-kes Make find with no args in tree restore return error rather than
- stopping the selection. Fixes bug #665
-kes Rework DVD writing to ensure that the last part is written
- on open_next_part when dealing with a spool file.
-kes Correct the lseek_dev() routine to handle end point correctly
- (bug introduced by me).
-kes Allow part number to exceed num_dvd_parts in lseek_dev().
-rbn Change make_session_key on Windows to use WIN32 APIs to produce
- a better seed.
-rbn Add new tool scsilist.exe which displays the changer, tape and
- CD/DVD (1394, SCSI, SATA, ATAPI) devices and the information required
- to add them to bacula-sd.conf.
-30Aug06
-kes Apply dvd-handler patch from Richard Mortimer.
-kes Apply dvd error check patch from Richard Mortimer.
-kes Apply bpipe race patch from Richard Mortimer.
-kes Rework how DVD labels are handled and set append only
- when part > num_dvd_parts.
-27Aug06
-kes Rework many features of DVD writing and reading. Added many error
- messages. Most importantly changed part to represent the current
- part number base zero. This makes current DVD writing incompatible
- with previous version.
-26Aug06
-kes Add host:port to connect failure messages to FD and SD from Dir.
-kes Add WhereACL to console ACL list. If nothing is specified, only
- the default is permitted for restore. Otherwise, *all* allows any
- path, or you can specify permitted paths. This should allow control
- over where users can restore files. This is untested.
-kes Modified message to add a ? (as in loaded?) when querying the autochanger
- for what Slot is loaded.
-kes Fixed the use of Slot, so that is more correctly maintained, thus
- eliminating unneeded duplicate calls to determine what Slot is loaded.
-25Aug06
-kes Install man pages with 'make install'
-kes wx-console crashes because of differences between Bacula and wxWidgets
- malloc()/free(). Tweak wx-console to use bmalloc()/bfree() for Bacula
- calls.
-kes correct improper indenting in wx-console/console_conf.c
-kes update wx-console header copyrights
-kes Fix bug #658 where wx-console mangles file/directory names containing
- commas.
-24Aug06
-kes Add Media.Enabled flag to client backups for dotcmds.c
-kes Enforce Media.Enabled=1 for a current restore to work.
-kes Require restore case 3 to have sqlquery permission to work.
-kes Remove obsolete del_MAC sql command.
-kes Ensure that bscan creates Volumes with Enabled=1.
+Release Version 2.4.0:
+04Jun08
+kes Fix Win32 build.
+03Jun08
+kes Make sure to clear JS_WaitMedia when operator mounts a Volume.
+ This fixes bug #1095.
+31May08
+kes Add create_postgresql_database.sql to Win32 installer. Should
+ fix problem reported by Juilio Monteiro.
+kes Get correct slot when auto unloading a device. This fixes bug
+ #1086.
+30May08
+kes Fix multiple media restore.
+kes Make DEVICE Slot private and access it via a method.
+ Allows better control over when it is set and cleared.
+kes Fix possible seg fault if SQL error.
+28May08
+kes Add Martin's fixes to argument scanning for the estimate
+ command. This fixes bug #1093.
+kes Add debug code to SD.
+kes Fix renaming a Volume, which used the wrong Volume name.
+26May08
+kes If operator has rewind tape, print warning, release tape and
+ try once more. If tape is positioned somewhere, something went
+ wrong, so mark the tape in error and try once more. Previously
+ this error was fatal, now it produces an error message.
+kes Ensure correct volume name displayed during restore
+kes Ensure that Volume is mounted for restore.
+25May08
+kes Fix a few more Coverity reported problems.
+24May08
+kes Apply Allan Black's status dir job count patch.
+ebl Add information about IMPORT/EXPORT slots in mtx-script.
+kes Enhance a couple of SD debug messages.
+kes Tweak unload flag setting and ensure it is set during swap.
+23May08
+ebl Fix #1091 about bad output in estimate command.
+21May08
+kes Modify autochanger locking to attempt to avoid race
+ conditions.
+kes Make sure device not busy before doing label command.
+kes Display open() errors except when polling. Previously too
+ many were suppressed. This should fix bug #1070.
+kes Fix Win32 reparse points. Bacula will not recurse into any
+ reparse point directory, including mount points, unless the
+ directory is explicitly mentioned at the top level (same as
+ with Unix). A file that is linked to another file will be
+ backed up -- much as Unix does for hardlinked files.
+ This fixes bug #1041.
+20May08
+kes Remove double quotes from ChangeLog and ReleaseNotes
+kes Remove StorageId test when pruning and recycling (Eric's changes).
+kes Remove old form of locking when getting volumes -- causes deadlock.
+kes Change bat dirstat layoutWidget to dirstatlayoutWidget to make
+ the name unique and to eliminate compile time error.
+kes Add accurate.o to Win32 FD Makefile
+19May08
+kes Fix cats dll build on Win32 after db_update_job_end_record
+ calling sequence change.
+ebl Switch to tokyo dbm instead of htable in accurate code
+ebl Include tokyo dbm to bacula source tree
+17May08
+kes Fix buffer overruns detected by Coverity.
+13May08
+kes Tweak joblog display.
+12May08
+kes Implement --without-qwt
+kes Fix layout of restore tree dialog
+kes Add configure bat QWT libraries, so that bat can be built
+ with or without the QWT libaries.
+11May08
+ebl Add dummy tape driver for regression tests.
+kes Make sure we unload the right slot when swapping.
+10May08
+kes Add debug times, reduce size of two-pool-changer test
+08May08
+ebl Tweak autoconf scripts for vtape
+07May08
+kes Improve SD reserve debug code.
+kes Testing an improvement to free up volumes no longer in use.
+03May08
+kes Rework SD acquire for read to handle autochanger Volume
+ swapping.
+kes Implement regression that explicitly tests swapping a Volume
+ from one drive to another.
+kes Enhance disk-changer to detect most error conditions.
+kes Fix SD code so that it properly swaps a Volume between drives.
+ This fixes bug #1083.
+02May08
+kes Apply libdbi patch from Joao Freitas for regress and for
+ Bacula trunk. Regress now works with libdbi. Nice.
+kes Apply .nobackup patch from bug #1077 submitted by
+ Edwin Groothuis.
+kes Apply Bastian Friedrich's patch that adds %p to edit the pool
+ name into jobs cloned via the run directive.
+01May08
+kes Prevent a Volume that is being swapped from being freed from
+ the volume list. This will most likely fix, at least partially,
+ bug #1083.
+kes Fix strippath so that it does not get a buffer overrun and crash FD.
+ This fixes bug #1078.
+kes Remove 50 millisec wait in SD that broke debugger.
+ebl Add MaxRunSchedTime option that specifies the maximum allowed time
+ that a job may run, counted from when the job was scheduled.
+ebl Fix MaxWaitTime option that specifies the maximum allowed time that
+ a job may block waiting for a resource, counted from when the job starts
+ebl Rename (add) Max(Incr|Diff|Full)WaitTime to Max(Incr|Diff|Full)RunTime
+kes Apply patch from bug #1076 by Tullio Andreatta <t.andreatta@troppoavanti.it>
+ that implements multiple commands per line in the console when using
+ readline. Modify the default to use a semicolon as the command separator.
+28Apr08
+ebl Fix SQL query in migration code.
+ebl Make accurate mode with hash disk pass regression tests
+27Apr08
+ebl Implement first cut of accurate backup with hash disk.
+19Apr08
+kes Force unload of volume when wrong volume mounted in SD.
+17Apr08
+kes Fix bat seg fault at termination.
+kes Add Bacula generated version to bat about box.
+
+16Apr08
+kes Experiment with allowing multiple read jobs.
+kes Move final volume swapping code to DCR method and
+ call it from acquire_for_read().
+kes When wrong volume is mounted during read, unload_autochanger.
+15Apr08
+kes Integrate the libdbi changes from Joao Henrique Freitas
+14Apr08
+kes Stop searching for Volumes in SD askdir if DIR returns the
+ same volume name twice in a row.
+kes Close bat console windows first to eliminate error message
+ from the notifier.
+13Apr08
+kes Tweak the swap Volume from one drive to another code so that
+ it now seems to work.
+kes Resolve several problems with recycling that broke the new
+ code (these problems are in 2.2.9 as well).
+kes Remove the volume lock when calling the sysop code.
+kes Don't mark a reserved volume with no writers as unused otherwise
+ jobs fail.
+12Apr08
+kes Rework class structures for VOLRES, DCR, and DEVICE to make
+ the method names a bit more logical, and for more logically
+ handling the responsibilities.
+11Apr08
+kes Remove redundant code in terminating the scheduler that just
+ causes a seg fault in many cases.
+kes Cleanup releasing a volume and make it a DCR method.
+kes Improve algorithm for detecting pre-reserved volume and
+ swapping volumes.
+10Apr08
+kes Tweak volume swapping code so it works.
+kes Correct name overloading in mount.c
+kes Replace released flag in VOLRES with reserved and add access
+ methods for the VOLRES class.
+kes Prevent volume from being released while being swapped.
+kes Apply Bastian Friedrich's edit codes patch for the bpipe-fd
+ plugin that add %w (where) and %r (replace flag) editing to
+ the plugin line.
+kes Apply Bastial Friedrich's edit pool=%p patch for run clone
+ jobs.
+kes Refactor parts of stored/mount.c
+09Apr08
+ebl Add sanity checks for VolWriteTime and VolReadTime
+ebl Take care of bad clock changes while computing VolWriteTime
+ and VolReadTime. This should fix or limit #1066
+kes Correct error string numbers in dird/catreq.c
+kes Restructure reserving, acquiring, and mounting volumes. Calls to
+ autochanger are deferred for mount.c -- simplifes the code.
+08Apr08
+kes Do not prune any running job. It just fails the job.
+kes Lock the volumes when changing dev->reserved_device and marking
+ the volume unused otherwise the device can get reserved by
+ another job before the volume is released, thus blocking it.
+06Apr08
+kes Correctly detect Ubuntu systems, and add ubuntu platform directory.
+kes Fix bug #1063, reuse of freed ptr in list nextvol.
+kes Release regex compile buffer in filed/job.c
+kes Add proper type of const char in sql_create.c
+kes Turn off debug in daemon termination routines
+kes Move free_volume_list() before devices are freed in stored.c
+kes Fix reference to uninitalized stack variables in bregex.c.
+ This should correct bug #1067.
+04Apr08
+kes Fix possible seg fault in SD when freeing a volume entry.
+03Apr08
+kes Implement unload_dev() before swap device.
+ebl Add statistics prunning with option and menu
+kes Separate unload_dev() from unload_other_device() in autochanger.c
+02Apr08
+kes Apply patch from bug #1069 that corrects spurious error messages
+ when ACLs enabled on SGI but no ACL exists.
+ebl Fix small segfault in bacula-sd when debug level is 500
+kes Modify run_program() and run_program_full_output() to use
+ call by reference for the results string. This corrects a long
+ standing problem where the address of the string may be changed
+ in the subroutine but not in the calling program.
+01Apr08
+kes Re-enable code to remember last volume mounted on a non-tape
+ Autochanger.
+kes Add patch supplied in bug #1068 that fixes a SD crash when using
+ a Virtual autochanger.
+kes Generate correct JobMedia records during spooling/despooling when
+ running concurrent jobs. Thanks to Tom Ivar Helbekkmo
+ <tih@hamartun.priv.no> for excellent analysis and testing.
+31Mar08
+kes Tweak hash algorithm for htable using Martin Simmons idea
+ for doing a circular shift.
+kes Remember what volume is in VTLs (previously turned off for
+ testing).
+kes Analysis of JobMedia records by Tom Ivar Helbekkmo <tih@hamartun.priv.no>
+ pointed out some problems in creating JobMedia records during
+ spooling with concurrent jobs. Fix the problem by updating the
+ start file position before despooling and generate a jobmedia
+ record at the end of despooling.
+28Mar08
+kes Fix handling of JobMedia records during spooling and when a
+ Volume is changed without actually writing data to the Volume.
+27Mar08
+kes Rework certain SD locking based on gdb tracebacks of deadlocks
+ sent by Eric. This code now uses only the volume_lock() rather
+ than the reservations lock when at EOM and acquiring a new
+ volume.
+kes Ensure only one exit point in several subroutines.
+26Mar08
+kes Implement bsock code to permit locking. Use the new code in Verify
+ in the FD to prevent the heartbeat thread from disrupting the Verify
+ data sent to the Dir.
+kes Modify SD locking to eliminate locking the reservations system from
+ outside the system. Use the volume lock when getting media data
+ and reserving a new volume at end of media.
+kes Add Eric's volume_unused() fix to stored.c so that Volumes found
+ when SD starts are not locked into place.
+24Mar08
+kes Fix error compiling runscript code on 64 bit machines.
+kes Tweak Win32 mount point code.
+kes Fix a couple of bugs in the accurate code (bad sscanf, buffer not
+ cleared giving bad file estimate).
+kes Implement BIG_MALLOC in htable code. Runs 2.5 times faster for
+ 5 Million entries.
+22Mar08
+kes Keep Schedule run lists in order as suggested by
+ Bastian Friedrich.
+21Mar08
+kes Implement autostart scripts for Debian.
+ebl Implement upgrade catalog scripts.
+20Mar08
+ebl Apply jobstat patch for long term statistics. Have to implement
+ purge stats command and upgrade scripts.
+kes Fix mtx-changer.in for broken Debian mt program.
+19Mar08
+kes Fix large number of JobMedia records reported by Eric Bollengier.
+18Mar08
+kes Apply doc fix from bug #1062.
+kes Resolve crash and improper restore wx-console Win32 restore
+ GUI. Fixes bug #1065.
+kes Update Win32 wxWidgets to latest version.
+kes Attempt to do correct handling of Win32 mount points. Should
+ fix bug #1046.
+kes Fix Win32 FD backup/restore memory leak due to improper termination
+ of BackupRead/Write. This fixes bug# 1038.
+16Mar08
+ebl Reduce memory usage for accurate backup, working only with ctime
+ and mtime. (not all Lstat field)
+ About 40MB for my Linux system (400.000 files)
+14Mar08
+kes Add dcr->reserved_volume flag that allows us to release a volume
+ even if it is not vol->released. This allows maxvol2 to work when
+ Volumes expire and we are already writing to the device (i.e. a
+ volume is pulled out from under us by another job terminating after
+ we reserve the drive).
+13Mar08
+ebl Permit multiple command/console per runscript definition.
+ RunScript { command = /bin/true ; command = /bin/false ... }
+ebl Add RunsWhen = AfterVSS to runscript. You can execute a command
+ (restart an application) just after the VSS snapshot on windows.
+kes Don't zap dcr values during release_volume() as they might
+ have the next Volume to be mounted.
+kes Fix AIX prototype.
+12Mar08
+kes Second cut of drive switching during backup.
+11Mar08
+kes Fix Win32 build.
+kes Update Win32 version of wxWidgets to most recent version.
+kes Tweak Copy job details.
+kes Rework dir_find_next_appendable_volume to make a bit more effort
+ to find a suitable volume before giving up.
+10Mar08
+kes Make ask_sysop_to_create... to return if waken from wait.
+ This helps get out of blocked conditions.
+kes Experimental implementation of switch_device in reservations.
+kes Implement FD version to allow easier protocol changes.
+kes Add Plugin Options string -- not yet passed to FD.
+kes Implement PluginOptions ACL.
+09Mar08
+kes Attempt to correct problems with restores with autochangers and
+ use counts going negative
+kes Rework SD status command and implement API for bat. Implements
+ header, runing waitreservation, devices, volumes, spooling,
+ and terminated status keywords.
+ .status storage=xxx <keyword>
+kes Clarify TLS error message by adding double quotes around name.
+kes Simplify SD/FD status code by putting api flag in STATUS_PKT
+kes Pass jcr to tls routines so debug messages can be handled better.
+kes Rework jobq resource allocation code, and possibly fix a bug
+ that caused reference counts to get out of sync.
+08Mar08
+kes Rename fd/dir plugin to use Bacula standard underscore.
+kes Plugin work -- bring dir up to fd level.
+kes Start implementation of VTL code
+kes Fix Win32 build after adding new cats subroutine.
+06Mar08
+kes First cut at Duplicate Job implementation.
+05Mar08
+kes Fix bugs in MaxFullInterval and Implement MaxDiffInterval.
+kes Start PluginOptions string, and refactor a bit of ua_run.c
+ebl Apply Allan patch that permit to reset recyclepool.
+04Mar08
+kes Test patch -- possible fix or improvement for bug #1053
+kes Refactor FD and SD status commands to permit new API code in
+ SD, and to fix Win32 build.
+kes Win32 build is now working.
+03Mar08
+kes Implement 'MaxFullInterval' and start 'MaxDiffInterval' based on
+ some ideas in patch from Scott Bailey.
+kes Begin implementation of duplicate Job control.
+kes Fix some of Win32 build after recent additions.
+kes Apply patch from Frank Kardel that implements 'honor no dump flag',
+ which causes the FD to detect whether or not the OS has the
+ honor no dump bit (*BSD systems), and if so, to skip backing up
+ any file with this bit set. The feature is enabled by setting
+ 'honor no dump flag = yes' in the Options section of a FileSet.
+28Feb08
+kes Correct po warning message with datarootdir
+kes Implement more code in dird.c to put configuration parsing in
+ a class rather than use globals.
+kes Restructure SD status command for implementation of bat API
+ interface.
+27Feb08
+kes Suppress incorrect 'Will not descend from x into y' messages.
+kes Eliminate FORTIFY_CODE=2 bug, and make first cut at removing
+ daemon globals used by parser.
+kes Apply Joao's patch to separate DB_TYPE and DB_PROG in configure.
+26Feb08
+kes Fix free of plugin_list when none exists.
+25Feb08
+ebl Apply accurate project patch.
+24Feb08
+ebl Fix a segfault when using strip_path option. (Use of pm_strcpy
+ on non-mempool object)
+kes First cut of converting FD .status to work with bat API.
+ New form is:
+ .status client=XXX header
+ .status client=XXX running
+ .status client=XXX terminated
+kes Implement first cut of Copy Job.
+kes Implement Catalog in Pool resource. It overrides catalog specified
+ in the Client resource.
+22Feb08
+kes Apply patch (with some difficulties) from Joao Henrique Freitas
+ <joaohf@gmail.com>, which adds support for libdbi as a Bacula
+ database driver.
+kes Add patch from Martin Schmid scm@apsag.com that checks to see if
+ ftruncate() actually works. In the case of some (cheap) NAS devices,
+ it does not, and so recycling NAS Volumes does not work. The code
+ simply unlink()s the file, then recreates it. This fixes bug #1011.
+21Feb08
+kes First incomplete cut of big malloc blocks for htable.
+kes Tweak plugin code.
+17Feb08
+kes Plugin debug code + tweak a couple bat dialog layouts
+14Feb08
+kes Fix creating first JobMedia record during Migration to include
+ proper index. This caused slow restores of migrated jobs.
+kes Temp fix to plugin name file_index.
+kes Bacula backed up and restored a MySQL database.
+13Feb08
+kes Implement plugin restore.
+kes Implement parsing of db_driver to give db_type index.
+10Feb08
+kes First cut of plugin restore code.
+kes Fix bug #1047, which had a heap overrun when stripping certain paths,
+ and do not strip paths on symbolic links.
+kes Set catalog backup database and user name from values specified on
+ the ./configure line.
+ebl Fix #1031 about wrong pool source information in job report.
+09Feb08
+kes Fix Win32 build.
+kes Remove a redundant jcr argument to find_files, match_files, and
+ find_one_file.
+kes Implement '.status dir header|scheduled|running|terminated' that
+ prints the requested status section. With the exception of the
+ header, the other reports have fields separated by tabs (\t).
+08Feb08
+kes Apply patch from Peter Much <pmc@citylink.dinoex.sub.org> that fixes
+ a resource embedded run command to find a since time if no explicit
+ since time was supplied on the command line.
+kes Apply state-file.patch sent by Allan Black <Allan.Black@btconnect.com>
+ that updates the state file at job termination time in addition to
+ when the daemon terminates.
+05Feb08
+kes First version where a plugin did a backup.
+ bpipe-fd.so created a backup file, wrote a test
+ string to it, and Bacua could restore this fabricated file.
+02Feb08
+kes Implement DB Driver = string for the DBI driver.
+kes Remove all old bdb_xxx.c code. Add dummy routines to bdb.c
+kes First cut of code for loading Win32 plugin dlls. Implement
+ dlopen, dlsym, dlclose, and dlerror in src/win32/compat/compat.cpp
+ and implement a dlfcn.h file based on opengroup's definitions of
+ the functions.
+01Feb08
+kes First cut plugin directives.
+30Jan08
+kes Apply patch from bug #1049 to prevent stripping the path on a
+ symlink.
+kes Attempt to fix bug #1047 where stripping a path corrupts the
+ heap. Waiting for feedback.
+kes Correct the Mount message not to suggest labeling a new tape
+ when doing a restore. Submitted by email by John Stoffel.
+kes Attempt to work around gcc FORTIFY_SOURCE bug that crashes the
+ FD by using casting. Reported in bug #1042.
+28Jan08
+kes A bit of crypto cleanup. More later.