Release Notes for Bacula Community 9.2

Community

Release 9.2.2 06 Nov 2018

This is a minor bug fix release (6,143 lines of diff). The main fixes to this version are: eliminate most messages that are repeatedly printed, eliminate malformed message output, error when compiling without TLS, …

Note: if you are running MySQL and have not recently executed src/cats/update_bacula_tables, please do so. It will not change your database version but it will fix some potential MySQL problems (for more details see the release notes for version 9.2.1).

  • Fix bug #2421 by Adam about quoting Windows paths in CreateChildProcess()

  • Update po files

  • Implement new message numbers in stored/block.c

  • Fix incorrectly indicating: malformed message

  • Fix bugs #2335 and #2349 Volume messages printed many times

  • Add new test for bug printing many multiple Max Volume jobs= info

  • Fix complier warning due to unused subroutine variable

  • Fix bug #2334 seg fault when releasing globals

  • Fix escaping special characters in bvfs restore for sqlite catalog

  • Fix tls_bsock_shutdown() compilation when no TLS available.

  • Fix bsock compilation warning.

  • Fix bsock compilation problem in *BSD.

  • Add new manual test

  • rpm: Fix mysql dependency for bacula-postgresql

  • baculum: Fix basic auth user setting in API install wizard

  • baculum: Improve error handling in web part

  • baculum: Fix formatted size and time values on the volume details page

  • baculum: Fix undefined index error on web config wizard page

  • baculum: Fix #2418 creating or updating new resource

  • baculum: Fix size unit formatters in restore browser reported by Wanderlei Huttel

  • baculum: Do not store any main oauth2 client nor main http basic user in api config

  • baculum: Update Japanese translation files

  • baculum: Fix availability web config wizard when there is problem with access to api

  • baculum: Add new size directive control

  • baculum: Fix logging output if it is not possible to decode to json

  • baculum: Fix saving logs when an error occurs

  • baculum: API panel and wizard improvements

  • baculum: Add name field to api client parameters

Bugs fixed/closed since last release: 2334 2335 2418 2421

Release 9.2.1 12 Aug 2018

This is a bug fix release. It also contains some refactoring. That said, there are 10,909 lines of diff between release 9.2.0 and this release. One major improvement is that this release should eliminate the persistent problem we have seen with MySQL unhappy with zero DATETIME fields. If you have problems with that, please simply execute the script update_bacula_tables found in the <bacula>/src/cats library. It will modify the table default values for DATETIME fields to be friendly to the whims of MySQL and MariaDB.

  • baculum: Fix saving directives in messages resource

  • Refactoring of BSOCK and introducing BSOCKCORE.

  • baculum: Update API documentation

  • baculum: Add status endpoint to available scopes endpoints

  • Make print_ls_output identify delete files more clearly

  • Backport stored/vbackup.c

  • baculum: Add status director and status storage endpoints

  • baculum: Add type and level filters to jobs endpoint

  • baculum: Add support for .api 2 command in bconsole module

  • Implement a keepalive on bpipe sockets fixes bug #2347

  • Backport bpipe enhancements

  • Permit catalog to contain negative FileIndexes

  • Fix bug #2319 wrong port value stored in bsock giving incorrect error messages

  • baculum: Add to jobs endpoint filtering by client and clientid

  • Fix bug #2410 bdirjson output incorrect for day greater than 24

  • Attempt to avoid MySQL complaints about not allowing zero or empty in DATETIME

  • Add M_SECURITY when connection is bad + fix bug where invalid probes sent to Dir

  • baculum: Fix schedule single day value setting

  • Fix bug #2286 copied jobs always have level=Incremental

  • baculum: Fix add slot parameter to label command

  • baculum: Fix restoring backup from deleted clients

  • baculum: Fix click action on remove config resource button

  • baculum: Fix framework validation for active list type controls

  • baculum: Implement ideas from Wanderlei Huttel

  • Fix bug 2395 problem with man dir

  • baculum: Fix saving subresources in config

  • Start work on HAVE_CLIENT_ONLY install

  • Switch to using /lib/systemd/system to install service files

  • Install Bacula systemd files in /etc/systemd/system

  • baculum: Update Portuguese translations

  • baculum: Fix group most recent backups option in restore wizard for mysql

  • Fix bug #2404 uninstall systemd service

  • Fix warning during compilations of mainwin.cpp

  • baculum: Implement second part ideas and fixes proposed by Wanderlei Huttel

  • Update catalog update scripts in updatedb directory

  • Fix bug #2340. Display of db_driver

  • Add warning messages for bad or old self-signed certificates

  • baculum: Fix #2403 error while writing diraddress directive in Bacula config

  • baculum: Implement ideas and fixes proposed by Wanderlei Huttel

  • baculum: Update Portuguese translations

  • baculum: Fix pool does not exist error on pool details page

  • baculum: Fix create directive base method

  • rpm: Fix MySQL dependency on bacula-postgresql package

