Category Archives: Releases

Release 9.0.4

We are pleased to announce that we have just released Bacula version 9.0.4

This is a minor bug fix release and mainly fixes the make_ and update_ sqlite3 database scripts.

06Sep17
– Update po files

05Sep17
– Fix SQLite3 upgrade tables script fixes bug #2306
– baculum: Fix language setting in config file

03Sep17
– Upgrade to latest lz4.c to fix bug #2310 bus error on 64 bit Solaris
– Recompile configure.in
– Ensure systemd/bacula.conf is created by configure fixed bug #2307
– Fix compiler warning noted in bug #2309
– Fix SQLite3 Version bug #2305
– Remove unused variable to elimiate compiler warning
– Recompile configure.in

28Aug17
– Fix #2925 Do not try to stop non backup jobs (virtualfull, copy, migration
restore, etc…)

25Aug17
– baculum: Fix broken symbolic links for lang files

17Aug17
– don’t use add_event() when flag “l” is not set

14Jun17
– core: bwlimit measure bandwidth

02Jun17
– core: bwlimit handle backlog and allow burst

25Apr17
– Do not purge running jobs in autoprune

Bugs fixed/closed since last release:
2305 2306 2307 2309 2310 2925

Please note: SQLite3 has been depreciated for a long time. If the
community will step forward (as it did in this case) and prepare
the appropriate make_sqlite3_tables and update_sqlite3_tables files,
we can continue to leave the SQLite3 code in Bacula. However, we
strongly urge users to update to MySQL, MariaDB, and PostgreSQL,
which are our supported SQL databases.

Thanks for using Bacula.

Release 9.0.3

We are pleased to announce that we have just released Bacula version 9.0.3

This is a minor bug fix release and mainly fixes the single drive mount/unmount problem.

08Aug17
– baculum: Fix access denied error on api install wizard page
– baculum: Remove assigning to api host when user is deleted
– baculum: Fix empty admin setting
– baculum: Add ability to assign host to specific user
– baculum: Fix bconsole test connection for new api host that works with new
director
– baculum: Fix sqlite db support
– Fix bug #2301 Solaris Available space incorrectly reported by turning off
output for Solaris
– Fix bug #2300 mount/unmount/release of single tape drive does not work
– baculum: Fix bconsole connection test in config wizard
– baculum: Fix writing config for schedule and message names with space
– bpipe: Fix compiler warning
– baculum: Fix drag & drop file version elements
– baculum: Add fileset info endpoint and use it in restore wizard
– baculum: Use client name instead of clientid and start using fileset to
prepare restore tree
– baculum: Remove fileset parameter from run restore
– baculum: Fix lstat regex pattern
– baculum: Get the most recent jobs by client and fileset or by clientid and
filesetid
– Fix: bug #3048: jobs are stuck in endless loop in reserve.c
– Add total time to test.out file
– baculum: Add restore job selection in restore job wizard
– Enhance verify job report from bug 2249

Bugs fixed/closed since last release:
2300 2301 3048

Release 9.0.2

We are pleased to announce that we have just released Bacula version 9.0.2

This is a minor bug fix release, but a few of the bugs are important. The main items fixed are:

– Postgresql should now work with Postgresql prior to 9.0 Note: the ssl connection feature added in 9.0 is not available on postgresql servers older than 9.0 (it needs the new connection API).
– The issues with MariaDB (reconnect variable) are now fixed
– The problem of the btape “test” command finding a wrong number of files in the append test was a bug. It is now fixed. It is unlikely that it affected anything but btape.
– The bacula-tray-monitor.deskop script is released in the scripts directory.
– We recommend that you build with both libz and lzo library support (the developer packages must be installed when building, and the shared object libraries must be installed at run time). However we have modified the code so that Bacula *should* build and run with either or both libz or lzo absent.

23Jul17
– Use Bacula in place of Libz variables so we can build with/without libz and lzo
– Apply ideas from bug #2255 prettier status slots output
– Configure and install bacula-tray-monitor.desktop
– Fix btape test which counted files incorrectly on EOT
– Fix bug #2296 where Bacula would not compile with postgres 8 or older
– Fix bug #2294 Bacula does not build with MariaDB 10.2
– baculum: Fix multiple directors support
– baculum: Fix showing errors from the API

Bugs fixed/closed since last release:
2255 2294 2296

Release 9.0.1

We are pleased to announce that we have just released Bacula version 9.0.1

This version is a minor bug fix release that mainly adds the omitted files for the tray-monitor. It also fixes the lzo4 compilation for 32 bit big endian architectures.

Thanks for using Bacula.

=============== Release Notes ================
Release Notes for Bacula 9.0.1

This is a minor bug fix release that mainly to include the new
tray-monitor files that were omitted. The tray-monitor now builds
and runs at least on Ubuntu Linux.

12Jul17
– Remove two incorrect trailing commas in bsock.h
– Fix bug #2293 bad big endian detection in lz4.c
– Add new tray-monitor files that were omitted in the backport from Enterprise
– bvfs: Do not insert deleted directories in PathVisibility table
– Fix compilation for Debian Stretch with GCC 6.3

Bugs fixed/closed since last release:
2293

Release 9.0.0

I am pleased to announce that we have just released Bacula version 9.0.0.

