Warning: This document is for the development version of Bareos Documentation. The main version is bareos-21.

Release Notes

Warning

While all the source code is published on GitHub, the releases of packages on http://download.bareos.org is limited to the initial versions of a major release. Later maintenance releases are only published on https://download.bareos.com.

This chapter concentrates on things to do when updating an existing Bareos installation.

Please note, that some of the subreleases are only development releases.

The feature overview for a release are shown at the Index of this document.

Bareos-18.2

Bareos-18.2.12

General Information

Bareos 18.2.12 Release Information
Release Date 13 September 2021
Database Version 2171
URL https://download.bareos.com/bareos/release/18.2/

Bugs Fixed

  • Fix a crash in director when getting malformed input from mtx-changer
  • Fix a problem in chunked device / droplet backend that could lead to data loss
  • Issue #1020: Cannot restore a client with spaces in its name
  • Issue #1251: Error when displaying pool detail
  • Issue #579: Unable to connect to the director from webui via ipv6
  • Issue #971: Error building tree for filenames with backslashes
  • Issue #1324: fix infinite loop when trying to log into webui with invalid account

Other Improvements

  • Fix permission problem with logrotate by adding the su directive to the configuration file.

Bareos-18.2.11

General Information

Bareos 18.2.11 Release Information
Release Date 11 June 2021
Database Version 2171
URL https://download.bareos.com/bareos/release/18.2/

