Release Notes for Bacula Community 9.4

Community

Release 9.4.4 28 May 2019

This is a bug fix release to 9.4.3. It includes some fixes that fix bad data records in Copy/Migration jobs or problems doing restores of Copy/Migration jobs.

  • rpm: Fix mysql dependency for bacula-postgresql

  • Fix bug 2476 – copy/migration jobs fail when waiting for a new Volume

  • Add copy-jobspan-label-wait-test to do_all

  • Add two new regression tests submitted by Martin Simmons for bug 2476

  • Remove bacula32.def and bacula64.def.

  • Add Michael Narigon as author for Mac heap implementation

  • Add tests/restart-jobmedia-test to do_all

  • Allow to hangup/blowup inside a file for tests slash - fix suggested by vondi

  • Add db_get_jobmedia_record() function

  • Check JobMedia validity after an incomplete job

  • baculum: Fix #2477 escaping backslashes in config in text directive types

  • baculum: Fix #2474 error 404 if document root path uses link with ending

  • baculum: Remove php database extensions dependency from web requirements

  • baculum: Fix removing path items selected to restore in restore wizard

  • baculum: Fix clearing restore path field after selecting backup in restore

    wizard

  • baculum: Fix TPhpFatalErrorException exception on job view page with PHP

    version lower than 5.5

Bugs fixed/closed since last release: 2474 2476 2477

Release 9.4.3 02 May 2019

This is a bug fix release for version 9.4.2. It includes a number of bug fixes and patches.

Baculum: there have been significant additions and changes to Baculum. If you want a web gui please check it out.

S3 driver: If you are trying to build the S3 drivers, please remember to use the community supplied (from Bacula Enterprise) version of libs3.so found at:

https://www.bacula.org/downloads/libs3-20181010.tar.gz

As usual the binaries that correspond to this release will follow in a week or two.

If there are no additional major bugs, this will be the last of the 9.4.x releases. The next release will have a number of new features, and will require a major database upgrade (don’t worry it will be easy – just run update_bacula_tables)

  • Fix Window bpipe-fd strncpy programming error

  • Change mysql my_bool to bool as it was removed from mysql

  • Improve assert message

  • examples: move backup-to-cdwriter.txt to move-backup-to-usb.txt

  • fix memory leak in DIR for copy-job

  • Skip empty lines when generating the FileSet from a command

  • Fix creation of bad JobMedia records in Incomplete Job

  • Add messages for Incomplete Jobs

  • Fix misplaced cancel check reported by Alain

  • Change round() to bround() to avoid library definition conflict

  • rpms: Fix bacula-cloud spec file

  • rpms: Add bacula-cloud spec file

  • rpms: Add missing isworm script

  • Use more appropriate computation for VolIndex when creating restore .bsr

  • Fix Daemon message “Message repeated X times” count

  • Fix Carsten’s names

  • Make diff.pl adapt to different install locations

  • Fix #4598 Display JobIds used in the restore job log

  • Add smartalloc function to print the owner of a buffer

  • Avoid to use the same variable name for two different things in the cmd_parser class

  • Fix #4433 about ‘UPDATE File SET MD5=’…’ WHERE FileId=0’ error when using SpoolAttributes=no

  • Fix MaxVolumeBytes accounting after a mount request

  • Fix verify volume jobs with sparse files

  • Fix small memory leak with Console runscripts

  • Add ‘prune jobs/files all’ command

  • fix #4383 Sometime SD hangs when TLS and DEDUP are used together

  • baculum: Add status schedule page

  • baculum: Add status schedule API endpoint

  • baculum: Fix schedule directives setting

  • baculum: Update Portuguese translation file

  • baculum: Fix #2466 add plugin directive support in fileset resource

  • baculum: Fix updating whole Bacula config at once

  • baculum: Fix showing validation error if new config is incorrect

  • baculum: Fix setting multiple config resources at once

  • baculum: Fix renaming resources

  • baculum: Add links to resources in job log output

  • baculum: Update example web server config files and spec file

  • baculum: Fix list type directives on configure hosts page

  • baculum: Fix showing messages resource configuration

  • baculum: Add parent node property to directive list types

  • baculum: Add capability to define multiple drivetype and fstype directives in fileset resource

  • baculum: Fix showing runscript subresource on job pages

  • baculum: Update new texts in Portuguese translation file

  • baculum: Add missing texts to translation files reported by Wanderlei Huttel

  • baculum: Update Portuguese translations

  • baculum: Fix showing schedule resource configuration on job view and job history view pages

  • baculum: Fix returning one line output from bconsole

  • baculum: Fix restore wizard error when no fileset available for normal user with limited access

  • baculum: Add capability to use many ACL Console directives in one config resource

  • baculum: Add client ls command to openapi file

  • baculum: Add text box list control to support directives that can be defined multiple times in one resource

  • baculum: Add cancel button to last step new job wizard

  • baculum: Change PoolType field from text box into combo box

  • baculum: Fix adding new schedule run directives

  • baculum: Add support to multiple schedule run directives

  • baculum: Fix in API part saving job runscript config if RunsWhen=Always

  • baculum: Fix adding paths to empty include block

  • baculum: Fix saving job runscript config if RunsWhen=Always

  • baculum: New create backup job wizard

  • baculum: Add API endpoint to list files/dirs on client