This is a major new release with major new features, many bugs fixed, many smaller new features, and a major rewrite of the Storage Daemon to be class based with drivers that can be dynamically loaded as needed, as well as a backport of much of the most current Bacula Enterprise version. In fact, there are so many new features that I have not myself had a chance to test them (e.g. the new Tray Monitor that includes client (user) initiated backups — even from remote laptops.

This new version requires a database update, so during the update process please be sure that the update_bacula_tables script is executed.

I would like to thank Bacula Systems for providing the bug fixes and new features. Since the development process in Bacula Systems is going faster (more programmers), we can expect even more features in future releases.

In addition to releasing the files to Source Forge as usual, the source files are also available on www.bacula.org and the up to date source code is also available for cloning from the git repository at git.bacula.org in the branch named Branch-9.0. Please note that we have a new 4096 bit Bacula Distribution Verification Public Key, which you can find in the Downloads menu.

Bacula Systems has begun building binaries for the community version 9.0.0, but I have not completed the documentation on how to install them, so binaries will be released over the next few weeks. Currently we have binaries for a limited number of distros, but over time, we intend to build binaries for all the major distros.

For your convenience, I have included much of the ReleaseNotes below. For the details, please see the ReleaseNotes that are in the source distribution.

Thank you for using Bacula.

Kern

=====================================================================

Release Notes for Bacula 9.0.0

This is either the biggest Bacula release ever made or one of the
biggest ones. Even without the new Aligned Volumes source code, which
is substantial, there are over 400,000 lines of diff output between
Release 7.4.7 and the release of 9.0.0

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
—————
This version of Bacula requires a database update. So either you or the
installation process must apply the update_bacula_tables script. As a
precaution, please do a database dump or run your nightly database backup
prior to running the update script.

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.0.0 Director and Storage
daemons. There should be no need to upgrade older File Daemons.

Packagers:
———
There are a good number of new binaries (e.g. bbconsjson, bdirjson,
bfdjson, and bsdjson) to install; a new tapealert script file that should
be installed; and some new shared objects (e.g. libbacsd). The
dvd-handler script has been removed. Note also to run the
update_bacula_tables script after having dumped the catalog to bring any
existing catalog up to the new version needed for Bacula 9.0.0.

New Features:
————-
Please see the New Features chapter of the manual for documentation on
the new features. The new features are currently only documented in
the New Features chapter and have not yet been integrated into the main
chapters of the manual.

New Features (summary):
———————–

– Major rewrite of the Storage daemon to: put all drivers in class
structures, provide better separation of core/driver code, add new
drivers (aligned volumes, cloud), simplifies core code, allows loadable
device drivers much like plugins but which are better integrated into
the SD.
– There are a number of new Bacula Systems whitepapers available on
www.bacula.org, and a few more will be coming in the next few months.
– New unique message id will be added to every message (designed but
not yet implemented).

Core Features:
– Implement a drive usage counter to do round robin drive assignment
– Enhance functionality of TapeAlert
– Implement a “Perpetual Virtual Full” feature that creates a Virtual Full b
that is updated every day
– Increase Director’s default “Maximum Concurrent Jobs” setting from 1 to 20
– Add “PluginDirectory” by default in bacula-sd.conf and bacula-fd.conf
– Add support for terabytes in sizes. Submitted by Wanderlei Huttel.
– Restore mtime & atime for symlinks
– New “status network” command to test the connection and the bandwidth
between a Client and a Storage Daemon
– New Tape Alert tracking
– Loadable SD device drivers
– PostgeSQL SSL connections permitted
– JobStatistics improved
– DB update required
– Autochanger improvements to group Devices
– Improved .estimate command
– Comm line compression
– Separate bxxjson programs for Console, Dir, FD, SD to output .conf content
in Json for easier reading with programs
– Read Only storage devices

Bconsole Features:
– Add “ExpiresIn” field in list and llist media output
– Add command to change the priority of a running job (update jobid=xxx prio
– Add level= and jobtype= parameters to the “list jobs” command
– Add option to bconsole to list and select a specific Console
– Add shortcut to RunScript console commands. Submitted by Wanderlei Huttel.
– Display “IgnoreFileSetChanges” in show fileset command (#2107)
– Display PrefixLinks in “show job” output
– Display permission bits in .bvfs_decode
– Display the Comment field in “llist job” command
– Add “ActionOnPurge” field to “llist pool” command. Fix #2487
– Add “long” keyword to list command, ie “list long job”. This is
essentially an alias fo the “llist” command.
– Modify the “setbandwidth” limit parameter to accept speed input. ex: limit
– Modify the “setbandwidth” limit parameter to accept speed input. ex: limit
– Modify the “setbandwidth” limit parameter so that the default
is no longer kb/s but b/s.
– Do not show disabled resources in selection list
– Fix bconsole readline and “dumb” terminal handling of CTRL-C
– Add the priority field to the .api 2 job listing output
– Improved restricted consoles when accessing catalog.

Misc Features:
– New Tray Monitor program
– Client Initiated Backups
– Many performance enhancements
– Bandwidth limitation timing improved
– Global resource variables are not lost during a reload command
– Add -w option to btape to specify a working directory
– Enhance bls -D/-F help message
– The “list” command now filters the results using the current Console ACLs
– The WhereACL is now verified after the restore menu

Bacula Release 7.4.7

We are pleased to announce that we have just released Bacula version 7.4.7 to Source Forge and to the Bacula.org website.

This version is a minor bug fix release that hopefully finally corrects the seg fault on OpenBSD due to the new ACL/XATTR code, and it also fixes most build problems on Solaris 10 as well as EPROTO on OpenBSD.

There is one minor new feature that allows you to specify the query item number on the bconsole query command line.

If you are already running Bacula version 7.4.0 or greater, it is not urgent to upgrade unless you find a problem you are experiencing on the list of fixes (see ReleaseNotes below). There is no database update required from any prior 7.4.x version, but as usual all Storage Daemons must be updated to the same version as your Director (presumably 7.4.7).

As a reminder, the Windows File Daemon is available for download on the www.bacula.org web site for personal use. Since there are no updates to the Windows FD, version 7.4.7 does not exist. Consequently, please use the Windows FD version 7.4.4.

15Mar17
– Permit specifying query item number on bconsole query command line
– Fix Solaris 10 problems reported by Phil Stracchino
– Fix EPROTO on OpenBSD

Thank you for using Bacula.

Bacula Release 7.4.6

We are pleased to announce that we have just released Bacula version 7.4.6 to Source Forge and to the Bacula.org website.

This version is a minor bug fix release that fixes a number of bugs in the prior release as well as some long standing bugs.

If you are already running Bacula version 7.4.0 or greater, it is not urgent to upgrade unless you find a problem you are experiencing on the list of fixes (see ReleaseNotes below). There is no database update required from any prior 7.4.x version, but as usual all Storage Daemons must be updated to the same version as your Director (presumably 7.4.5).

As a reminder, the Windows File Daemon is available for download on the www.bacula.org web site for personal use. Since there are no updates to the Windows FD, version 7.4.6 does not exist. Consequently, please use the Windows FD version 7.4.4.

I have now found a replacement for WPDM (WordPress Download Manager), which suddenly stopped working, and the Windows binaries for 7.4.4 are loaded as well as the source for 7.4.6. In the next few days, I will also reload a few older Bacula versions.

Thank you for using Bacula.

===================================================

Release Notes for Bacula 7.4.6

Release Version 7.4.6

This is a bug fix release, which hopefully corrects a seg fault on OpenBSD due to the nex ACL/XATTR code, and it also fixes the large number of tape mount messages that are repeated at 5 minute intervals due to a bug in the poll code. Various small fixes for FreeBSD.

Please note, the signature hash files (.sig) for the source code was previously SHA1. For this and future releases we have changed it to be SHA256.

10Mar17
– Fix bug #2271 where poll interval causes tape mount message to repeat
– Attempt to fix IPV6 not configured
– Possible fix for acl seg fault on OpenBSD where no acl code defined
– Change release digest from SHA1 to SHA256
– Fix getnameinfo() for FreeBSD fixes bug #2083

Bugs fixed/closed since last release:
2083 2271

Release 7.4.5 to Source Forge

We are pleased to announce that we have just released Bacula version 7.4.5 to Source Forge.

This version is a minor bug fix release that includes a rewrite of the  ACL and XATTR code by Radoslaw Korzeniewski.  It also corrects the btape fill command to work properly (tape testing prior to use).

If you are already running Bacula version 7.4.0 or greater, it is not urgent to upgrade unless you find a problem you are experiencing on the list of fixes (see ReleaseNotes below). There is no database update required from any prior 7.4.x version, but as usual all Storage Daemons must be updated to the same version as your Director (presumably 7.4.5).

As a reminder, the Windows File Daemon is available for download on the www.bacula.org web site for personal use. Since there are no updates to the Windows FD, version 7.4.5 does not exist. Consequently, please use the Windows FD version 7.4.4.

You may feel that not much is happening with Bacula, but that is far from being the case.  Since last April, we have been working very hard to rewrite the Storage Daemon device drivers.  This work is not totally complete, but it has advanced to a stage where it can be released.  One benefit of it is that there is now in the Bacula Enterprise Edition a Cloud backup driver for S3 compatible clouds.  In addition, we have fixed a number of long standing subtle but annoying bugs in Bacula particularly in the Storage daemon.  Finally, we have added a number of other new features.

Beginning immediately, I (Kern) am working full-time to backport the very latest Bacula Enterprise code to the community version.  Hopefully this will be completed in the next couple of months, then within a short time (less than a year), I will backport the Cloud driver.

Unfortunately, there are currently no 7.4.5 source code packages in the download area on the bacula.org web site.  This is because the WPDM download manager plugin, which I paid for and have relied on, no longer works with the most recent version of WordPress, nor am I able to submit a support request.   I have never been satisfied with this package because the upload procedure is extremely manual and many of the features they promise never worked (e.g. tree style browsing of downloads).  As you can imagine, I am not very pleased with WPDM and would not recommend it.

Once I find a replacement for WPDM, I will upload the source code.  In the mean time, please go to the Bacula download area of Source Forge to get the latest version of the Bacula source code.

Thank you for using Bacula.

===================================================

Release Notes for Bacula 7.4.5

This is a minor bug fix plus a significant total rewrite of the
ACL and XATTR code by Radoslaw Korzeniewski.

07Feb17
– Correct wrong word in message
– Remove restriction on using the scratch pool that can
cause restore failures
– Remove debug code that breaks btape fill
– Initialize freespace_mutex fixes bug 2207
– baculum: Update AUTHORS file
– baculum: Enable Japanese language on web interface
– baculum: Implement Japanese language support
– XACL – refactoring an ACL and XATTR codes.
– Revert “Warn of Storage Daemon version incompatibility if
label fails. Bug #2193”
– Make another attempt to resolve bug #2176
– Apply patch to list more pool info
– Fix status alignment output reported by Wanderlei Huttel

Release 7.4.4

We are pleased to announce that we have just released Bacula version 7.4.4

This version is a minor bug fix release.

If you are a packager, I strongly advise you to take the 7.4.4 version since it corrects a number of problems related to packaging and installation. If you are already running Bacula version 7.4.0, it is not urgent to upgrade unless you find a problem you are experiencing on the list of fixes (see ReleaseNotes below). There is no database update required from any prior 7.4.x version, but as usual all Storage Daemons must be updated to the same version as your Director (presumably 7.4.4).

As a reminder, the Windows File Daemon is available for download on the www.bacula.org web site for personal use. Since there are no updates to the Windows FD, version 7.4.4 does not exist. Consequently, please use the Windows FD version 7.4.0.

Work is progressing on the next major version, which will have several major new features. It will probably be ready in the spring of 2017.

Thank you for using Bacula.

===================================================

Release Notes for Bacula 7.4.4

– Fix #2085 About director segfault in cram-md5 function
– Attempt to fix bug #2237
– Recompile configure.in
– Fix systemd installation
– If using readline reset terminal at bconsole exit
– Fix compilation without SMARTALLOC
– Fix #2060 about SQL false error message with “update volume fromallpools” command
– Fix spurious MD5 update errors when nothing changed should fix   bug #2237 and others
– Fix small memory leak with the restart command
– baculum: Update language files
– Fix #335 Avoid backups going to the scratch pool
– Minor modifications to Ubuntu packaging
– Check if the ScratchPool points to the current Pool and print a warning message in such case
– Fix #1968 print the ScratchPool name instead of just ‘Scratch’
– Display PrefixLinks in “show job” output
– Add explicit LL to big integers to appease older compilers
– Enable the plugin directory for the FileDaemon by default
– Allow multiple mailcommand+operatorcommand in Messages. Fixes bug #2222
– Handle NULL pointers in smartdump() and asciidump()
– Modify status to include Admin and Restore in Level field — clearer
– Ensure that zero JobMedias are written for labelling
– Fix error message about the stream 26 (PLUGIN_NAME) in bextract

Bugs fixed/closed since last release:
1968 2060 2085 2222 2237 335

Bacula Release 7.4.3

We are pleased to announce that we have just released Bacula version 7.4.3.

This is a bug fix release. Primarily to correct the GCC 6.0 bug (for more see below).

As a reminder, the Windows File Daemon is available for download on the www.bacula.org web site for personal use. Since there are no updates to the Windows FD, version 7.4.2 does not exist. Consequently, please use the Windows FD version 7.4.0.

Work is progressing on the next major version, which will have several major new features. It will probably take another couple of months to complete the work and ensure that it is stable. I will let you know as it progresses.

Thank you for using Bacula.

=====================================================================

Release Notes for Bacula 7.4.3

Release version 7.4.3

This is a bug fix release. Most importantly, it fixes the new GCC 6.0 aggressive compiler behavior that elides (deletes) code written by the Bacula developers. There is no benefit to the new GCC agressive optimization and it breaks a lot of programs including Bacula. This problem showed up on ArchLinux and Fedora 24.

17Jul16
– Add LICENSE and LICENSE-FOSS files to the documentation
– Add shortcut to RunScript console commands. Submitted by Wanderlei Huttel.
Fixes bug #2224
– Fail when multiple mailcommand and other strings are specified in .conf. Fixes
bug #2222
– Add support for terabytes in sizes. Submitted by Wanderlei Huttel. Fixes bug
#2223
– Add error message for truncate command when actiononpurge not set. Fixes bug
#2221
– Fix optimization error with GCC 6.1
– Fix compilation warnings with GCC 6.1
– Explicitly create MySQL user in grant_mysql_privileges.in

Bugs fixed/closed since last release:
2221 2222 2223 2224

New feature:
– There are two new Director directives that simplify doing
console commands rather than using RunScripts. They are
ConsoleRunBeforeJob = “console-command”
ConsoleRunAfterJob = “console-command”

Release 7.4.2

We are pleased to announce that we have just released Bacula version 7.4.2.

This version consists of mainly bug fixes. The most important fix is for
MySQL 5.7, which no longer is distributed with a libmysqlxx_r (thread-safe
or reentant) file. This caused Bacula linked for MySQL to fail at startup.

If you are a packager, I strongly advise you to take the 7.4.2 version since
it corrects a number of problems related to packaging and installation. If
you are already running Bacula version 7.4.0, it is not urgent to upgrade
unless you find a problem you are experiencing on the list of fixes (see
ReleaseNotes below). There is no database update required from 7.4.0 or
7.4.1, but as usual all Storage Daemons must be updated to the same version
as your Director (presumably 7.4.2).

As a reminder, the Windows File Daemon is available for download on the
www.bacula.org web site for personal use. Since there are no updates to the
Windows FD, version 7.4.2 does not exist. Consequently, please use the
Windows FD version 7.4.0.

Work is progressing on the next version, which will have several major new
features. It will probably take another couple of months to complete the
work and ensure that it is stable. I will let you know as it progresses.

Thank you for using Bacula.

=====================================================================

Release Notes for Bacula 7.4.2

Release version 7.4.2

This is an important bug fix release to version 7.4.1 mainly
fixes detection of MySQL 5.7 (as found in Ubuntu 16.04). Certain bug
fixes contributed by Bacula Systems.

06Jul16
– Fix #1926 about wrong duplicate job detection with Copy/Migration and
Backup jobs
– Recompile configure after db.m4 change
– Fix batch insert for MySQL 5.7
– Fix zero level debug output — now at 100
– Fix #766 about Job logs displayed with unneeded linefeed
– Fix #1902 about a segfault with the “cancel inactive” command
– Fix bug where MySQL 5.7 is improperly linked on Ubuntu 16.04

Bugs fixed/closed since last release:
1902 1926 766

Release 7.4.1

We are pleased to announce that we have just released Bacula version 7.4.1.

This version consists of mainly bug fixes, most of which are minor, but some are annoying. If you are a packager, I strongly advise you to take the 7.4.1 version as opposed to 7.4.0 since version 7.4.1 corrects a number of problems related to packaging and installation. If you are already running Bacula version 7.4.0, it is not urgent to upgrade unless you find a problem you are experiencing on the list of fixes (see ReleaseNotes below). There is no database update required from 7.4.0, but as usual all Storage Daemons must be updated to the same version as your Director (presumably 7.4.1).

As a reminder, the Windows File Daemon is available for download on the www.bacula.org web site for personal use. Since there are no updates to the Windows FD, version 7.4.1 does not exist. Consequently, please use the Windows FD version 7.4.0.

We had hoped to release the next major version of Bacula about now, but four points have come up:

1. I (Kern) took a long deserved lengthy vacation for several months beginning in February.

2. There is now a huge amount of fixes (some included in 7.4.1) and nice new features in Bacula Enterprise that need backporting to the community version. The Bacula Enterprise developers have really been busy.

3. We decided to implement backup to the cloud, and that is much more work than I had initially imagined. Now I have the architecture well defined and a nice test program that works very well so I am currently integrating parts of the test program into Bacula (the community version).

4. Before, during and after my vacation, there were a number of nice patches that were submitted that must be integrated into the code.

It will probably take another couple of months to complete the work and ensure that it is stable. I will let you know as it progresses.

Rather than wait for the next version, we are releasing this minor bug fix version.

Thank you for using Bacula.

=====================================================================

Release Notes for Bacula 7.4.1

Release version 7.4.1

Changes summary:
This is a minor bug fix release to version 7.4.0. Most of the
fixes have been kindly contributed by Bacula Systems SA.

1Jun16
– Fix bug #1849 MySQL does not accept 0 for DATETIME default
– Modify the alist object to be reused after a destroy()
– baculum: Fix setting invalid timezone value for PHP
– Fix compilation for AIX
– Fix the restore termination string in the job report to take in account
JobErrors and SDErrors
– baculum: Show jobs for client
– Fix bconsole “llist job=” output
– Fix #146 about update volume command line usage
– bat: Fix #1066 about bad update pool command
– Fix #1653 about make_catalog_backup default user name
– baculum: Show jobs stored on volume
– Fix update Volume=x Slot=nn when Slot > MaxVols
– Set exit code for create_postgresql_database.in
– Fix bug #2197 — build failure with –disable-libtool
– Fix bug #2204 — superfluous END-OF-DATA in update_mysql_tables.in
– Convert a Migration job with errors into a Copy job
– Remove exporting add_mtab_item — fixes bug #2198
– Fix possible problem of show multiple resources
– Comment out tools/smtp-orig.c as it is for reference only

Release 7.4.0

We have just released Bacula version 7.4.0.

This version consists of more backports from Bacula Enterprise 8.4 as well quite a few bug fixes (28) as a number of new features.  For your convenience, I have included selected parts of the ReleaseNotes below.

Upgrading should be easy since there is no database change and all older File Daemons should remain compatible with Bacula 7.4.0.

As with the last release, I would like to thank Bacula Systems for providing the bug fixes and new features. Since the development process in Bacula Systems is going faster (more programmers), we can expect even more features in future versions.

In addition to releasing the files to Source Forge as usual, I have added a new download area on the bacula.org web site that will permit you to download all the files for the new version 7.4.0.

Bacula Systems has agreed to permit the personal use of the Bacula Enterprise Windows binaries, so I have included the Bacula Enteprise Windows binaries on the bacula.org web site (see Downloads -> Download Center on the main menu).  If you wish to use the Enterprise Windows binaries for other than personal use, please download them from: http://www.baculasystems.com/windows-binaries-for-bacula-community-users

Thank you for using Bacula.

=====================================================================

Release Notes for Bacula 7.4.0

Release version 7.4.0

For the most part the changes were contributed to the Bacula project by Bacula Systems SA.

This is a new release with a new version number. It has been very thourouly tested, but as always, the new features may not always work as expected.

The Catalog database format has not changed since version the prior release (7.2.0).

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

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

New features and changes:
Please see the New Features chapter of the manual for documentation on the new features. The new features are currently only in the New Features chapter and have not et been integrated into the main chapters of the manual.

New Features and changes summary:
– Support for KFREEBSD OS
– Improved support for Clang
– Configure SSL connection to MySQL
– New chio-changer-freebase in examples/autochangers
– New directives in bacula-dir.conf in Catalog{} resource for the MySQL backend (not currently implemented for Postgresql or SQLite).
dbsslkey
dbsslcert
dbsslca
dbsslcapath
dbsslcipher
– examples/autochangers/rc-chio-changer removed
– examples/devices/DVD.conf removed
– updated copyrights
– Add “Expires in” to list and llist volumes
– Implement a more efficient Volume selection algorithm between DIR and SD
– Implement new list/llist command keywords:
order=asc|ascending
order=desc|decending
limit=nn
jobstatus=
Client=
JobErrors
– Implement new bconsole @tall command that outputs input and output to console and terminal. Note, this also outputs bconsole input commands.
– Implement MaxVirtualFullInterval
– Implement VirtualFullPool override
– Pool overrides work better
– Automatic selection of catalog from client where possible.
– Implement VerifyData level type for Verify jobs.

Bugs fixed/closed since last release:
1131 1360 1362 1368 1382 1412 1414 1449 1470 1524 1545 1548 1882 2083 2090 2103 2115 2117 2151 2153 2156 2165 2180 2182 2183 2192 804 898

Baculum 7.2.1-0 Release

We have released a new Baculum version – 7.2.1-0.

This release is focused on performance improvements. Despite the fact that it is a minor release, in this version we have included numerous features.

Source tar archive: http://bacula.org/downloads/baculum/baculum-7.2.1-0.tar.gz
Signature: http://bacula.org/downloads/baculum/baculum-7.2.1-0.tar.gz.sig
PGP public key: http://bacula.org/downloads/baculum/baculum.pub

Changes:
– Add run job again button
– Add session cache
– Search field works for all table cells
– Remember sort order for data grids
– Remove temporary Bvfs table when restore starts
– Add example Nginx config
– Add jobbytes and jobfiles columns in job list
– Split configuration windows into two tabs: actions and console
– Set default job attributes (level, client, fileset, pool, storage, priority) in Run job panel
– Do not refresh window lists if toolbar is open or elements are checked
– Fix working with php-fpm
– Fix sorting formatted values in tables
– Improve formatted size precision.
– Fix jobs count in job list
– Fix end-of-file warning in bconsole calls. Patch from Ulrich Leodolter
– Show jobid in job configuration window
– Get system timezone for PHP if possible
– Fix restore when a lot of jobids are given
– Show copy job label in job list
– Get job show result by job name or jobid
– Set half size window as default window size
– Does not save controls state in jobs window
– Fix showing table header
– Update SELinux policy module
– Fix update pool action when no volumes in pool
– Change default elements limit to 500 elements
– Add drive parameter to bconsole release command execution
– Fix expectation failed error during restore
– Switch to debug mode only when debug is enabled in config
– Fix remove users file during upgrade deb packages
– Fix default values in Makefile
– Change Makefile to using also for deb packages template
– Add deb template files and deb configs examples

In version 7.2.1-0 We prepared binary packages for: CentOS, Fedora, Ubuntu and Debian. Below you can find the installation descriptions for each of the distributions.

=== Fedora packages ===

1. Add Baculum repository:

# dnf config-manager –add-repo http://download.opensuse.org/repositories/home:/ganiuszka/Fedora_23/home:ganiuszka.repo

2. Install base Baculum package

# dnf install baculum

3. If SELinux enabled then it is required additional baculum-selinux package:

# dnf install baculum-selinux

4. Install Baculum web server configuration and Baculum start

a) For Apache web server

# dnf install baculum-httpd
# service httpd restart

b) For Lighttpd web server

# dnf install baculum-lighttpd
# service baculum-lighttpd start

5. In web browser go to: http://localhost:9095

First time login: admin
First time password: admin

NOTE!
If bconsole is accessible to Baculum via sudo then your are required to create a file:

# vi /etc/sudoers.d/baculum

add the following content to the file:

a) For Apache web server:

Defaults:apache !requiretty
apache ALL= NOPASSWD: /usr/sbin/bconsole

b) For Lighttpd web server

Defaults:lighttpd !requiretty
lighttpd ALL= NOPASSWD: /usr/sbin/bconsole
=== CentOS packages ===

1. Add Baculum repository:

# yum-config-manager –add-repo http://download.opensuse.org/repositories/home:/ganiuszka/CentOS_7/home:ganiuszka.repo

2. Install base Baculum package

# yum install baculum

3. If SELinux enabled then is required additional baculum-selinux package:

# yum install baculum-selinux

4. Install Baculum web server configuration and Baculum start

a) For Apache web server

# yum install baculum-httpd
# service httpd restart

b) For Lighttpd web server

Because Lighttpd binary packages default does not exist in CentOS repository, you are required to install epel repository with the following command:

# yum install epel-release

and then install Lighttpd configuration for Baculum:

# yum install baculum-lighttpd
# service baculum-lighttpd start

5. In web browser go to: http://localhost:9095

First time login: admin
First time password: admin

NOTE!
If bconsole is accessible to Baculum via sudo then you are required to create a file:

# vi /etc/sudoers.d/baculum

and add the following content to the file:

a) For Apache web server:

Defaults:apache !requiretty
apache ALL= NOPASSWD: /usr/sbin/bconsole