Bugs Fixed

  • fix gfapi-fd: avoid possible crash on second glfs_close() call [PR #792]
  • fix a bug in VMware plugin where VMDK Files were created with wrong size when using the option localvmdk=yes [PR #826]
  • Issue #1205: PHP 7.3 issue with compact() in HeadLink.php [PR #835]

Other Improvements

  • webui: Localization updated

Bareos-18.2.10

General Information

Bareos 18.2.10 Release Information
Release Date 11 December 2020
Database Version 2171
URL https://download.bareos.com/bareos/release/18.2/
Release Ticket Issue #1261

VMware Plugin

Starting with this release the VMware Plugin will be built with VDDK 7.0.1. Due to a bug with that version that may crash bareos_vadp_dumper, the wrapper script will check some prerequisites to make sure the bug will not occur. If the prerequisites are not met, the wrapper script will exit with an error describing the problem and make the job fail. The prerequisites are the existence of /sys/class/scsi_disk/ and /etc/mtab. This can be achieved easily by loading the sd_mod kernel module and creating /etc/mtab as a symlink to /proc/self/mounts.

Due to problems with the availability of packages for pyvmomi, the depencency has been removed from the RPM packages. The pyvmomi python dependency now needs to be installed using the pip command.

Bugfixes and Changes

  • Issue #1039: Can not login in webui
  • fix problem when backing up large objects in filedaemon ldap plugin
  • OpenSSL now uses automatic RNG initialization
  • support newer versions of CephFS that don’t have ceph_statx.h
  • fix a memory corruption when autolabeling with increased maxiumum block size
  • Issue #1281: Director crashes on memory access violation in CloseMemoryPool() and is_regex()

Bareos-18.2.9

General Information

Bareos 18.2.9 Release Information
Release Date 09 July 2020
Database Version 2171
URL https://download.bareos.com/bareos/release/18.2/
Release Ticket Issue #1226

Security

This release contains a fix for CVE-2020-11061 (Issue #1210). Please make sure you implement the workaround described in CVE-2020-4042 (Issue #1250), because this release does not contain a fix for the problem.

Bugfixes and Changes

  • Issue #1210: Security vulnerability results in heap overflow in director when doing a Verify job against a file daemon.

Bareos-18.2.8

General Information

Bareos 18.2.8 Release Information
Release Date 09 April 2020
Database Version 2171
URL https://download.bareos.com/bareos/release/18.2/
Release Ticket Issue #1157

Bugfixes and Changes

  • Issue #1162: When restoring files without directories, the permissions of the immediate parent directory are wrong
  • avoid a race-condition when creating job names
  • fix crash in bconsole when TLS connection cannot be established
  • fix random crash in OpenSSL due to broken thread-safety precautions
  • limit Maximum Concurrent Jobs in Droplet Storage Backend to work around a problem with block interleaving
  • fix a problem with GlusterFS Backend on CentOS 7/RHEL 7

Bareos-18.2.7

General Information

Bareos 18.2.7 Release Information
Release Date 12 December 2019
Database Version 2171
URL https://download.bareos.com/bareos/release/18.2/
Release Ticket Issue #1152
binary package availablility in the bareos.com subscription repos
Distribution Architecture
CentOS_6 x86_64
CentOS_7 x86_64
CentOS_8 x86_64
Debian_8.0 i586,x86_64
Debian_9.0 i586,x86_64
Debian_10 i586,x86_64
Fedora_28 x86_64
Fedora_29 x86_64
Fedora_30 x86_64
Fedora_31 x86_64
FreeBSD_11.3 x86_64
FreeBSD_12.0 x86_64
FreeBSD_12.1 x86_64
MacOS x86_64
RHEL_6 x86_64
RHEL_7 x86_64
RHEL_8 x86_64
SLE_12_SP4 x86_64
SLE_15 x86_64
SLE_15_SP1 x86_64
openSUSE_Leap_15.0 x86_64
openSUSE_Leap_15.1 x86_64
Univention_4.3 x86_64
Windows 32Bit, 64Bit
xUbuntu_16.04 i586,x86_64
xUbuntu_18.04 x86_64

Bugfixes and Changes

  • Issue #990: SD sometimes tries to load empty tape slot
  • Issue #1030: Bscan does not work for migration and copy jobs
  • Issue #1056: NDMP restore on 16.2.5 and above does not fill NDMP environment correctly
  • Issue #1058: 18.2.6 build error while cmake don’t build the correct dependency’s
  • Issue #1059: Webui spams Apache error_log with bconsole messages
  • Issue #1072: Newer versions of Fedora use stricter code checking
  • Issue #1095: Bareos WebUI: When login as a user without the permission to the “.api” command, the webui show a wrong and ugly error message
  • Issue #1100: Bconsole crashes when a pam authentication aborts
  • Issue #1112: After mount/unmount of tape “status slots” shows empty list
  • Issue #1149: Audit messages are not logged any more
  • Issue #1150: dbconfig schema update scripts broken since 18.2
  • All daemons: Fix buffer overrun in PathAppend
  • Bareos Director: Add support for MySQL 8
  • Bareos Director: Fix nullptr cornercase in mtx-changer parser
  • Bareos Director: Fix audit messages
  • Bareos WebUI: Fix overflowing top navigation bar content hiding tab navigation in some modules
  • Bareos WebUI: Fix always active debug messages in error.log
  • Bareos WebUI: Bvfs cache update notification added
  • Documentation: Various improvements and updates

Bareos-18.2.6

General Information

Bareos 18.2.6 Release Information
Release Date 13 February 2019
Database Version 2171
URL https://download.bareos.com/bareos/release/18.2/
Release Ticket n/a
binary package availablility in the bareos.com subscription repos
Distribution Architecture
CentOS_6 x86_64
CentOS_7 x86_64
Debian_8.0 i586,x86_64
Debian_9.0 i586,x86_64
Fedora_28 x86_64
Fedora_29 x86_64
FreeBSD_11.2 x86_64
MacOS x86_64
RHEL_6 x86_64
RHEL_7 x86_64
SLE_12_SP3 x86_64
SLE_12_SP4 x86_64
SLE_15 x86_64
openSUSE_Leap_15.0 x86_64
Univention_4.3 x86_64
Windows 32Bit, 64Bit
xUbuntu_14.04 i586,x86_64
xUbuntu_16.04 i586,x86_64
xUbuntu_18.04 x86_64

New Features

  • New packages for MacOS and FreeBSD
  • Updated documentation
  • Issue #1045: Fixed TLS-Cert problem with old PHP versions in the Bareos WebUI
  • dbcheck: Completed merge of “Fix dbcheck orphaned path entries performance issue” (a8f2a39)

Bareos 18.2.5

General Information

Bareos 18.2.5 Release Information
Release Date 31 January 2019
Database Version 2171
URL http://download.bareos.org/bareos/release/18.2/
Release Ticket Issue #1040
binary package availablility
Distribution Architecture
CentOS_6 x86_64
CentOS_7 x86_64
Debian_8.0 i586,x86_64
Debian_9.0 i586,x86_64
Fedora_28 x86_64
Fedora_29 x86_64
openSUSE_Leap_15.0 x86_64
RHEL_6 x86_64
RHEL_7 x86_64
SLE_12_SP3 x86_64
SLE_12_SP4 x86_64
SLE_15 x86_64
Univention_4.3 x86_64
Windows 32Bit, 64Bit
xUbuntu_14.04 i586,x86_64
xUbuntu_16.04 i586,x86_64
xUbuntu_18.04 x86_64

New Features

  • New network Protocol using immediately TLS
    • TLS is immediately used on all network connections
    • Support for TLS-PSK in all daemons
    • Automatic encryption of all network traffic with TLS-PSK
    • Full Compatibility with old Bareos File Daemon
      • Old Bareos File Daemon speaking the old protocol are automatically detected and daemons switch to the old protocol
    • Easily update without configuration changes
      • Existing Bareos installations can be upgraded without configuration changes
  • PAM Support
    • Detailed information follows
    • Introduction of new “User” Resource
    • The Bareos Director supports PAM for user authentication
    • The Bareos WebUI supports PAM user authentication against the Bareos Director

Changed Features

  • Bandwidth limiting now also works in TLS encrypted connections. Before, bandwidth limiting was ignored when the connections were TLS encrypted
  • Droplet (S3): multiple enhancements
  • Bareos Console: Added “whoami” command to show currently associated user
  • xattr and acl support now are enabled by default
    • Both features were disabled by default and needed to be enabled in the fileset options
    • Now both are enabled by default and can be disabled in the fileset options
    • New Bareos File Daemon logs the current status of both options in job log

Backward compatibility

  • Bareos Director >= 18.2 can work with all Bareos File Daemon versions. However, all other components need to be updated to Bareos version >= 18.2
  • To maintain Bareos Webui access to the Bareos Director, it depends on the current configuration. 1. TLS certificates: Nothing to do. 2. No TLS configured: Set TlsEnable=false in the respective console config of the Bareos Webui in the Bareos Director

Full connection overview

This diagram contains all possible connections between Bareos components that are virtually usable. The numbers in each component are the version numbers of this component that can be used with a Bareos 18.2 system (Director Daemon and Storage Daemon). However, to be able to use all feature it is recommended to use all components from version 18.2.

For a detailed explanation of all connection modes see Network Connections Overview.

left to right direction
skinparam shadowing false

(Python 17,18) as Py1718
(Console 17,18) as Con1718
(WebUI 17,18) as Webui1718
(Tray Monitor 18) as Tray18

[Filedaemon 17,18] as FD1718
[Directordaemon 18] as Dir18
[Storagedaemon 18] as SD18
[Storagedaemon2 18] as SD218

!define arrow_hidden(from,direction,to,comment) from -[#white]direction->to : <color white>comment</color>

!define arrow(from,direction,to,comment) from -direction->to : comment

arrow(Con1718, right, Dir18, 1n)
arrow(Con1718, right, Dir18, 2r)

arrow(Py1718, up, Dir18, 3n)
arrow(Py1718, up, Dir18, 4r)

arrow(Webui1718, down, Dir18, 5n)
arrow(Webui1718, down, Dir18, 6r)

arrow(Dir18, up, FD1718, 7)
arrow(FD1718, down, Dir18, 8)

arrow(Dir18, right, SD18, 9a)

arrow(FD1718, down, SD18, 10)
arrow(SD18, down, FD1718, 11)

arrow(SD18, down, SD218, 12)
arrow(Dir18, down, SD218, 9b)

arrow(Tray18, down, Dir18, 13)
arrow(Tray18, down, FD1718, 14)
arrow(Tray18, down, SD18, 15)

Full overview of all Bareos connections possible with Bareos 18.2

Deprecated and Removed Features

  • Removed Bareos conio option, as the standard library readline is used instead
  • GnutTLS is not supported anymore, OpenSSL is now required

Bugs Fixed

  • Issue #845: NetApp OnCommand System Manager calls on SD Port 10000 leads to Segmentation Violation
  • Issue #805: Can’t restore vmware-plugin assisted backups via Bareos Webui
  • Windows Installer: Fixed infinite install dialog for VC 2012 checks on x86 windows
  • Fixed memory leaks in the Bareos Director when using bconsole or Bareos Webui
  • Fixed a debug message handler bug on Bareos Director when debuglevel is >= 900
  • Improved shutdown of Bareos Director
  • Issue #1034: Read error on tape may be misinterpreted as end-of-tape
  • “Exit On Fatal” works now as expected
  • Fixed a bug when migration storage daemons cannot connect
  • Guarded numerous nullpointers
  • VMware: Fixed errors when using non-ascii characters

Updated Documentation

Internal Project Changes

  • Reorganized the whole git repository and merged sub repositories into main repository
  • Changed the build system from autoconf/automake to cmake
  • Switched from cmocka to google test framework for unit tests
  • Introduced namespaces to avoid name clashes when parts of different daemons are tested in one test
  • Switched to use c++11 standard, start to refactor using standard library instead of legacy features
  • Use google c++ style guide
    • Refactored variable names
  • Refactored configuration parser
  • TLS implementation has now a base class interface instead of compile time switched behaviour
  • Library cleanup and reorganization
    • Library does not use main program variables anymore
    • Removed libbareoscfg
    • Enhanced windows cross building
  • Renamed c++ files to use .cc file extension
  • Cleanup of header files
    • Removed “protos.h”
    • Introduced individual header fileS for each c++ file
    • Each header file has own google c++ standard header guard
    • Explicitly declare functions override where applicable
  • Bareos Traymonitor: Allows compiling using Qt4 or Qt5
  • Switch the documentation from LaTeX to Sphinx (work in progress)
  • Bareos Webui: Enhances Selenium tests to be used on https://saucelabs.com/u/bareossaucelabs
  • clang: Massively reduced number of warnings
  • FreeBSD: added start scripts, fixed buggy cmake detection of ACL support
  • Regression tests
    • Automatically build Bareos Traymonitor
    • Preconfigure Bareos Webui to run in php’s own webserver for easy testing

Bareos-17.2

bareos-17.2.10

Code Release 2020-07-09
Database Version 2171 (unchanged)
Release Ticket Issue #1225
Url http://download.bareos.com/bareos/release/17.2/

Security

This release contains a fix for CVE-2020-11061 (Issue #1210). Please make sure you implement the workaround described in CVE-2020-4042 (Issue #1250), because this release does not contain a fix for the problem.

Bugfixes and Changes

  • Issue #1210: Security vulnerability results in heap overflow in director when doing a Verify job against a file daemon.

bareos-17.2.9

Code Release 2020-04-09
Database Version 2171 (unchanged)
Release Ticket Issue #1158
Url http://download.bareos.com/bareos/release/17.2/
  • Issue #1162: When restoring files without directories, the permissions of the immediate parent directory are wrong
  • fix a problem with GlusterFS Backend on CentOS 7/RHEL 7

bareos-17.2.8

Code Release 2019-12-12
Database Version 2171 (unchanged)
Release Ticket Issue #1153
Url http://download.bareos.com/bareos/release/17.2/
  • Droplet: improves handling when truncating volumes
    • Without this change, errors when truncating a droplet volume are silently ignored.
  • Issue #1030 bscan does not work for migration and copy jobs
  • Issue #1034: Read error on tape may be misinterpreted as end-of-tape.
  • Fix nullptr cornercase in mtx-changer parser in the Bareos Director
  • Fix corner-case crash during job cancel in the Bareos Storage Daemon
  • Fix crash on excessive SOS records
  • Packaging: make specfiles compatible to docker

bareos-17.2.7

Code Release 2018-07-13
Database Version 2171 (unchanged)
Release Ticket Issue #966
Url http://download.bareos.com/bareos/release/17.2/

This release contains several bugfixes and enhancements. Excerpt:

  • Issue #892 bareos-storage-droplet: improve error handling on unavailable backend.
  • Issue #902 bareos-storage-droplet: improve job status handling (terminate job after all data is written).
  • Issue #967 Windows: overwrite symbolic links on restore.
  • Issue #983 Bareos Storage Daemon: prevent sporadic crash when Collect Job Statistics (Sd->Storage) = yes.
  • SLES 12sp2 and SLES 12sp3: provide bareos-storage-ceph and bareos-filedaemon-ceph-plugin packages.

bareos-17.2.6

Code Release 2018-06-21
Database Version 2171 (unchanged)
Release Ticket Issue #916
Url http://download.bareos.com/bareos/release/17.2/

This release contains several bugfixes and enhancements. Excerpt:

  • added platforms: Fedora 27, Fedora 28, openSUSE 15.0, Ubuntu 18.04 and Univention 4.3.
  • Univention 4.3: fixes integration.
  • Issue #872 adapted to new Ceph API.
  • Issue #943 use tirpc if Sun-RPC is not provided.
  • Issue #964 fixes the predefined queries.
  • Issue #969 fixes a problem of restoring more files then selected in Bareos WebUI/BVFS.
  • Bareos Director: fixes for a crash after reload in the statistics thread (Issue #695, Issue #903).
  • bareos-dbcheck: cleanup and speedup for some some of the checks.
  • adapted for PostgreSQL 10.
  • gfapi: stale file handles are treated as warnings

bareos-17.2.5

Code Release 2018-02-16
Database Version 2171 (unchanged)
Release Ticket Issue #910
Url http://download.bareos.com/bareos/release/17.2/

This release contains several bugfixes and enhancements. Excerpt:

  • Bareos File Daemon is ready for AIX 7.1.0.0.
  • VMware Plugin is also provided for Debian 9.
  • NDMP fixes
  • Virtual Backup fixes
  • bareos-storage-droplet: improvements
  • bareos-dbcheck improvements and fixes: with older versions it could happen, that it destroys structures required by .bvfs_*.
  • Issue #850 fixes a bug on Univention: fixes a problem of regenerating passwords when resyncing settings.
  • Issue #890 .bvfs_update fix. Before there have been cases where it did not update the cache.
  • .bvfs_lsdirs make limit- and offset-option work correctly.
  • .bvfs_lsdirs show special directory (like @bpipe@/) on the same level as /.
  • Issue #895 added description to the output of show filesets.
  • Bareos WebUI: Restore Browser fixes
    • There was the possibility of an endless loop if the BVFS API delivers unexpected results. This has been fixed. See bugreports Issue #887 and Issue #893 for details.
    • Issue #905 fixes a problem with file names containing quotes.
  • NDMP Block Size (Dir->Client) changed type from Pint32 to Size32. This should not affect any configuration, but is more consistent with other block size configuration directives.

bareos-17.2.4

Code Release 2017-12-14
Database Version 2171
Release Ticket Issue #861
Url http://download.bareos.org/bareos/release/17.2/
http://download.bareos.com/bareos/release/17.2/

This release contains several enhancements. Excerpt:

  • Bareos Distribution (packages)
    • Python-bareos is included in the core distribution.
    • bareos-storage-droplet is a storage backend for the droplet library. Most notably it allows backup and restores to a S3 environment. betaSince{sd}{bareos-storage-droplet}{17.2.4}
    • bat has been removed.
    • platforms:
      • Windows Clients are still supported since Windows Vista.
      • MacOS: added to build chain.
      • Bareos File Daemon is ready for HP-UX 11.31 (ia64).
      • Linux Distribution: Bareos tries to provide packages for all current platforms. For details, refer to Packages for the different Linux platforms.
    • Linux RPM packages: allow read access to /etc/bareos/ for all users (however, relevant files are still only readable for the user bareos). This allows other programs associated with Bareos to also use this directory.
  • Denormalization of the File database table
    • The denormalization of the File database table leads to enormous performance improvements in installation, which covering a lot of file (millions and more).
    • For the denormalization the database schema must be modified.

Warning

Updating the database to schema version >= 2170 will increase the required disk space.
Especially it will require around twice the amount of the current database disk space during the migration.
  • The Filename database table does no longer exists. Therefore the .bvfs_* commands do no longer output the FilenameId column.
  • NDMP_NATIVE support has been added. This include the NDMP features DAR and DDAR. For details see NDMP_NATIVE.
  • Updated the package bareos-vmware-plugin to utilize the Virtual Disk Development Kit (VDDK) 6.5.x. This includes support for VMware vSphere 6.5 and the next major release (except new features) and backward compatible with VMware vSphere 5.5 and 6.0. For details see VMware Plugin.
  • Soft Quota: automatic quota grace period reset if a job does not exceed the quota.
  • bareos-dbcheck: disable all interactive questions in batch mode.
  • list files: also show deleted files (accurate mode).
  • list jobstatastics: added.
  • purge: added confirmation.
  • list volumes: fix limit and offset handling.
  • Issue #629 Windows: restore directory attributes.
  • Issue #639 tape: fix block size handling, AWS VTL iSCSI devices
  • Issue #705 support for MySQL 5.7
  • Issue #719 allow long JSON messages (has been increased from 100KB to 2GB).
  • Issue #793 Virtual Backups: skip jobs with no files.

Bareos-16.2

bareos-16.2.9

Code Release 2019-12-12
Database Version 2004 (unchanged)
Release Ticket Issue #1154
Url http://download.bareos.com/bareos/release/16.2/
  • Improve list command
    • Honor “pool” filter for jobs so you can list jobs by pool
  • Updated MySQL creation schema to current standards
  • Packaging: Use .tar.bz2 instead of tar.gz
  • Packaging: Make rpm spec compatible to docker builds

bareos-16.2.8

Code Release 2018-07-06
Database Version 2004 (unchanged)
Release Ticket Issue #863
Url http://download.bareos.com/bareos/release/16.2/

This release contains several bugfixes and enhancements. Excerpt:

  • gfapi-fd Plugin
    • Allow to use non-accurate backups with glusterfind
    • Fix backups with empty glusterfind filelist.
    • Explicitly close glfs fd on IO-open
    • Don’t reinitialize the connection to gluster
    • Fix parsing of missing basedir argument
    • Handle non-fatal Gluster problems properly
  • Reset JobStatus to previous JobStatus in status SD and FD loops to fix status all output
  • Backport ceph: ported cephfs-fd and cephfs_device to new api
  • Issue #967 Windows: Symbolic links are now replaceable during restore

bareos-16.2.7

Code Release 2017-10-09
Database Version 2004 (unchanged)
Release Ticket Issue #836
Url http://download.bareos.com/bareos/release/16.2/

This release contains several bugfixes and enhancements. Excerpt:

  • Fixes a Director crash, when enabling debugging output
  • .bvfs_lsdirs: improve performance, especially when having a large number of directories
    • To optimize the performance of the SQL query used by .bvfs_lsdirs, it is important to have the following indexes:
    • PostgreSQL
      • CREATE INDEX file_jpfnidpart_idx ON File(PathId,JobId,FilenameId) WHERE FileIndex = 0;
      • If the index file_jfnidpart_idx mentioned in 16.2.6 release notes exist, drop it: DROP INDEX file_jfnidpart_idx;
    • MySQL/MariaDB
      • CREATE INDEX PathId_JobId_FileNameId_FileIndex ON File(PathId,JobId,FilenameId,FileIndex);
      • If the index PathId_JobId_FileIndex_FileNameId mentioned in 16.2.6 release notes exist, drop it: DROP INDEX PathId_JobId_FileIndex_FileNameId ON File;
  • Utilize OpenSSL >= 1.1 if available
  • Windows: fixes silent upgrade (winbareos-*.exe /S)
  • Windows: restore attributes also on directories (not only on files)
  • Fixes problem with SHA1 signature when compiled without OpenSSL (not relevant for bareos.org/bareos.com packages)
  • Packages for openSUSE Leap 42.3 and Fedora 26 have been added.
  • Packages for AIX and current HP-UX 11.31

bareos-16.2.6

Code Release 2017-06-22
Database Version 2004 (unchanged)
Release Ticket Issue #794
Url http://download.bareos.com/bareos/release/16.2/

This release contains several bugfixes and enhancements. Excerpt:

  • Prevent from director crash when using incorrect paramaters of .bvfs_* commands.

  • Director now closes all configuration files when reloading failed.

  • Storage daemon now closes the network connection when MaximumConcurrentJobs reached.

  • New directive LanAddress was added to the Client and Storage Resources of the director to facilitate a network topology where client and storage are situated inside of a LAN, but the Director is outside of that LAN. See Using different IP Adresses for SD – FD Communication for details.

  • A Problem in the storage abstraction layer was fixed where the director picked the wrong storage daemon when multiple storages/storage daemons were used.

  • The device spool size calculation when using secure erase was fixed.

  • .bvfs_lsdirs no longer shows empty directories from accurate jobs.

    • Warning

      This decreases performance if your environment has a large numbers of directories. Creating an index improves the performance.

    • PostgreSQL

      • When using PostgreSQL, creating the following partial improves the performance sufficiently: CREATE INDEX file_jfnidpart_idx ON File(JobId, FilenameId) WHERE FileIndex = 0;
      • Run following command to create the partial index: su - postgres -c 'echo "CREATE INDEX file_jfnidpart_idx ON File(JobId, FilenameId) WHERE FileIndex = 0; ANALYZE File;" | psql bareos'
    • MySQL/MariaDB

      • When using MySQL or MariaDB, creating the following index improves the performance: CREATE INDEX PathId_JobId_FileIndex_FileNameId ON File(PathId,JobId,FileIndex,FilenameId);
      • Run following command to create the index: echo "CREATE INDEX PathId_JobId_FileIndex_FileNameId ON File(PathId,JobId,FileIndex,FilenameId);" | mysql -u root bareos
      • However, with larger amounts of directories and/or involved jobs, even with this index the performance of .bvfs_lsdirs may still be insufficient. We are working on optimizing the SQL query for MySQL/MariaDB to solve this problem.
  • Packages for Univention UCS 4.2 have been added.

  • Packages for Debian 9 (Stretch) have been added.

  • WebUI: The post install script of the bareos-webui RPM package for RHEL/CentOS was fixed, it no longer tries to run a2enmod which does not exist on RHEL/CentOS.

  • WebUI: The login form no longer allows redirects to arbitrary URLs

  • WebUI: The used ZendFramework components were updated from version 2.4.10 to 2.4.11.

  • WebUI: jQuery was updated from version 1.12.4 to version 3.2.0., some outdated browsers like Internet Explorer 6-8, Opera 12.1x or Safari 5.1+ will no longer be supported, see jQuery Browser Support for details.

bareos-16.2.5

Code Release 2017-03-03
Database Version 2004 (unchanged)
Release Ticket Issue #734
Url http://download.bareos.com/bareos/release/16.2/

This release contains several bugfixes and enhancements. Excerpt:

  • NDMP: critical bugfix when restoring large files.
  • truncate command allows to free space on disk storages (replaces an purged volume by an empty volume).
  • Some fixes were added regarding director crashes, Windows backups (VSS), soft-quota reset and API (bvfs) problems.
  • WebUI: handle file names containing special characters, hostnames starting with numbers and long logfiles.
  • WebUI: adds translations for Chinese, Italian and Spanish.

bareos-16.2.4

Code Release 2016-10-28
Database Version 2004 (unchanged)
Release Ticket Issue #698
Url http://download.bareos.org/bareos/release/16.2/
http://download.bareos.com/bareos/release/16.2/

First stable release of the Bareos 16.2 branch.

  • Configuration

    • Bareos packages contain the default configuration in Subdirectory Configuration Scheme. Please read Updates from Bareos < 16.2.4 before updating (make a copy of your configuration directories for your Bareos Director and Bareos Storage Daemon before updating). Note: as the old configuration files are still supported, in most cases no changes are required.

    • The default configuration does no longer name the Director (Dir) and Storage (Sd) resources after the systems hostname ($HOSTNAME-dir resp. $HOSTNAME-sd) but use bareos-dir (Dir->Director) resp. bareos-sd (Sd->Storage) as defaults. The prior solution had the disadvantage, that $HOSTNAME-dir has also been set on Bareos File Daemon not running on the Bareos Director, which almost ever did require changing this setting. Also the new approach aligns better with Subdirectory Configuration Scheme.

    • Due to limitation of the build system, the default resource Linux All (Dir->Fileset) have been renamed to LinuxAll (Dir->Fileset) (no space between Linux and All).

    • The configuration of the bareos-traymonitor has also been split into resource files. Additional, these resource files are now packaged in other packages:

      • CONFIGDIR/tray-monitor.d/monitor/bareos-mon.conf: bareos-traymonitor
      • CONFIGDIR/tray-monitor.d/client/FileDaemon-local.conf: bareos-filedaemon
      • CONFIGDIR/tray-monitor.d/storage/StorageDaemon-local.conf: bareos-storage
      • CONFIGDIR/tray-monitor.d/director/Director-local.conf: bareos-director

      This way, the bareos-traymonitor will be configured automatically for the installed components.

  • Strict ACL handling

    • Bareos Console Acl`s do no longer automatically matches substrings (to avoid that e.g. :config:option:`dir/console/PoolAcl = Full also matches VirtualFull (Dir->Pool)). To configure the ACL to work as before, Pool ACL (Dir->Console) = .*Full.* must be set. Unfortunately the Bareos WebUI 15.2 webui (Dir->Profile) did use Command ACL (Dir->Console) = .bvfs*, which is also no longer works as intended. Moreover, to use all of Bareos WebUI 16.2 features, some additional commands must be permitted, so best use the new webui-admin (Dir->Profile).
  • Bareos WebUI

    • Updating from Bareos 15.2: Adapt webui (Dir->Profile) (from bareos 15.2) to allow all commands of webui-admin (Dir->Profile) (Command ACL (Dir->Console)). Alternately modify all Console (Dir)s currently using webui (Dir->Profile) to use webui-admin (Dir->Profile) instead.
    • While RHEL 6 and CentOS 6 are still platforms supported by Bareos, the package bareos-webui is not available for these platforms, as the required ZendFramework 2.4 do require PHP >= 5.3.17 (5.3.23). However, it is possible to use bareos-webui 15.2 against bareos-director 16.2. Also here, the profile must be adapted.

Bareos-15.2

bareos-15.2.4

Code Release 2016-06-10
Database Version 2004 (unchanged)
Release Ticket Issue #641
Url http://download.bareos.com/bareos/release/15.2/

For upgrading from 14.2, please see release notes for 15.2.1.

This release contains several bugfixes and enhancements. Excerpt:

  • Automatic mount of disks by SD
  • NDMP performance enhancements
  • Windows: sparse file restore
  • Director memory leak caused by frequent bconsole calls

bareos-15.2.3

Code Release 2016-03-11
Database Version 2004 (unchanged)
Release Ticket Issue #625
Url http://download.bareos.com/bareos/release/15.2/

For upgrading from 14.2, please see releasenotes for 15.2.1.

This release contains several bugfixes and enhancements. Excerpt:

  • VMWare plugin can now restore to VMDK file
  • Ceph support for SLES12 included
  • Multiple gfapi and ceph enhancements
  • NDMP enhancements and bugfixes
  • Windows: multiple VSS Jobs can now run concurrently in one FD, installer fixes
  • bpipe: fix stderr/stdout problems
  • reload command enhancements (limitations eliminated)
  • label barcodes now can run without interaction

bareos-15.2.2

Code Release 2015-11-19
Database Version 2004
Database update required (if coming from bareos-14.2). See the Updating Bareos section.
Release Ticket Issue #554
Url http://download.bareos.org/bareos/release/15.2/
http://download.bareos.com/bareos/release/15.2/

First stable release of the Bareos 15.2 branch.

When coming from bareos-14.2.x, the following things have changed (same as in bareos-15.2.1):

bareos-15.2.1 (unstable)

Code Release 2015-09-16
Database Version 2004
Database update required, see the Updating Bareos section.
Release Ticket Issue #501
Url http://download.bareos.org/bareos/release/15.2/

Beta release.

Bareos-14.2

It is known, that drop_database scripts will not longer work on PostgreSQL < 8.4. However, as drop_database scripts are very seldom needed, package dependencies do not yet enforce PostgreSQL >= 8.4. We plan to ensure this in future version of Bareos.

bareos-14.2.7

Code Release 2016-07-11
Database Version 2003 (unchanged)
Release Ticket Issue #584
Url http://download.bareos.com/bareos/release/14.2/

This release contains several bugfixes. Excerpt:

  • bareos-dir

    • Fixes pretty printing of Fileset options block
      Issue #591: config pretty-printer does not print filesets correctly
    • run command: fixes changing the pool when changing the backup level in interactive mode
      Issue #633: Interactive run doesn’t update pool on level change
    • Ignore the Fileset option DriveType on non Windows systems
      Issue #644: Setting DriveType causes empty backups on Linux
    • Suppress already queued jobs for disabled schedules
      Issue #659: Suppress already queued jobs for disabled schedules
  • NDMP

    • Fixes cancel of NDMP jobs
      Issue #604: Cancel a NDMP Job causes the sd to crash
  • bpipe-fd plugin

    • Only take stdout into account, ignore stderr (like earlier versions)
      Issue #632: fd-bpipe plugin merges stderr with stdout, which can result in corrupted backups
  • win32

    • Fix symlink and junction support
      Issue #575: charset problem in symlinks/junctions windows restore
      Issue #615: symlinks/junctions wrong target path on restore (wide chars)
    • Fixes quoting for bmail.exe in bareos-dir.conf
      Issue #581: Installer is setting up a wrong path to bmail.exe without quotes / bmail not called
    • Fix crash on restore of sparse files
      Issue #640: File daemon crashed after restoring sparse file on windows
  • win32 mssql plugin

    • Allow connecting to non default instance
      Issue #383: mssqldvi problem with connection to mssql not default instance
    • Fix backup/restore of incremental backups
      Issue #588: Incremental MSSQL backup fails when database name contains spaces

bareos-14.2.6

Code Release 2015-12-03
Database Version 2003 (unchanged)
Release Ticket Issue #474
Url http://download.bareos.com/bareos/release/14.2/

This release contains several bugfixes.

bareos-14.2.5

Code Release 2015-06-01
Database Version 2003 (unchanged)
Release Ticket Issue #447
Url http://download.bareos.com/bareos/release/14.2/

This release contains several bugfixes and added the platforms Debian 8 and Fedora 21.

bareos-14.2.4

Code Release 2015-03-23
Database Version 2003 (unchanged)
Release Ticket Issue #420
Url http://download.bareos.com/bareos/release/14.2/

This release contains several bugfixes, including one major bugfix (Issue #437), relevant for those of you using backup to disk with autolabeling enabled.

It can lead to loss of a 64k block of data when all of this conditions apply:

  • backups are written to disk (tape backups are not affected)
  • autolabelling is enabled
  • a backup spans over multiple volumes
  • the additional volumes are newly created and labeled during the backup

If existing volumes are used for backups spanning over multiple volumes, the problem does not occur.

We recommend to update to the latest packages as soon as possible.

If an update is not possible immediately, autolabeling should be disabled and volumes should be labelled manually until the update can be installed.

If you are affected by the 64k bug, we recommend that you schedule a full backup after fixing the problem in order to get a proper full backup of all files.

bareos-14.2.3

Code Release 2015-02-02
Database Version 2003 (unchanged)
Release Ticket Issue #393
Url http://download.bareos.com/bareos/release/14.2/

bareos-14.2.2

Code Release 2014-12-12
Database Version 2003 (unchanged)
Database update required if updating from version < 14.2.
See the Updating Bareos section for details.
Url http://download.bareos.org/bareos/release/14.2/
http://download.bareos.com/bareos/release/14.2/

First stable release of the Bareos 14.2 branch.

bareos-14.2.1 (unstable)

Code Release 2014-09-22
Database Version 2003
Database update required, see the Updating Bareos section.
Url http://download.bareos.org/bareos/release/14.2/

Beta release.

Bareos-13.2

bareos-13.2.5

Code Release 2015-12-03
Database Version 2002 (unchanged)
Url http://download.bareos.com/bareos/release/13.2/

This release contains several bugfixes.

bareos-13.2.4

Code Release 2014-11-05
Database Version 2002 (unchanged)
Url http://download.bareos.com/bareos/release/13.2/

bareos-13.2.3

Code Release 2014-03-11
Database Version 2002
Database update required, see the Updating Bareos section.
Url http://download.bareos.com/bareos/release/13.2/

It is known, that drop_database scripts will not longer work on PostgreSQL < 8.4. However, as drop_database scripts are very seldom needed, package dependencies do not yet enforce PostgreSQL >= 8.4. We plan to ensure this in future version of Bareos.

bareos-13.2.2

Code Release 2013-11-19
Database Version 2001 (unchanged)
Url http://download.bareos.org/bareos/release/13.2/
http://download.bareos.com/bareos/release/13.2/

Bareos-12.4

bareos-12.4.8

Code Release 2015-11-18
Database Version 2001 (unchanged)
Url http://download.bareos.com/bareos/release/12.4/

This release contains several bugfixes.

bareos-12.4.6

Code Release 2013-11-19
Database Version 2001 (unchanged)
Url http://download.bareos.org/bareos/release/12.4/
http://download.bareos.com/bareos/release/12.4/

bareos-12.4.5

Code Release 2013-09-10
Database Version 2001 (unchanged)
Url http://download.bareos.com/bareos/release/12.4/

bareos-12.4.4

Code Release 2013-06-17
Database Version 2001 (unchanged)
Url http://download.bareos.org/bareos/release/12.4/
http://download.bareos.com/bareos/release/12.4/

bareos-12.4.3

Code Release 2013-04-15
Database Version 2001 (unchanged)
Url http://download.bareos.org/bareos/release/12.4/
http://download.bareos.com/bareos/release/12.4/

bareos-12.4.2

Code Release 2013-03-03
Database Version 2001 (unchanged)

bareos-12.4.1

Code Release 2013-02-06
Database Version 2001 (initial)

This have been the initial release of Bareos.

Information about migrating from Bacula to Bareos are available at Howto upgrade from Bacula to Bareos and in section Compatibility between Bareos and Bacula.