Bugs fixed/closed since last release: 2410 2389 2286 2319 2340 2347 2357 2403 2404 2405 2395 2392

Release 9.2.0 20 Jul 2018

This is one of the biggest Bacula release ever made. It has almost 540,000 lines of diff output between Release 9.0.8 and this release.

This is a major new release with a new version number. It has been very thoroughly tested, but as always, please backup any previous version and test this version prior to putting it into production.

For the most part the changes were contributed to the Bacula project by Bacula Systems SA and myself, but there were a number of other contributors that I thank.

Database Update

There are no changes required to the catalog database.

Compatibility

As always, both the Community Director and Storage daemon(s) must be upgraded at the same time. Any File daemon running on the same machine as a Director or Storage daemon must be of the same version.

Older File Daemons should be compatible with the 9.2.0 Director and Storage daemons. There should be no need to upgrade older File Daemons.

  • Separate dequeuing msgs and dequeuing daemon msgs

  • Replace uint with uint32_t

  • Reset default status schedule limit to 30

  • Comment out use of uint that breaks Windows build

  • Update win32 .def files

  • Fix concurrent acquire/release of device

  • Correct copyright

  • Fix compiler warning generated by prior commit 1aad2088d21a3

  • Backport Enterprise src/findlib

  • Backport Enterprise src/filed

  • Backport Enterprise src/lib

  • Add debug code for bug #2356

  • Fix bug #2385 – compiler bug IMO

  • fix #3945: Add “ocfs2” to list of filesystems known by “FsType” directive

  • Backport parts of src/dird to community

  • Use bstrcmp in place of strcmp

  • Recompile configure

  • Update config.guess and config.sub

  • Fix #3615 about bconsole Socket errors reported in the bacula log file

  • Fix permissions of mtx-changer.conf

  • Use /dev/sg0 rather than /dev/sg1 so vtape devices work

  • Make out of freespace non-fatal for removable devices – i.e. behaves like tape

  • Pull latest tls*.pem from BEE

  • Fix #3854 missing tls library initialization in bdirjson, bfdjson, bsdjson and bbconsjson

  • Fix bug #2212 where restore jobid=nn file=xxx restores the files twice

  • Apply patch from Wandlei Huttel to add Run Time and suffix to Restored bytes

  • Fix bug #2343 where truncate of explicit Volume name truncates non-purged volumes

  • Fix some file execute permissions. Fixes bug #2389

  • Fix license problems in Bug #2382

  • Apply patch from Leo to fix bug 2192

  • Fix bad placement of jcr->pool reference as pointed out by Martin Simmons

  • rpm: Add OpenSuse Leap 42.3

  • rpm: Update bacula.spec for Fedora 27

  • Fix #3824 about incorrect setdebug command description

  • Fix Solaris 10 compilation error on BXATTR when no linkat(2) found.

  • win32: Fix backup issue with path > 250 char

  • Fix #3672 about bdirjson issue with the Autochanger directive

  • Enable build of Windows 64 bit tray monitor

  • Fix build of Windows tray-monitor

  • Some changes to configure.in

  • Update some old copyrights

  • Update some old copyrights

  • Fix showing PkiCipher and PkiDigest values in bfdjson output

  • Fix buffer overrun at BXATTR_Solaris::os_get_xattr_names.

  • Bring Branch-9.1 up to date with Branch-9.0

  • Fix #3745 update the client SQL record after a reload

  • Fix ‘grep -m’ when ‘-m’ option is not available.

  • Update the build for ACL/XATTR support.

  • Add some debugging information to bacl_solaris.

  • Fix backup ACL/XATTR when fatal error and not only error.

  • Fix Solaris XATTR support on Solaris 11.

  • Fix compile error on !HAVE_EXTENDED_ACL

  • Add some debugging messages.

  • Fix compilation warning on FreeBSD.

  • Add command to change the pool of a job and the associated volumes

  • Fix #3593 VirtualFull will select jobs to consolidate using Job name in addition to Client/FileSet

  • Do not increment the device num_writers if the call to dir_update_volume_info() fails

  • Add prune option to select volumes from a/all pool(s)

  • rpm: Add Fedora26-64 platform

  • Add the RestoreClient directive for Restore job.

  • Implementaion of .ls command for Plugins.

  • Use correct SQL table encoding for Postgresql 10.x

  • Fix Where/Replace parameter displayed in the Restore job summary

  • use pthread_kill() instead of pthread_cancel() to terminate SD_msg_chan

  • Recompile configure.in

  • Recompile configure.in

  • Correction of my_name_is() function using realpath()

  • Add a detection of realpath() function to configure.

  • Fix tray-monitor compilation

  • Use breaddir() in the tray monitor

  • file_dev.c: replace readdir_r() wit new breaddir()

  • new breaddir() function to replace readdir_r() + core update

  • Fix #3098 Add debug tag ‘record’ for traces about records in the SD

  • Fix #1826 Add Job Where and Replace variables to the Restore job summary

  • Remove tests about “NULL Volume name. This shouldn’t happen!!!* options to api restore

  • Port missing RestoreObject Plugin Config code from BEE.

  • Enhance “status schedule” function to allow multiple job= and client= filters

  • Add next_name() function to scan string lists

  • Fix #1170. Enhance “status schedule” command. Display ordered output, add Client and FileSet filters.

  • bvfs: Add clients= option to .bvfs_get_jobids to handle clusters

  • Add delete client bconsole command

  • Fix #2910 about a problem in the “status network” command when the client is not reachable

  • Fix #1108 Enhance setdebug help command and console completion

  • baculum: Fix SQL grouping error in restore wizard reported by Rasmus Linden

  • baculum: Fix cancel button in web config wizard

  • baculum: Web interface password is no longer stored in settings.conf

  • baculum: Fix path validator for UTF-8 characters

  • baculum: Add capability to set maximum numer of jobs visible in tables

  • baculum: Add prune and purge actions to volume view page

  • baculum: Fix compatibility with old api for prune and purge actions

  • baculum: Update Portuguese translations

  • baculum: Fix catching API exceptions

  • baculum: Clean up theme Baculum-v1

  • baculum: Fix initializing new resource page

  • baculum: Add button to set job log order

  • baculum: Add manual loading CSS files with versioning

  • baculum: Move API panel CSS files to separate directory

  • baculum: Move Web CSS files to separate directory

  • baculum: Fix not showing ‘gui on’ command in bconsole output

  • baculum: Loading table data performance improvements

  • baculum: Fix sending path load request by enter key

  • baculum: Add patch to fix gettext class file in framework

  • baculum: Add htaccess file to framework directory

  • baculum: Update rpm and deb templates with apache and lighttpd config files

  • baculum: Update example api endpoints

  • baculum: Adapt Web and API to new framework version

  • baculum: Updated PRADO framework to version 4.0.1

  • baculum: Highlight main menu items for subpages

  • baculum: API v1 documentation as open API file

  • baculum: Update Web requests form for the new API v1

  • baculum: New improved version API v1

  • baculum: Fix link to job history page

  • baculum: Fix previous step button in restore wizard

  • baculum: Enable debug for first config wizard run

  • baculum: Fix directing to wizard if application config doesn’t exist

  • baculum: Fix opening configuration tabs bug reported by Heitor Faria

  • baculum: Set curl connection timeout

  • baculum: Show error message after connection to api test

  • baculum: Update LICENSE file

  • baculum: Solve old browser cache problem for javascript after upgrade

  • baculum: New redesigned web interface

  • baculum: Changes in api for the redesigned web interface

  • baculum: Fix saving boolean values in schedule Run directive

  • baculum: Add link to go back from job configuration window

  • baculum: Add new volumes required api endpoint

  • baculum: Add listbox control and use it for base and device directives

  • baculum: Fix showing verify job fields in job run configuration window

  • baculum: Revert back volume pool name in volume list window

  • baculum: Fix error message about disabled bconsole

  • baculum: API endpoints code refactor

  • baculum: Add state, number, boolean and id validators

  • baculum: Return bconsole disabled error if bconsole support isn’t enabled

  • baculum: Remove unused api endpoints

  • baculum: Fix oauth2 client working in the web part

  • baculum: Fix auth setting radio buttons alignement

  • baculum: Enlarge interface height to 100%

  • baculum: Add more information to cURL error

  • baculum: Stop using hidden fields to store item identifiers

  • baculum: Fix redundant loading users portlet

  • baculum: Add required config fields asterisk mark

  • baculum: New reworked restore wizard

  • baculum: Wizards view improvements

  • baculum: Add restore hardlinks support in api

  • baculum: Add strip_prefix, add_prefix, add_suffix and regex_where restore

  • baculum: Fix link to job history page

  • baculum: Fix previous step button in restore wizard

  • baculum: Enable debug for first config wizard run

  • baculum: Fix directing to wizard if application config doesn’t exist

  • baculum: Fix opening configuration tabs bug reported by Heitor Faria

  • baculum: Set curl connection timeout

  • baculum: Show error message after connection to api test

  • baculum: Update LICENSE file

  • baculum: Solve old browser cache problem for javascript after upgrade

  • baculum: New redesigned web interface

  • baculum: Changes in api for the redesigned web interface

Bugs fixed/closed since last release: 1108 1170 1826 2212 2343 2356 2382 2385 2389 2910 3098 3593 3615 3672 3745 3824 3854 3945

Go back to: Bacula Community Release Notes.