b) For Lighttpd web server

Defaults:lighttpd !requiretty
lighttpd ALL= NOPASSWD: /usr/sbin/bconsole
=== Ubuntu packages ===

1. Add Baculum PPA repository:

# add-apt-repository ppa:ganiuszka/baculum

2. Update packages index

# apt-get update

3. Install base Baculum package

# apt-get install baculum

4. Install Baculum web server configuration end Baculum start

a) For Apache web server:

# apt-get install baculum-apache2

Enable mod_rewrite module in Apache

# ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load

Enable Baculum configuration in Apache

# ln -s /etc/apache2/sites-available/baculum.conf /etc/apache2/sites-enabled/baculum.conf

Start Baculum

# service apache2 restart

b) For Lighttpd web server:

# apt-get install baculum-lighttpd
# service baculum-lighttpd start

5. In web browser go to: http://localhost:9095

First time login: admin
First time password: admin

NOTE!
If bconsole is accessible to Baculum via sudo then you are required to create a file:

# vi /etc/sudoers.d/baculum
and add the following content to the file:

Defaults:www-data !requiretty
www-data ALL= NOPASSWD: /usr/sbin/bconsole

The above sudo configuration is common for both Apache and Lighttpd web servers.

=== Debian packages ===

For Baculum 7.2.1-0 in Debian there does not exist any special packages repository, the recommended method to install Baculum packages is to download packages for Ubuntu Vivid manually and then to install them.

1. Download base Baculum package and install it

# wget https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum/+files/baculum_7.2.1-0ppa1~vivid1_all.deb
# gdebi baculum_7.2.1-0ppa1~vivid1_all.deb

2. Download and install web server configuration for Baculum.

a) For Apache web server

# wget https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum/+files/baculum-apache2_7.2.1-0ppa1~vivid1_all.deb
# gdebi baculum-apache2_7.2.1-0ppa1~vivid1_all.deb

Enable mod_rewrite module in Apache

# ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load

Enable Baculum configuration in Apache

# ln -s /etc/apache2/sites-available/baculum.conf /etc/apache2/sites-enabled/baculum.conf

Start Baculum

# service apache2 restart

b) For Lighttpd web server

# wget https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum/+files/baculum-lighttpd_7.2.1-0ppa1~vivid1_all.deb
# gdebi baculum-lighttpd_7.2.1-0ppa1~vivid1_all.deb

3. In web browser go to: http://localhost:9095

First time login: admin
First time password: admin

NOTE!
If bconsole is accessible to Baculum via sudo then you are required to create a file:

# vi /etc/sudoers.d/baculum

and add the following content to the file:

Defaults:www-data !requiretty
www-data ALL= NOPASSWD: /usr/sbin/bconsole

The above sudo configuration is common for both Apache and Lighttpd web servers.

Release 7.2.0

We have just released Bacula version 7.2.0.

This version has quite a number of difficult and important bug fixes
since version 7.0.5 as well as a good number of new features.

Some of the new features are:

– Job Edit Codes %E  number of non-fatal error messages and %R bytes read from the disk.

– Enable/Disable of Clients, Schedules and Storage devices.

– Snapshot Management

– Snapshot Backends

– Improvements to Status Storage

– New option M for accurate jobs (compare Modification time of a file)

– Read Only Disk storage

– Restarting of Incomplete or Failed jobs (Restart, Resume, and Stop commands)

– Truncate command for truncating volumes

– Prune Expired Volumes

– Job edit codes %P for process id and %C for cloned jobs

– Maximum Concurrent Read Jobs (directive)

– Job Bandwidth Limitations

– Always Backup a File in Accurate mode

– Set Accurate mode at Runtime

– Purge Migration Job

This version has not been tested in production yet, so please test it
carefully. That said, it is largely based on Bacula Enterprise version
8.2, which is extremely stable and it also has a number of fixes and
features from the next, yet unreleased, Enterprise version as well as
*all* the Enterprise bug fixes.

For certain of the new features, and a couple more yet to come, this
version has a new catalog layout, which means that you must do a catalog
upgrade (it is relatively simple). As always, please backup your
database prior to applying the upgrade procedure.

Previously we supplied an update script for only one version. To avoid
the proliferation of upgrade scripts in the future, we have settled on a
single script (update_bacula_tables), which will upgrade from version
3.0.x to version 5.2.x (same as 7.0.x) and to the new 7.2.0 format. So
the procedure much simpler.
As soon as we can update the bacula.org web site to have a sort of more
automated download area, we will move our source release to the
bacula.org web site and begin furnishing binaries.

Many thanks to Bacula Systems for providing the bug fixes and new
features. Since the development process in Bacula Systems is going
faster (more programmers), we can expect even more features in future
versions.

You may notice a few license/copyright changes, but these are all very
positive for the community version and its future. I will go into it in
more detail on this point in a Status Report that will follow this
announcement in a few days.

Thanks for using Bacula.

Release 7.0.5

This is a bug fix release to version 7.0.4.   Since it fixes several
major problems, we recommend that everyone upgrade to this version.

As usual, the source code has been uploaded to the Bacula project of Source Forge.

         http://sourceforge.net/projects/bacula

28Jul14
– Fix #547 by adding .schedule command
– Update AUTHORS
– Fix bug #2079 with patch from Robert Oschwald
– Fix orphaned file descriptors during errors
– Yet another client==NULL
– Improve FD and SD cancel
– Jim Raney’s TLS patch
– Fix bug #1679 pool overrides not shown in manual run display
– Attempt to avoid client==NULL
– Fix for bug #2082 (hopefully)
– Fix seg fault in jobq.c
– make stop after first error
– Increase status schedule days from 500 to 3000
– Remove bad cherry-pick
– Fix compiler warning
– Allow options create_postgresql_database from patch in bug #2075 by roos
– Fix bug #2074 crashes when no conf file present
– Set pthread id in jcr at beginning so the job can be cancelled.
– Fix possible heartbeat interval timing problems
– Fix some errors reported by valgrind. May fix the problem with bsmtp command.
– Ensure b_sterror() is using the correct size of input buffer
– Fix possible seg fault
– Fix segfault when trying to stop the bnet_server thread in terminate_stored()
– Fix bad link bug #2076
– Fix compilation of bsock.c when TLS is not available
– Correct L suffix to be LL
– Fix bad copy/migrate data header
– On termination shutdown thread server
– baculum: Updated README file
– baculum: Update English language texts
– baculum: Saving auth file for web server HTTP Basic auth
– baculum: Added directory for web server logs
– baculum: Added example Lighttpd configuration for Baculum and sample web
server auth file
– Expanded auth error message
– baculum: Support for web servers which do not provide direct info about HTTP
Basic auth
– Fix limit bandwidth calculation
– Eliminate strcpy() from bsmtp
– Fix for configuring sudo option for bconsole access
– Display correct NextPool overrides + use Job NextPool in restore if available
– Fix Bacula to work with newer Windows pthreads library
– Fix bug #180 ERR=success in btape when tape error

Bugs fixed/closed since last release:
1679 180 2074 2075 2076 2079 2082 547

Release 7.0.4

This is a bug fix release to version 7.0.3.  We recommend that
everyone upgrade to this version.

As usual, the source code has been uploaded to the Bacula project of Source Forge.

         http://sourceforge.net/projects/bacula

The main fixes are to make copy/migration to a second SD work, and
to cleanup some of the inconsistencies in the cancel command which
could confuse the user.

02Jun14
– Better error handling for cancel command
– Fix compiler warning + simplify some #ifdefs
– Fix copy/migration to second SD
– Fix calls to sl.set_string()
– Improve sellist code

Release 7.0.3

This is a bug fix release to version 7.0.2. We recommend that everyone using version 7.0.2 upgrade to this version.  As usual, the source code has been uploaded to the Bacula project of Source Forge.

http://sourceforge.net/projects/bacula

Major points:
There are a number of bug fixes, some of them very important. In addition we have worked on improving error handling for the new selection lists (used in cancel) as there are a few serious problems reported, but we are unable to reproduce them. Hopefully the changes have corrected these problems.

12May14
– Fix error handling in do_alist_prompt
– Tighten error condition handling in sellist
– Add new cancel test
– Update LICENSE and LICENSE-FAQ
– Also update autoconf/aclocal.m4
– Reschedule on error caused EndTime to be incorrect — fixes bug #2029
– Flush console queued job messages — should fix bug #2054
– Attempt to fix FreeBSD echo/printf, bug #2048
– Update to newer libtool + config.guess
– Recompile configure
– Apply fix supplied for acl.c in bug #2050
– Fix a SD seg fault that occurs with over committed drives
– Clear bvfs cache and set debug options available only for admin
– Moved auth params to curl opts
– Filtred single results for restricted consoles
– Removed unnecessary debug
– Changed e-mail address in gettext file
– Support for customized and restricted consoles
– Misc changes for rpm building (made by Louis)
– Updated requirements for Baculum
– Apply fix for bug 2049: wrong drive selected
– Fix #2047 about bthread_cond_wait_p not declared
– Fix Bacula bug #2044 — fix Makefile for bplugininfo linking
– Fix Bacula bug #2046 — sellist limited to 10000
– Fix Bacula bug #2045 — multiply defined daemon_event
– Fix Bacula bug #2020 overflow in btape — Andreas Koch