Bugs fixed/closed since last release: 2466 4383 4433 4598

Release 9.4.2 04 Feb 2019

This is a bug fix release for version 9.4.1. It includes a number of bug fixes and patches. Thanks to the community for your participation. 9 bug reports were closed. This version should fix virtually all the problems found on FreeBSD.

If you are trying to build the S3 drivers, please remember to use the community supplied (from Bacula Enterprise) version of libs3.so found at:

https://www.bacula.org/downloads/libs3-20181010.tar.gz

  • Update Windows .def files

  • Change create_postgresql_database.in script to be more flexible

  • Implement eliminate verify records in dbcheck bug #2434

  • Enhance verify-voltocat-test to detect comparing deleted files

  • Fix bug #2452 VerifyToCatalog reports deleted files as being new

  • Use correct quoting for a character – fixes previous patch

  • Recompile configure.in

  • Apply Carsten’s multiarch patch fixes bug #2437

  • Apply Carsten’s patch for adding CPPFLAGS to tools/gigaslam.c compile

  • Allow . to terminate sql queries prompts

  • baculum: Update Baculum API OpenAPI documentation

  • Fix rwlock_test unittest bug #2449 Only call thr_setconcurrency if it’s available. Fix order of linking and installation.

  • FixFix spelling errors found by lintian by Carston in bug #2436

  • Apply chmods from Leo in bug #2445

  • Add license files LICENSE and LICENSE-FOSS to the regression directory

  • Display daemon pid in .apiV2 status output

  • Attempt to ensure that ctest job output gets uploaded

  • Apply varargs patch from Martin for bug 2443

  • Apply recv() hide patch from Martin

  • Fix lz4.c register compilation from bug #2443

  • dbcheck: Improve error message when trying to prune Path records with BVFS is used.

  • Update cdash for version 9.4

  • Fix bug #2448 bregex and bwild do not accept -l command line option

  • Partial update copyright year

  • Fix struct transfer_manager to be class transfer_manager

  • Print Device xxx requested by DIR disabled only if verbose is enabled in SD

  • Add migrate-job-no-resource-test to all-disk-tests

  • Remove unused berrno call + return

  • Remove mention of Beta release from ReleaseNotes

  • Fix #3225 about Migration issue when the Job resource is no longer defined

  • baculum: Fix restore paths with apostrophe

  • baculum: Fix data level

  • Change endblock edit to unsigned – suggested by Martin Simmons

  • Update DEPKGS_VERSION

  • baculum: Adapt Apache configs to version 2.4