Bugs fixed/closed since last release:
2020 2029 2044 2045 2046 2047 2048 2050 2054

Release 7.0.2

We have released Bacula version 7.0.2 to Source Forge.

This is a minor bug fix since version 7.0.1, but it does have one significant bug fix.   If you use shell expansion characters in any of your configuration files, we recommend that you download and install this version.  Otherwise if you have already installed version 7.0.0 or 7.0.1 and experiencing no problems, there is no need to upgrade.

For packagers this version has a number of cleanups of old files, and corrects a few problems of building the documentation from scratch. Please note that the release documentation contains prebuilt English pdf and html files.

Thank you for using Bacula 🙂

Release 7.0.0

We have released version 7.0.0 to Source Forge.

Please be aware that this is a major new version and thus please test it carefully before putting it into production. Since there are so many changes (mostly backports from the Enterprise version), I expect to have a few problems even though we have done very heavy testing. Note, this code has a very large number of bug fixes.

Please note that we have done a good deal of cleanup so many of the old, unused directories such as gnome-console, tray-monitor, wx-console, and win32 are removed from the bacula directory. In addition, we have removed everything from the gui directory as it contained only old programs that were no longer maintained. There is one new addition to the gui directory, which is the new baculum web gui program. In addition, a number of directories have been removed from the docs release (but not yet from the docs git repository).

The new version 7.0.0 source code is published on Source Forge as well as in Branch-7.0 of the bacula git public repository. The docs are also available in the docs git public repository, and are also in Branch-7.0. Since there were a number of significant changes with the documentation build process the upload of the docs to the website does not yet totally work. There is a strange layout problem with the main page of the pdf that does not show up in directly reading the downloaded pdf, and there seem to be a number of missing icons for the html documents (annoying but apparently not critical) that I will correct in the coming days.

In addition the new website has been activated. If you experience problems, please do not hesitate to signal them to me at: kern at sibbald dot com. If you want to get to the old website it can be accessed at old.bacula.org, but will in the long term be eliminated.

We are still working on new Windows binaries as well as releasing a full set of binaries for many platforms. Hopefully that will be finished before the end of April.

Thank you for your ongoing support and your patience in waiting for this release. I hope that you will find it satisfactory.

Major Contributions to Bacula since 2008

 

Those of you who have been with the Bacula project for some time, will recall that I (Kern) publicly stated that my primary purpose in creating Bacula Systems was to ensure the long-term growth of Bacula (the community version). I also stated that my personal involvement with the community would decrease for several years so that I could concentrate on getting Bacula Systems running, but that would not at all decrease the pace of development of Bacula.  This is indeed the case.

To show that the above statements are true, please review the following list of major contributions to Bacula from 2008 until today.  I think you will see that Bacula has been largely and substantially supported by Bacula Systems SA (which includes me).

    Major Community Features added 2008 to 20 February 2013

– The letters BEE mean the Bacula Enterprise Edition by Bacula Systems SA
– Information herein is pulled from public records:
   – New Features Chapter in main Document
   – ReleaseNotes file in the source releases
   – ChangeLog file in the source releases
   – git repository
– This is not meant to be exhaustive
– Some author’s names may be missing

  New Feature or work done                     Contributor
  =====================================        ==========================

5.2.13: 20Feb13
– Many Bug Fixes (21 bug reports closed)    — Bacula Systems SA and others
– Several new minor enhancements            — Bacula Systems SA
– Backport code from BEE                    — Bacula Systems SA

5.2.12: 14Sep12
– New bpluginfo utility                     — Inteos
– Bug fixes (13 bug reports closed)         — Bacula Systems SA and others
– Backport code from BEE                    — Bacula Systems SA

5.2.10: 28Jun12
– Significant fixes (6 bug reports closed)  — Bacula Systems SA and others
– Rudimentary AFS support — now depreciated
– Backport Windows code from BEE            — Bacula Systems SA

5.2.9: 12Jun12
– Bug fixes (5 bug reports closed)          — Bacula Systems and others

5.2.7: 02Jun12
– Many code cleanups and rewrites           — Bacula Systems SA and others
– Closed 12 bug reports
– Backport StorageId code from BEE          — Bacula Systems SA

5.2.6: 18Feb12
– Exchange plugin work with Accurate mode   — Bacula Systems SA
– Add wild card to restore cd command       — Bacula Systems SA
– Many important fixes (closed 1 bug report)
– Backport debug for sd plugins from BEE    — Bacula Systems SA

5.2.4: 18Jan12
– Significant improvement to spec files     — Bacula Systems SA
– Fix versioning of share objects           — Bacula Systems SA
– Many bug fixes (9 bug reports closed)
– Many smaller enhancements                 — Bacula Systems SA

5.2.2 24Nov11
– Additions to RunScript variables
– Add -t option on Bat
– Backport plugin code from BEE             — Bacula Systems SA
– 4 bug reports closed
– Backport from BEE                         — Bacula Systems SA

5.2.1 30Oct11
5.2.0rc1 08Jul11
– Major Version Release with many
     new features and lots of new code
– Many Bug Fixes (88 bug reports closed)    — mostly Bacula Systems SA
– LZO Compression                           — Laurent Papier
– New Qt Based Tray Monitor                 — Bacula Systems SA
– Purge Migration Job                       — Bacula Systems SA
– Changes in Bvfs (Bacula Virtual FS)       — Bacula Systems SA
– Changes in the Pruning Algorithm          — Bacula Systems SA
– Additions to RunScript variables
– Additions to the Plugin API               — Bacula Systems SA
– ACL Enhancements                          — Planets Communications B.V. and
                                               ELM Consultancy B.V.
– Class Based Database Backend Drivers      — Planets Communications B.V. and
                                               ELM Consultancy B.V.
– Many backports from BEE                   — Bacula Systems SA

5.0.3 04Aug10
– Truncate Volume after Purge               — Bacula Systems SA
– Many Bug Fixes                            — Bacula Systems SA

5.0.0 22Jan10
– Maximum Concurrent Jobs for Devices       — Bacula Systems SA
– Restore from Multiple Storage Daemons     — Bacula Systems SA and
                                               Equiinet, Ltd.
– File Deduplication using Base Jobs        — Bacula Systems SA
– AllowCompression                          — Collaborative Fusion, Inc.
– Accurate Fileset Options                  — Bacula Systems SA
– Tab-completion for Bconsole               — Bacula Systems SA
– Pool File and Job Retention               — Bacula Systems SA
– Read-only File Daemon using capabilities  — AltLinux
– Bvfs API                                  — Bacula Systems SA
– Testing Tape Drive Speed Command          — Bacula Systems SA
– Block Checksum Device Directive           — Bacula Systems SA
– Significant New Bat Features              — Bacula Systems SA
– Port Bat to Windows                       — Bacula Systems SA
– Linux Bare Metal Recovery USB Key         — Bacula Systems SA
– bconsole Timeout Option                   — Bacula Systems SA
– Many Important Changes                    — Bacula Systems SA and others
– Big backport from Bacula Enterprise       — Bacula Systems SA

3.0.0 28Dec08
– Accurate Backup                           — Bacula Systems SA
– Copy Jobs                                 — Bacula Systems SA
– ACL Updates and Extended Attributes
– Virtual Backup                            — Bacula Systems SA
– Implement 64 bit Windows Client           — Bacula Systems SA
– Duplicate Job Control                     — Bacula Systems SA
– TLS Authentication                        — Bacula Systems SA
– bextract non-portable Win32 data          — Bacula Systems SA
– State File updated at Job Termination
– MaxFull/DiffInterval                      — Bacula Systems SA
– Honor NoDumpFlag & ExcludeDirContaining
– Bacula Plugins                            — Bacula Systems SA
– Microsoft Exchange 2003/2007 Plugin       — Bacula Systems and
                                               Equiinet, Ltd.
– Many Additional Smaller Features          — Bacula Systems SA

We have released Bacula Version 5.2.13 to Source Forge

Version 5.2.13 version has 20 bug fixes since the last release. Some of the bug fixes are important.
Important changes since last release:

19 Feb 13
– Fix build/configure problems with bpluginfo.c
– Refactor lock_volumes so most lock a vol rather than globally
– Add virtualfull-extreme test
– Apply patch for chio-changer-openbsd from bug #1984 — Implements listall
– Add bat Mac patch from bug #1953
– Fix bug #1812 cannot run Copy/Migrate jobs from bat
– Fix loading of bat translations. Patch from bug #1890
– Fix text input in bat. Fix bug #1965
– Remove Device from show command as it is not used or updated
– Fix #1982 update enabled keyword in help command
– Fix update_postgresql_tables 10 to 11
– Clean after building doc binaries requested by Willem vd Akker for Debian build
– Require Qt version 4.8.4
– Fix bug #1955 that OK to run? does not retry on bad response
– Backport new lock calls + debug for SD
– Fix bug #1975 new label ignored when first is duplicate.
– Pull src/lib changes from master
– Pull SD files from master
– Turn off prune-test
– Add logdir and bsrdir to regression config
– Add bsrdir and logdir to regress-config
– Changed default directories from /var/bacula to /opt/bacula
– Make spool size max message more explicit
– Display more info when maximum spool size is reached
– Fix TERM defs for Solaris 11 in conio.c
– Allow group to cd to sysconfdir
– Make sysconfdir belong to Bacula user/group and exclude others
– Fix Virtual Full file close bug — race condition
– Enhance mount message to include read/append
– Improve vol_mgr swap messages
– Enhance output of Using Device to include for read/write
– Add jobid to Pmsg output
– Fix bug #1959 input validation on delete of jobs.
– Fix bug #1956 Authorization Errors false
– Add workaround for #5507 where autoprune and reload are in deadlock
– Allow conf file quoted strings to be used in a list
– Make bfgets handle very long lines
– Avoid seg fault by checking for NULL client — reported by Arno
– Final fix of bug #1943
– Fix bug #1948 MailOnSuccess get executed on error.
– Fix missing index on Media table
– Fix bug #1943 no message storage on closed database connection.
– Fix bug #1946 Fix problem with MySQL with big Base jobs.
– Reduce wait time in regression RunScripts
– Implement a timeout on regression tests of 15 minutes
– Fix #5346 .bvfs_lsfiles and .bvfs_restore to handle deleted files
– Fix spooldata, accurate and ingnore duplicate run argument
– Fix messages segfault
– Implement feature request #1939
– fix #1938 about PATH_MAX on hurd
– fix #1938 about MAXPATHLEN on hurd
– Fix bug #1937 OpenBSD autochanger example script
– Fix #4996 about MaxRunTime canceling the job too early
– Fix bug #1934 Wrong values at media list in BAT
– Fix race condition in close_msg that causes seg fault
– Fix double unlink
– More tests for freeing NULL pointers
– Add MaximumConcurrentReadJobs directive to Storage resource
– Add ujobid to .bvfs_get_jobids
– Avoid problem when stripping a relative path
– Fix #4513 about HIDDEN attribute set to parent directory during restore

Bugs fixed/closed since last release:
1812 1890 1934 1937 1938 1939 1943 1946 1948 1953 1955 1956 1959 1965 1975 1982 1984 4513 4996 5346 5507

We have released Bacula Version 5.2.11 to Source Forge

We have released Bacula Version 5.2.11 to Source Forge

Version 5.2.11 version is a bug fix release.

As always, both the Director and Storage daemon must be upgraded at
the same time.

Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.11
Director and Storage daemons. There should be no need to upgrade older File
Daemons.

Important changes since last release:
– A new bpluginfo utility tool
– Make dump_resource respect console ACL’s (security fix)
– Add chio-changer-openbsd submitted in bug #1903
– Important Copy job bug fixed.

10Sep12
– Add JobId to SD debug output
– Commit batch session every 800,000 files
– Simplify safer delete code using a single regex
– Clean up error message generation during update attributes — should fix
#1823
– Eliminate heartbeat error messages. Fixes bug #1925
– Apply patch from bug #1911 to implement –with-logdir
– Add chio-changer-openbsd submitted in bug #1903
– mysql database install/update scripts patch. Fixes bug #1901
– Delegate uid/gid changing to systemd. Fixes bug #1905
– Fix bug #1906
– Fix manpage errors, fixes bug #1907
– Final fix for #1859 missed one query.
– bpluginfo – Utility tool display various information
– Backport more master code
– Fix Makefile.in so that testfind builds with acl dependency – Make dump_resource respect console ACL’s (security fix)
– backport code from master
– Fix #1923 about MySQL 4 support for BVFS
– Fix #1902 about bad status slots output
– Fix Sigma Copy bug #4377
– Fix bsmtp
– Reset bsmtp to only send to IPv4 mailhosts.

Bugs fixed/closed since last release:
1823 1859 1901 1902 1903 1905 1906 1907 1911 1923 1925 4377

We have released Bacula Version 5.2.10 to Source Forge

We have released Bacula Version 5.2.10 to Source Forge

General:

The 5.2.10 version is a significant bug fix release including
our first cut of AFS support.
Please note that with this version of Bacula, during the install
of the shared libraries from the src/cats, src/lib, and src/findlib
directories, any old Bacula libraries in the installation
destination directory will be removed.  This should not cause
any problems and at least keeps the installation library cleaner.

For packagers, if you change options, naming, and the way
we link our shared object files, as at least one of you does,
you are creating a situation where the user may not be able
to run multiple versions of Bacula on the same machine, which
is often very useful, and in addition, you create a configuration
that the project cannot properly support.

If you are upgrading from a version older than 5.2.9, please
read all the old ReleaseNotes of all versions released
after the version you are upgrading from. There area
many important notices sumarized here, and we do not
repeat them each bug fix release.

Compatibility:

As always, both the Director and Storage daemon must be upgraded at
the same time.

Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.9
Director and Storage daemons. There should be no need to upgrade older File
Daemons.

Major changes since 5.2.9:
– IPv6 networking should work correctly now
– SQL Counter problems resolved
– Bat hanging after running a number of jobs
– dbcheck rw_writelock problem
– Windows VSS restore bug

New Feature:
– Add rudimentary support for backing up AFS

28Jun12
– Add extra test for unsupported Protocol Families.
– Fix inet_pton call.
– Real fix of bug #1897 5.2.9 breaks IPv6 connectivity
– Fix bug #1891 wrong daemon name printed with -? option
– Fix bug #1859 INSERT INTO Counters fails
– First try at fixing bug #1897 5.2.9 breaks IPv6 connectivity
– Convert write_rec_to_block() to a state machine
– Fix bat from eating all Dir connections — fixes bug #1872
– Back port fixes from BEE to fix Windows restore bug #1892
– Add block checksum flag to version.h
– Add block checksum debug code
– Fix bug #1893 dbcheck -B gives rwl_writelock error.
– Remove restriction of network buffer size being multiple of a tape block
– Add rudimentary support for saving AFS acls.
– Send level before the fileset in estimate_cmd() like in backup()

Bugs fixed/closed since last release:
1859 1872 1891 1892 1893 1897

We have released Bacula Version 5.2.8 to Source Forge

We have released Bacula Version 5.2.8 to Source Forge

This release is identical to release 5.2.8, with the exception
that the patch:

“Apply readline without TERM_LIB dependency patch from bug #1871”

has been removed because it is not portable to all systems or
versions of readline.

;;;;

Kern;;;10 June 2012 at 12:04 CET

Release Notes for Bacula 5.2.8

Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)

General:
——–
The 5.2.8 version is a bug fix release.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Please note that with this version of Bacula, during the install
of the shared libraries from the src/cats, src/lib, and src/findlib
directories, any old Bacula libraries in the installation
destination directory will be removed.  This should not cause
any problems and at least keeps the installation library cleaner.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
For packagers, if you change options, naming, and the way
we link our shared object files, as at least one of you does,
you are creating a situation where the user may not be able
to run multiple versions of Bacula on the same machine, which
is often very useful, and in addition, you create a configuration
that the project cannot properly support.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If you are upgrading from a version older than 5.2.7, please
read all the old ReleaseNotes of all versions released
after the version you are upgrading from. There area
many important notices sumarized here, and we do not
repeat them each bug fix release.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Compatibility:
————–
As always, both the Director and Storage daemon must be upgraded at
the same time.

Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.8
Director and Storage daemons. There should be no need to upgrade older File
Daemons.

Changes since 5.2.7:
——————–

10Jun12
– Apply readline without TERM_LIB dependency patch from bug #1871
– Ensure cancel status is set for canceled duplicate jobs — partial fix fo
bug #1851
– Enhance Win32 error messages — fixes bug #1879
– Apply patch from bug 1876 to permit dot commands in a runscript
– Remove config variables from examples/devices fixes bug #1884
– Add more debug code for bug 1885
– Add more debug to block.c when read rejected
– Fail job that attempts to read from closed device — reported in bug 1885
not fixed
– Detect Python 2.7 fixes bug #1888
– Apply systemd patch from bug #1886
– Rewrite some SD subroutines as class members
– New overhaul of xattr code.
– Use IPPROTO_TCP for SOL_TCP if SOL_TCP isn’t defined.
– Fix compiler warning.

Bugs fixed/closed since last release:
1851 1871 1879 1884 1886 1888

We have released Bacula Version 5.2.7 to Source Forge

Release Notes for Bacula 5.2.7

Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)

General:
——–
The 5.2.7 version is a significant bug fix release. (The
diff file between 5.2.6 and this one is over 25,000 lines).

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Please note that with this version of Bacula, during the install
of the shared libraries from the src/cats, src/lib, and src/findlib
directories, any old Bacula libraries in the installation
destination directory will be removed.  This should not cause
any problems and at least keeps the installation library cleaner.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
For packagers, if you change options, naming, and the way
we link our shared object files, as at least one of you does,
you are creating a situation where the user may not be able
to run multiple versions of Bacula on the same machine, which
is often very useful, and in addition, you create a configuration
that the project cannot properly support.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If you are upgrading from a version older than 5.2.7, please
read all the old ReleaseNotes of all versions released
after the version you are upgrading from. There area
many important notices sumarized here, and we do not
repeat them each bug fix release.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Compatibility:
————–
As always, both the Director and Storage daemon must be upgraded at
the same time.

Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.3
Director and Storage daemons. There should be no need to upgrade older File
Daemons.

Changes since 5.2.6:
——————–
02Jun12
– Correct Qt version needed for bat
– Turn on SD deadlock detection by default
– Fix bug #1880 ltdl.m4 missing for new feature.
– Fix bug #1870 GNU binutils-gold build failure.
– Add new empty netinet/tcp.h so Windows compile works
– Eliminate compiler warning in stored/dircmd.c
– Fix TCP Heartbeat code
– Align conio.c struct at 8 bytes to fix Sparc bus error.
– Fix get_basename() — rewrite
– Apply James’ exchange-fd.c regression fix
– Add first Dutch translation
– Ensure that StorageId is updated after write
– Fix updating of cached slots + error message numbering
– Remove old shared objects before install
– Add missing dummy bVarPrefixLinks variable retrieval.
– Fix mysql config for older versions of mysql+config.
– Fix problem in BVFS with concurrent queries
– Add more checks to bvfs
– Try to use multi-row insert statements for mysql.
– On some platforms intptr_t is in an other include file.
– Add support for fcntl(fd, F_CLOSEM) to close filedescriptors.
– Use closefrom if available instead of trying to close fds ourself.
– Fix class member shadowing.
– Move storages tls initialization to proper place.
– Fix Copyright on init scripts suse, add specific daemon user & group
– Add support for new POSIX getaddrinfo interface.
– Apply MSQL detection fixes from bug #1829
– Fix bug #1805 cannot specify hostname in ./configure
– Fix restore_job restore keyword
– Allow plugin to backup a directory
– Print seconds in schedule time as noted in bug #1854
– Fix #1857 about restore cd command that blocks on empty directory
– Backport new StorageId code
– More definitive fix for update slots bug
– Fix #4062 on make_catalog_backup.pl script when user/password are empty
– Fix bug #1853: bacula-sd dead but pid file exists.
– Fix bug #1841 estimate command level=differential goes wrong in accurate
mode.
– Fix bug #1842 Incorrect port number reported
– Fix bug #1848 bsock.c:335 Socket has errors=1 on call to client
– Force the re-initialization of BaseJobOpts, AccurateOpts and VerifyOpts
between two Include{}