Bugs fixed/closed since last release: 2434 2436 2437 2443 2445 2448 2449 2452 3225

Release 9.4.1 21 Dec 2018

This is a minor bug fix release for 9.4.0. It should fix a few of the warning messages, but not all, on FreeBSD and Solaris. More importantly The ./configure process now properly detects that libs3 is installed on your system. If you do not want to use the Amazon S3 driver, this update is not required.

In addition to this release, I have posted the current source code with patches for libs3 to bacula.org. This package is needed if you wish to build the S3 driver. You may download it from the following location:

https://www.bacula.org/downloads/libs3-20181010.tar.gz

  • Remove register attribute on variables as it is not supported by newer C++ compilers

  • Fix regression from 9.2 when backporting Enterprise code in bsock code

  • Add missing default flag so that configure looks for libs3

Release 9.4.0 16 Dec 2018

This is a major release comprised of more than 13,000 lines of differences since version 9.2.2. It has updates to Baculum and small number of bug fixes and back ports from Bacula Systems Enterprise since version 9.2.2, but primarily it has two new features …

The main new feature is the addition support for using Amazon S3 (and other identical S3 providers), and WORM tape cassettes. Note: Azur, Oracle S3, and Goggle S3 are not compatible with Amazon S3.

  • Add copyright and correct name on stop-restart-test

  • Fix #4449 about an incorrect pool selected with the restart command

  • Fix #4386 About incorrect permission on directories after a restore with replace=ifnewer

  • Fix bug #4379 certain fields of Media record not reset after Truncate command

  • Revert “Update bdirjson.c”

  • Improve volume truncation error messages

  • Free ids buffer

  • Update PO files

  • Initial version and date update

  • Initial cut of ChangeLog and ReleaseNotes

  • Add use_dcr_only in cloud_dev.c so that manual truncate works

  • More Enterprise backports

  • More Enterprise backports + changes to the backporting

  • Minor backport from Enterprise + my own changes

  • Update bdirjson.c

  • Add pseudo WORM support for vtape

  • worm: Fix multiple display of the WORM Recycle message

  • Add first cut cloud drivers

  • Use bfopen in place of fopen

  • Fix #3574 Add “clients” option to the “help list” output

  • Add makedir() in fd_common.h

  • Add bfile is_plugin_data() API

  • Fix issue between FO_PORTABLE and FO_PORTABLE_DATA to api

  • Fix NOATTR detection

  • Implement worm cassette support

  • Make detection of duplicate M_SECURITY messages work

  • Remove unused prototype recv(len)

  • Add new security monitoring test

  • 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

  • Add worning message about failure to update volume info

  • Improve error messages when JobMedia errors

  • Fix complier warning due to unused subroutine variable

  • Fix bug #2334 seg fault when releasing globals

  • Security: sleep(5) on error + aggregating identical messages

  • Update sellist unittests.

  • Update unittests for lockmgr.c and fix memory leak.

  • Update unittests fir ConfigFile/ini.c.

  • Update ‘rm -f’ for libtool $(RMF).

  • Correct libs/Makefile.in separator.

  • Update htable unittests.

  • Update sha1 unittests.

  • Add fnmatch unittests.

  • Update unit tests and add regression tests for it.

  • Fix escaping special characters in bvfs restore for sqlite catalog

  • Add new manual test

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

  • Fix tls_bsock_shutdown() compilation when no TLS available.

  • Fix bsock compilation warning.

  • Fix bsock compilation problem in *BSD.

  • Permit negative FileIndex values in the catalog

  • Fix format string is not a string literal (potentially insecure).

  • baculum: Update Japanese translation files

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

  • baculum: Add new size directive control

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

  • 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: Fix logging output if it is not possible to decode to json

  • baculum: Improve error handling in web part

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

  • 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 3574 4379 4386 4449

Go back to: Bacula Community Release Notes.