Bugs fixed/closed since last release:
1805 1829 1841 1842 1848 1853 1854 1857 1870 1874 1880 4062

We have released Bacula Version 5.2.6 to Source Forge

We have released Bacula Version 5.2.6 to Source Forge

Release Notes for Bacula 5.2.6

Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)

General:
——–
The 5.2.6 version is a bug fix release.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If you are upgrading directly from 5.0.3 to this version, please see the
important notices below for version 5.2.3, particularly
the database upgrade and the difference in packaging the
SQL shared libraries.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If you store .bsr or .mail files in the Bacula working
directory, please be aware that they will all be deleted
each time the Director starts.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Compatibility:
————–
As always, both the Director and Storage daemon must be upgraded at
the same time.

Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.3
Director and Storage daemons. There should be no need to upgrade older File
Daemons.

New Feature:
– The restore tree cd command accepts wild cards within each
part of a path. Wild cards apply only to a single part at a
time: i.e. cd a*/b*/xx* will match abc/bcd/xxfxx
but */xx* will not match the above filename.

Changes since 5.2.5:

17Feb12
– Fix old exchange-fd plugin Accurate checkFile code.
– Insert the slot field as a numeric field.
– Fix #1831 by dropping the table before creating it
– Make cd accept wildcards
– Remove bad optimization from Accurate code
– Lock read acquire in SD to prevent to read jobs getting the same thing
– Implement more robust check in other drives for tape slot wanted
– Fix lost dcr point — memory loss in Copy/Migration + possible confusion
– Ensure that bvfs SQL link is not shared
– Fix error printing in acl and xattr code.
– Backport better error debug output for sd plugins.
– Add wait on bad connection for security
– Make mtx-changer more fault tolerant
– Fix 32/64 bit problems in SD sscanf commands
– Skip certain filesystem types on some platforms.
– Allow BVFS to browse and restore Base jobs
– Add error message to .bvfs_clear_cache command
– Fix plugin bug with multiple simultaneous jobs

Bugs fixed/closed since last release:
1831

We have released Bacula Version 5.2.5 to Source Forge

Release Notes for Bacula 5.2.5

Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)

General:
——–
The 5.2.5 version is a bug fix release.

Please note there was a seemingly innocent patch made to
version 5.2.4 that had rather serious negative consequences
on restarted jobs.  Anyone using restarted jobs should upgrade
from 5.2.4 to 5.2.5.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If you are upgrading directly from 5.0.3 to this version, please see the
important notices below for version 5.2.3, particularly
the database upgrade and the difference in packaging the
SQL shared libraries.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If you store .bsr or .mail files in the Bacula working
directory, please be aware that they will all be deleted
each time the Director starts.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Compatibility:
————–
As always, both the Director and Storage daemon must be upgraded at
the same time.

Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.3
Director and Storage daemons. There should be no need to upgrade older File
Daemons.

Changes since 5.2.4:

25Jan12
– Disable usage of JS_Warning waiting for a more complete implementation
– Removed old sd plugins which doesn’t work anymore.
– Adapt sample-query.sql for Warning job status
– Fix location of Qt dlls for Win64 build
– Fix MediaView::getSelection

Bugs fixed/closed since last release:
1824 (1814 1806 1818 non-bugs)

We have released Bacula Version 5.2.4 to Source Forge

We have released Bacula Version 5.2.4 to Source Forge

Release Notes for Bacula 5.2.4

Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)

General:
——–
The 5.2.4 version is an bug fix release.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If you are upgrading directly from 5.0.3 to this version, please see the
important notices below for version 5.2.3, particularly
the database upgrade and the difference in packaging the
SQL shared libraries.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If you store .bsr or .mail files in the Bacula working
directory, please be aware that they will all be deleted
each time the Director starts.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Compatibility:
————–
As always, both the Director and Storage daemon must be upgraded at
the same time.

Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.3
Director and Storage daemons. There should be no need to upgrade older File
Daemons.

Most important changes since 5.2.3:
– Fix LZO detection so that it correctly detects presense of header
files.
– Switch the way we handle shared object versioning.
– Backport Enterprise spec files to platforms/rpms
– Switch to using Qt 4.7.4 (you must download new
depkgs-qt-24Dec11.tar.gz
– Update depkgs to depkgs-24Dec11.tar.gz
– Enhancements to File daemon and Storage daemon plugins
– Compiler warning cleanups
– xattr fixes
– Cleanup old files in the working directory when the Director starts

Changes since 5.2.3:

18Jan12
– Prepare for adding IPv6 to Windows in the future
– Fix bug #1822 Schedule run line parsing fails if value is keyword
– Revert to 5.0 size computation in accurate elements, may fix #1821
– Mark that a file was found in the accurate list in the ff_pkt with a
variable
– Definitive fix for MySQL MaxValue problem bug #1810
– Initialize delta_seq to -1 because 0 means that we have already a version
– Adapt bfileview for bvfs tables
– Set job status to running when restore job really starts
– Remove ifdeffing that turned off JS_Warning status — must have been miss
test code
– Add support for soname setting in libtool.
– Fix bug #1815
– Fix systemd pid files.
– Limit migration/copy jobs to starting 100 at a time
– Avoid conflict with PAGE_SIZE define
– Send previous Job name during Incremental/Differential to the FD
– Fix bug #1811 Filed fails to backup more then one xattr.
– system.posix_acl_default is also an acl stored as xattr
– Fix bug #1807
– Add configure for new redhat spec files
– Backport Enterprise spec files
– Fix bad memset() reported by clang
– Test new plugin function in bpipe and test plugin
– Try to fix openssl problem with signal
– Add BSOCK::set_killable()
– Set directory attributes when using Replace=Never when Bacula creates the
– Use RestoreObject type in Catalog
– Add new features in plugin
– Add helper for ini files
– Implement run accurate=yes/no
– Add .bvfs_clear_cache
– Add Accurate and MaxRunSchedTime in Schedule resource
– Fix bug #1802 configure code to detect LZO is broken
– Fix bug #1806 failure to save second and more xattr.
– Add second xattr to show bug 1806
– Fix seg fault in plugin event loop
– Fix #3210 about slow restore with bvfs

Bugs fixed/closed since last release:
1802 1806 1807 1810 1811 1815 1821 1822 3210

We have released Bacula Version 5.2.3 to Source Forge

We have released Bacula Version 5.2.3 to Source Forge

Release Notes for Bacula 5.2.3

Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)

General:
——–
The 5.2.3 version is an bug fix release.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If you are upgrading directly from 5.0.3 to this version, please see the
important notices below for version 5.2.2, particularly
the database upgrade and the difference in packaging the
SQL shared libraries.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Compatibility:
————–
As always, both the Director and Storage daemon must be upgraded at
the same time.

Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.3
Director and Storage daemons. There should be no need to upgrade older File
Daemons.

Changes since 5.2.2:

– Revert patch from Ben to not compress man pages on Solaris fix #1801
– Fix bug #3322 don’t poll when operator is labeling tapes
– bvfs: Fix mysql REGEXP operator
– Fix Mysql 5.5.18 symbol lookup
– fix utf8/iso8859 problems
– Fix #3419, update stats problem
– Fix cats_test to use the new method names.
– Update accurate code to use 1 byte instead of 3
– Fix segfault in accurate code
– Fix compilation warning on FreeBSD

Bugs fixed/closed since last release:
1801 3322 3419

We have released Bacula Version 5.2.2 to Source Forge

We have released Bacula Version 5.2.2 to Source Forge

Release Notes for Bacula 5.2.2

Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)

General:
——–
The 5.2.2 version is an important bug fix release. It contains also some
additions and performance improvements.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If you are upgrading directly from 5.0.3 to this version, please see the
important notices below for version 5.2.1, particularly
the database upgrade and the difference in packaging the
SQL shared libraries.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Compatibility:
————–
As always, both the Director and Storage daemon must be upgraded at
the same time.

Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.2
Director and Storage daemons. There should be no need to upgrade older File
Daemons.

Changes since 5.2.1:
—————–
– Implement -t option for Bat
– Require correct Qt version 4.6.2 or later to build bat
– Get new lib/plugins.h
– Pull new SD plugin files from Master
– Fix script to set mode of cats scripts
– Add Systemd configure options
– Split messages line by line before sending it to syslog() fix #3325
– Fix bvfs_restore on MySQL
– Fix #3308 where a SMTP problem can block the director
– Change locking scheme of the mountpoint cache.
– Enhance mountcache with rescan option after interval.
– Add %D option to edit_job_code, simplify callbacks on director side
– Move Zdeflate and Zinflate to seperate file.
– Put libraries in the correct order for non shared libs.
– Remove last traces of @SQL_BINDIR@ and @DB_TYPE@
– Fix bug #1774
– Move batch insert detection into db.m4
– bat: try to fix offset button problem when clicking too much on previous
– bvfs: Use single transaction for each job during update
– Add missing bwild & bregex man8 pages
– Fix compilation issue of wx-console #1778
– bvfs: fix filter for pattern= bvfs parameter
– Improve speed of BVFS with SQLite, Thanks to J.Starek
– bvfs: add clear_cache function
– bvfs: Handle windows drive when building path hierarchy

Closed Bugs Since 5.2.1
———————–
1774 1778 3308 3325

We have released Bacula Version 5.2.1 to Source Forge

We have released Bacula Version 5.2.1 to Source Forge

Release Notes for Bacula 5.2.1

Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount)

General:
——–

This 5.2.1 version is a major release since the last version 5.0.3.
It includes well over 299,387 lines of changes made by 20 contributors,
lots of bug fixes (see below), 1,851 software commits,and a
number of important new features:

Version 5.2.0
————-
Version 5.2.0 was short lived, because Marco (thanks) found
a number of last minute bugs. So the first official release of 5.2
is 5.2.1.

Compatibility:
————–
As always, both the Director and Storage daemon must be upgraded at
the same time.

Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.1
Director and Storage daemons. There should be no need to upgrade older File
Daemons.

Main New Features:
——————
– LZO Compression
– New Tray Monitor
– Purge Migration Job
– Changes in Bvfs (Bacula Virtual FileSystem)
– Changes in the Pruning Algorithm
– Ability to Verify any specified Job
– Additions to RunScript variables
– Additions to the Plugin API
– ACL enhancements
– XATTR enhancements
– Class Based Database Backend Drivers
– Hash List Enhancements

Some of the above are described below; all the above are
described in more detail in the New Features chapter of the
manual.
Closed Bugs since 5.0.3:
———————
1389 1444 1448 1466 1467 1468 1476 1481 1486 1488 1493 1494 1497 1499 1501
1502 1504 1509 1511 1513 1516 1524 1526 1527 1532 1536 1538 1541 1542 1549
1551 1553 1554 1558 1559 1560 1564 1567 1568 1569 1571 1574 1577 1581 1582
1584 1587 1594 1595 1600 1601 1602 1603 1604 1606 1608 1610 1612 1623 1624
1633 1643 1648 1655 1661 1664 1666 1669 1672 1675 1684 1685 1695 1696 1699
1700 1703 1735 1741 1749 1751 1761 1762 1764 1768 1770 1771 2710

================== Warning !!!!!! ==========================

The new pruning algorithm will not allow pruning of jobs that are essential
restore since the last Full backup. This is, of course, correct and desirab
but it is different from older Bacula versions that could inappropriately
prune jobs. Pruning of volumes is not affected.

Building Bat:
————-
To build Bat, you need Qt4 version 4.6.2.  If you build with any other
version it is likely not to work.  If you do not have version 4.6.2, on
your system, you can download the Bacula depkgs_qt version 16Dec10.

Packaging the SQL backend:
————————–
The main Bacula Director code is independent of the SQL backend
in this version. This means that the Bacula Director can be packaged
by itself, then each of the different SQL backends supported can
be packaged separately.  It is possible to build all the DB backends
at the same time.

– configure can be run with multiple database configure options.
–with-sqlite3
–with-mysql
–with-postgresql

Order of testing for database is
– postgresql
– mysql
– sqlite3

Each configured backend generates a libbaccats-<backend_name>-<version>.so
A dummy catalog library is created named libbaccats-version.so

At configure time the first detected backend is used as the so called defaul
backend and at install time the dummy libbaccats-<version>.so is replaced wi
the default backend type.

If you configure all 3 backends you get 3 backend libraries and the postgres
gets installed as the default.  When you want to switch the default you can
copy one of the 3 backend libraries over the libbaccats-<version>.so e.g.

cp libbaccats-postgresql-<version>.so libbaccats-<version>.so

And update the default backend in the following files:

create_bacula_database
drop_bacula_database
drop_bacula_tables
grant_bacula_privileges
make_bacula_tables
make_catalog_backup
update_bacula_tables

New Catalog format in version 5.2.0 and greater
———————————————–
This release of Bacula uses a new catalog format. We provide a set of
scripts that permit to convert a 5.0.x (version 12) catalog to 5.2.1 (versio
14).  The Bacula project rpm spec files have been modified to
detect the database change and do the upgrade for you.  We strongly
recommend that you save a copy of your existing database before upgrading
using rpms.

The simplest way to upgrade the database assuming you are building from
source (i.e. manually):
1. Stop any current version of Bacula from running.
2. Save a copy of your existing database.
3. Configure, build, and install the 5.2.1 version of Bacula
Note the new ./configure options in the manuals see the link
at the bottom of this file.
4. cd <your-scripts-installation-directory>
5. ./update_bacula_tables
6. If you have multiple catalogs, edit the update_bacula_tables
script and put the name of another database, and then
execute the script again. Repeat this until all Bacula
catalogs have been updated.
7. Start the new Bacula.  If everything worked, it should
not print any error messages.
If you start from scratch, you don’t need to run the update_bacula_tables
script because the create_bacula_tables script automatically creates the new
table format.  However, if you are using a version of Bacula older than 5.0.
(e.g.  3.0.3) then you need to run the update_bacula_tables script that will
be found in the <bacula>/src/cats directory after you run the ./configure
command.  As mentioned above, before running this script, please backup your
catalog database, and when you do running it, be sure shutdown Bacula and be
aware that running the script can take some time depending on your database
size.

================================================================

Changes:

Speed and Memory Usage Enhancements:
– Implement LZO compression algorithm (need lzo2 headers to activate this op
– New Pruning algoritm — safer and faster
– Use of PostgreSQL cursor when doing large queries, should reduce the
memory usage during restore and accurate backups.
– limit command in some list commands
– Bacula Virtual File System for fast catalog access
– Faster crc32 algorithm

Security Enhancements:
– Additional security against injection of illegal characters
– Fix possible fnmatch problem

Features Enhancements:
– Improvements in ACL and xattr handling on additional platforms:
AIX, Darwind, FreeBSD, HPUX, IRIX, Solaris, Tru64
– Tray monitor for Windows
– New SQL backend and ./configure that permits building multiple catalog
backends in one build, and has the main Bacula core code totally independe
of the SQL backend, which should simplify packaging (only the
libbacsql.so/dll needs to be changed to switch from one database backend
to another (e.g. MySQL to PostgreSQL).
– Indent lsmark during restore
– Disable batch insert config item
– Director selection option in bconsole
– restorejob command in bconsole
– Many additional features for bat such as “brestore” panel
– The old bat version browser has been turned off since it does not
work correctly and the brestore panel provides the same functionality
– Improved hash table for hard links
– Additional script variable editing such as %b (JobBytes), %F (JobFiles)
and %h (Client Address)
Other Enhancements:
– Includes better handling for Windows repares points, mount points, and
junction points.
– New database format
– Many new plugin API features
– Improved memory handling for restores
– Significant stability enhancements to bat
– xattr/ACL restore failure are now printed as Warning
– A few path name length limits in Windows have been removed.

We have released Bacula Version 5.0.3 to Source Forge

This 5.0.3 version is significant bug fix update to version 5.0.2.
It includes new code and some new features.
There is no database change since prior versions of 5.0.

Note, if you are running 5.0.0, read the 5.0.1 and 5.0.2 release notes below in
the 5.0.1 release section.  Important!!!

Compatibility:
————–
As always, both the Director and Storage daemon must be upgraded at
the same time.

Older 5.0.x and 3.0.x File Daemons are compatible with the 5.0.3
Director and Storage daemons. There should be no need to upgrade older File
Daemons.

Changes and New Features:
– If a VSS (Windows) snapshot fails, the whole Job is failed, previously
it printed a warning message and continued.
– New editing codes %b = Job Bytes and %f = Job Files for runscripts
– Any non-Bacula project plugins (i.e. third party plugins)
must be upgraded to specify AGPLv3 in place of the GPLv2 used previously
for the PLUGIN_LICENSE.
– The bat Media page text columns can be sorted by clicking on the column.
– If possible, the SD will automatically update the catalog Volume size if
it does not match the Volume size. The mismatch between the Volume sizes
typically occurs when the FD has a comm line drop or the FD crashes.

Bug fixes
1538 1554 1564 1567 1568 1569 1571 1577 1581 1582 1587 1594 1595 1606 1610

– Change license from GPLv2 to AGPLv3
– Make Win32 no filesystem change more explicit
– Backport Branch-4.0 release to Branch-5.0
– Massive backport from Branch-5.1 to Branch-5.0
– Fix postgresql catalog creation when version is not on the first line
– Fix bug #1610 handle empty xattr values on Linux and xBSD.
– Garbage collect memory pool at end of job and before sm_dump
– Add xattr seg fault protection suggested by Marco for bug #1610
– Add archlinux to os.m4
– More fixes for 32/64 bit problems in smartall
– Fix 32/64 bit problem in smartalloc dump routine
– Fix bad copy/paste in commit c88dccb88 prably a seg fault
– Add .dump and .exit commands for daemons
– Make SD automatically fix the Volume size in the Catalog when out of sync
– Use Pmsg in smartall.c rather than printf for tracing Windows
– Up maximum block size to 20M
– Fix for TLS bugs #1568 and #1599
– Improve comm line error handling for TLS, may fix bug #1568 and #1599
– Fix problem when sending Cancel event to plugin
– Convert all Jmsg on the watchdog thread to Qmsg
– Fix SD crash due to mismatched lock/unlock in error condition
– Fix bug #1587 if you have clients with different catalogs configured, both
catalogs contains all clients after a reload or restart of the dir
– Fix bug #1577 During migration: ERROR in block.c:950 Failed ASSERT: dev->is_open()
by moving and commenting out the ASSERT()
– Skip HB kill in FD if HB thread terminated
– Fix crash from unequal volume_lock/unlock calls
– New prunning algorithm — should be more accurate
– Save any dumps during regression to dumps directory
– Fix crash from rw_lock/unlock miss match
– Attempt to fix duplicate job kill seg fault
– Replace pthread_kill by my_thread_send_signal() in jcr.c
– fix #1595 about batch mode detection problem for postgresql with non standard
install dir
– Fix #1594 about prune copy jobs
– Apply literal string fix in printf submitted by Luca Berra
– Fix bug #1582 Restore from multiple storage daemons breaks subsequent backups
– Fix segfault on “cancel jobid=” command
– Fix bug #1554 Windows installer doesn’t honor /S flag
– Remove pool zap code that breaks 2drive-concurrent-test
– Fix #1571 and install libraries with 755 perms
– Fix bug #1581 ASSERTs in src/dird/jobq.c can never trigger
– Fix problem with BaseJob and Accurate FileSet options on client side
– Fix for bug #1569 deadlock/crash in Dir
– Fix segfault when loading Plugins
– Fix #1567 about display of long volume names truncated during restore
– Added new bacula-libs package.
– Fix bug #1538 Start Scripts return incorrect value
– Fix bug #1564 init scripts not LSB compliant

See ChangeLog for more details.