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-19.2
Bareos-19.2.13
General Information
Release Date |
2022-08-04 |
Database Version |
2192 |
URL |
Changed
jstreegrid: remove handling of IE < 8 using navigator interface to avoid warnings in chrome [PR #1143]
Security
webui: update moment.js to version 2.29.2 [PR #1158] [CVE-2022-24785](https://github.com/advisories/GHSA-8hfj-j24r-96c4)
webui is NOT affected
webui does NOT use the npm server
webui does NOT use a user-provided locale string to directly switch moment locale
Bareos-19.2.12
General Information
Release Date |
2022-03-14 |
Database Version |
2192 |
URL |
Breaking Changes
When using PAM Bareos will now check authorization, too. If authorization is not configured, login will fail. See updated documentation on how to proceed.
Removed Support for EOL RHEL 6 and CentOS 6
Bugs Fixed
fix crash in “status scheduler” command when job->client is unset
Security
webui: update jquery from v3.2.0 to v3.6.0
dird: check authorization on PAM login (CVE-2022-24755)
dird: fix memory leak on failed PAM login (CVE-2022-24756)
Other Improvements
webui: introduce support Ukraine theme
Bareos-19.2.11
General Information
Release Date |
2021-09-13 |
Database Version |
2192 |
URL |
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 #1235: Special characters not escaped in translations
Issue #1369: Webui tries to load a non-existing file
Issue #1251: Error when displaying pool detail
Issue #1020: Cannot restore a client with spaces in its name
Issue #971: Error building tree for filenames with backslashes
Issue #579: Unable to connect to the director from webui via ipv6
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-19.2.10
General Information
Release Date |
2021-06-11 |
Database Version |
2192 |
URL |
Bugs Fixed
fix python-bareos for Python < 2.7.13 [PR #753]
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]
reorder acquire on migrate/copy to avoid possible deadlock [PR #828]
[Issue #1205]: PHP 7.3 issue with compact() in HeadLink.php [PR #834]
Other Improvements
webui: Localization updated
Bareos-19.2.9
General Information
Release Date |
2020-12-11 |
Database Version |
2192 |
URL |
|
Release Ticket |
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.
Bugs Fixed
fix a memory corruption when autolabeling with increased maxiumum block size
Issue #1039: Can not login in webui
filed: allow backup/restore of cephfs mounts and add tests
fix problem when backing up large objects in filedaemon ldap plugin
Issue #1281: Director crashes on memory access violation in CloseMemoryPool() and is_regex()
Other Improvements
core: sort jobids before purging
filedaemon: solve a race condition within the heartbeat thread shutdown
stored: always initialize struct mtop
OpenSSL now uses automatic RNG initialization
support newer versions of CephFS that don’t have ceph_statx.h
Bareos-19.2.8
General Information
Release Date |
2020-07-09 |
Database Version |
2192 |
URL |
|
Release Ticket |
Security
This release contains fixes for CVE-2020-4042 (Issue #1250) and CVE-2020-11061 (Issue #1210).
Bugs Fixed
Issue #1171: Backup the VM using UUID in oVirt-Plugin for Bareos.
Issue #1210: Security vulnerability results in heap overflow in director when doing a Verify job against a file daemon.
Issue #1219: Shell example script for Bareos installation on Debian / Ubuntu has wrong dist name.
Issue #1246: oVirt plugin fails to restore to local disk with KeyError.
Issue #1250: Authentication bypass in Director when allowing client and director initiated connections.
Issue #1257: Prune volume command may crash the director.
Other Improvements
the performance of bareos-dbcopy has been improved.
Internal Project Changes
python-bareos is now automatically published on PyPI.org, so it can be installed using pip.
Bareos-19.2.7
General Information
Release Date |
2020-04-16 |
Database Version |
2192 |
URL |
|
Release Ticket |
GlusterFS Backend on CentOS 7/RHEL 7
The glusterfs backend for the storage daemon was broken on CentOS 7 and RHEL 7 due to a problem with our new build-process. When glusterfs-api tried to connect to gluster for downloading the volume file a system call to the rpc library failed. We found out that the problem will occur when Bareos is built with libtirpc-devel while the glusterfs-api is built with the rpc library in glibc. The build-process was fixed and the problem will be solved in all binary packages released after 24 March 2020.
bareos-dbcopy
The bareos-dbcopy tool has been improved. A new howto Migrate MySQL/MariaDB to PostgreSQL has been added to the documentation. This howto describes how you can use bareos-dbcopy to migrate your MySQL or MariaDB catalog to PostgreSQL.
Bugs Fixed
Issue #1171: Backup the VM using UUID in oVirt-Plugin for Bareos
Issue #1190: Schedules without a client will not be run
Issue #1192: Authorization key rejected by Storage daemon since upgrading director and storage daemons
Issue #1200: fails to restore files
Issue #1206: form field restore job is not populated after client selection
Issue #1211: bareos director and bareos fd crash when regexwhere is specified
Issue #1220: default drive index not set to 0
Other Improvements
The message resource now allows to write to a file with a filename of arbitrary length. Previously this was limited to 128 characters.
The volume pruning code will now log which jobids are pruned with the volume.
A patch in 2018 accidentially broke thread-safety with OpenSSL 1.0 which lead to random crashes during execution of code in the OpenSSL library. That patch has been reverted.
There is a known bug when using Droplet Storage Backend with multiple simultaneous jobs (interleaving). As a precaution the Bareos Storage Daemon now only allows a setting of 1 for Maximum Concurrent Jobs on Droplet devices.
Internal Project Changes
Packages for Debian, Ubuntu and Univention are now built without Open Build Service. As a result we could remove all references to the Open Build Service from our source-code.
Bareos-19.2.6
General Information
Release Date |
11 February 2020 |
Database Version |
2192 |
URL |
|
Release Ticket |
MySQL/MariaDB
If an index on the JobTDate column of the Job table was manually added before upgrading the database to schema version 2192, please make sure you do not have multiple indexes on the JobTDate column of the Job table in place and clean up manually if necessary.
SHOW INDEXES FROM Job;
e.g.
DROP INDEX JobTDate_1 ON Job;
FreeBSD
Due to a bug in the new included CRC32 library, the endianness was always detected as big endian on FreeBSD. This lead to a wrong calculation on FreeBSD systems that use little endian (e.g. amd64).
As a result all volumes written by a Bareos Storage Daemon on FreeBSD using version 19.2.4 or 19.2.5 now have wrong block checksums and will become unreadable with this release. If you need a workaround to read such volumes, please contact us on the mailing list or open a support case.
Bugs Fixed
Issue #1174: reversed sort order on the restore client selection
Issue #1175: bareos crashes with invalid character in ACL
Issue #1176: Upgrade 18.2.5 to 19.2.5 failed while upgrading MySQL database
Issue #1178: job selection in restore module is populated not properly
Issue #1180: CRC checksum algorithm changed between 18.2.7 and 19.2.5, all volumes fail
Issue #1183: Error: Connection refused, director seems to be down or blocking our request.
Issue #1184: Using syslog or an invalid message type crashes a daemon
Bareos-19.2.5
General Information
Release Date |
03 February 2020 |
Database Version |
2192 |
URL |
|
Release Ticket |
Bugs Fixed
Issue #1172: update_bareos_tables script broken
Summary text for percona plugin referred to LDAP plugin
Bareos-19.2.4
General Information
Release Date |
31 January 2020 |
Database Version |
2192 |
URL |
|
Release Ticket |
New Features
oVirt Plugin: The oVirt Plugin can be used for agentless backups of virtual machines running on oVirt or Red Hat Virtualization (RHV)
Bareos WebUI: Restore a specific file version
Display a summary before performing a restore in the Bareos WebUI
New configuration parameter filetree_refresh_timeout has been added to configuration.ini file of the Bareos WebUI to set a custom timeout while refreshing the file tree (.bvfs_cache_update) in the restore module (Configure updating the Bvfs cache frequently)
Configuration: Add User Resource for pam authentication
Configuration: Simplified Multiplied Device Storage Configuration
Client initiated connection: Run dedicated jobs when a client connects to the Bareos Director. Introduced a new configuration directive RunOnIncomingConnectInterval, see the documentation here:
Run On Incoming Connect Interval (Dir->Job)
Python-bareos: Depending on the distribution, the Python module is packaged for Python 2 and/or Python 3. Previously it has only been packaged for Python 2
Python-bareos: There are two variants of the Console protocol. The protocol used before Bareos-18.2 and the protocol used thereafter. The protocol since Bareos-18.2 supports TLS-PSK and PAM authentication, see Bareos 18.2.5. Beginning with this version, Python-bareos also supports both protocols. As TLS-PSK for Python (module sslpsk) is not available for all platforms, Python-bareos has integrated an automatic fallback to the old protocol.
Percona XtraBackup Plugin: The Percona XtraBackup Plugin can be used to backup MySQL Databases. It uses the command line tool Percona XtraBackup to create backups. The plugin was formerly part of the bareos-contrib source code repository.
bareos-dbcopy command line tool: The new bareos-dbcopy command line tool can copy the bareos database from MySQL to PostgreSQL. As bareos-dbcopy is still in an early stage of development, we currently see it as technical preview and are interested in feedback and ask for special care when using it. Do not delete your old catalog database before you are really sure that everything works on the new catalog!
Changed Features
Improved Command ACL handling and error messages in the Bareos WebUI
Restricted-console profile examples for limited and read-only purposes have been added to the Bareos WebUI package
Updated Bareos WebUI localization
Configuration: Do not allow empty passwords for mandatory passwords
All daemons: Generate a log message if extended attributes are disabled automatically
All daemons: replace crc32 implementation with a faster one
Bareos Director: Add support for MySQL 8
PAM authentication requires a User configuration resource. Previously Console and User resources could be used.
The User configuration resource changed. Previously it has been an alias to the Console resource, which requires a password and allows some additional options. Now it only consists of a Name and ACL definitions, see User Resource.
Database schema update from version 2171 to 2192
Deprecated and Removed Features
Bareos WebUI: Functionality of pre-selecting a backup client in the restore module has been removed
Bugs Fixed
Issue #385: Bareos daemon stop or restart hangs if bareos-tray-monitor is connected
Issue #975: .bvfs_lsdirs limit offset command parameters do not work properly (only fixed for PostgreSQL)
Issue #990: SD sometimes tries to load empty tape slot
Issue #1004: Very high cpu usage on Debian stretch
Issue #1030: Bscan does not work for migration and copy jobs
Issue #1034: Read-error on tape may be misinterpreted as end-of-tape
Issue #1045: Webui login problem
Issue #1049: Translation in German webUI
Issue #1056: NDMP restore on 16.2.5 and above does not fill NDMP environment correctly
Issue #1058: 18.2.6 build error because cmake does not build the correct dependencies
Issue #1059: Webui spams Apache error_log with bconsole messages
Issue #1064: Bconsole crashes after 5 minutes in restore operation due to forgotten watchdog
Issue #1072: Newer versions of Fedora use stricter code checking
Issue #1073: Pthread_detach for FreeBSD (PR169)
Issue #1091: NDMP to NDMP Copy Job Fails
Issue #1095: Bareos WebUI: When login as a user without the permission to the “.api” command, the webui shows a wrong and ugly error message
Issue #1100: Bconsole crashes when pam authentication aborts
Issue #1112: After mount/unmount of tape “status slots” shows empty list
Issue #1123: Director can crash during TwoWay Authentication
Issue #1149: Audit messages are not logged any more
Issue #1150: dbconfig schema update scripts broken since 18.2
Issue #1161: Tremendous MySQL load
Issue #1188: Integer out of range when using large amounts of files with Base Jobs
All daemons: Fix buffer overrun in PathAppend
Bareos Director: Add support for MySQL 8
Bareos Director: Fix nullptr cornercase in mtx-changer parser
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
Bareos WebUI: Fix Application Controller Plugin CommandACLPlugin
Updated Documentation
Bareos WebUI Command ACL Requirements: Command ACL Requirements
Bareos WebUI Access Control Configuration: Access Control Configuration
Bareos WebUI Restore: Restore
Developer Guide: Command usage in modules and the according ACL requirements
Documentation: Add message diagrams for backup, restore and verify
Documentation: Correct configuration expamles and rewrite several feature introductions
Documentation: Improve documentation of postgresql database schema and add diagrams
Internal Project Changes
All daemons: Smartalloc has been removed from the sourcecode
All daemons: Removed many compiler warnings
All daemons: Refactored scheduler, threadlist, configuration parser and recently used job-list code to be more robust and testable
Documentation: Merge new documentation-source structure for Sphinx-build
Removed PHP Warnings and Notices, JS and CSS errors
Bareos-18.2
Bareos-18.2.9
General Information
Release Date |
09 July 2020 |
Database Version |
2171 |
URL |
|
Release Ticket |
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
Release Date |
09 April 2020 |
Database Version |
2171 |
URL |
|
Release Ticket |
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
Release Date |
12 December 2019 |
Database Version |
2171 |
URL |
|
Release Ticket |
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
Release Date |
13 February 2019 |
Database Version |
2171 |
URL |
|
Release Ticket |
n/a |
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
Release Date |
31 January 2019 |
Database Version |
2171 |
URL |
|
Release Ticket |
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.
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
Updated VMware plugin documentation: VMware Plugin
How to configure transport encryption in Bareos Webui: Bareos Webui
Detailed connections overview here: Network Connections Overview
How to use PAM with Bareos Director: Pluggable Authentication Modules (PAM)
Backward compatibility of Bareos File Daemon: Compatibility with Bareos File Daemon
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 |
|
Url |
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 |
|
Url |
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 |
|
Url |
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 |
|
Url |
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 |
|
Url |
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 |
|
Url |
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 |
|
Url |
|
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 |
|
Url |
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 |
|
Url |
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 |
|
Url |
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 |
|
Url |
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 |
|
Url |
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 |
|
Url |
|
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)
andStorage (Sd)
resources after the systems hostname ($HOSTNAME-dir
resp.$HOSTNAME-sd
) but usebareos-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 toLinuxAll (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-traymonitorCONFIGDIR/tray-monitor.d/client/FileDaemon-local.conf
: bareos-filedaemonCONFIGDIR/tray-monitor.d/storage/StorageDaemon-local.conf
: bareos-storageCONFIGDIR/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.2webui (Dir->Profile)
did useCommand 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 newwebui-admin (Dir->Profile)
.
Bareos WebUI
Updating from Bareos 15.2: Adapt
webui (Dir->Profile)
(from bareos 15.2) to allow all commands ofwebui-admin (Dir->Profile)
(Command ACL (Dir->Console)
). Alternately modify allConsole (Dir)
s currently usingwebui (Dir->Profile)
to usewebui-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 |
|
Url |
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 |
|
Url |
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 |
|
Url |
|
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):
The default setting for the Bacula Compatbile mode in
Compatible (Fd->Client)
andCompatible (Sd->Storage)
have been changed from yes to no.The configuration syntax for Storage Daemon Cloud Backends Ceph and GlusterFS have changed. Before bareos-15.2, options have been configured as part of the
Archive Device (Sd->Device)
directive, while now the Archive Device contains only information text and options are defined via theDevice Options (Sd->Device)
directive. See examples inDevice Options (Sd->Device)
.
bareos-15.2.1 (unstable)
Code Release |
2015-09-16 |
Database Version |
2004 |
Database update required, see the Updating Bareos section. |
|
Release Ticket |
|
Url |
Beta release.
The default setting for the Bacula Compatbile mode in
Compatible (Fd->Client)
andCompatible (Sd->Storage)
have been changed from yes to no.The configuration syntax for Storage Daemon Cloud Backends Ceph and GlusterFS have changed. Before bareos-15.2, options have been configured as part of the
Archive Device (Sd->Device)
directive, while now the Archive Device contains only information text and options are defined via theDevice Options (Sd->Device)
directive. See examples inDevice Options (Sd->Device)
.
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 |
|
Url |
This release contains several bugfixes. Excerpt:
bareos-dir
- Fixes pretty printing of Fileset options blockIssue #591: config pretty-printer does not print filesets correctly
- run command: fixes changing the pool when changing the backup level in interactive modeIssue #633: Interactive run doesn’t update pool on level change
- Ignore the Fileset option DriveType on non Windows systemsIssue #644: Setting DriveType causes empty backups on Linux
- Suppress already queued jobs for disabled schedulesIssue #659: Suppress already queued jobs for disabled schedules
NDMP
- Fixes cancel of NDMP jobsIssue #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 supportIssue #575: charset problem in symlinks/junctions windows restoreIssue #615: symlinks/junctions wrong target path on restore (wide chars)
- Fixes quoting for bmail.exe in bareos-dir.confIssue #581: Installer is setting up a wrong path to bmail.exe without quotes / bmail not called
- Fix crash on restore of sparse filesIssue #640: File daemon crashed after restoring sparse file on windows
win32 mssql plugin
- Allow connecting to non default instanceIssue #383: mssqldvi problem with connection to mssql not default instance
- Fix backup/restore of incremental backupsIssue #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 |
|
Url |
This release contains several bugfixes.
bareos-14.2.5
Code Release |
2015-06-01 |
Database Version |
2003 (unchanged) |
Release Ticket |
|
Url |
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 |
|
Url |
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 |
|
Url |
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 |
|
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 |
Beta release.
Bareos-13.2
bareos-13.2.5
Code Release |
2015-12-03 |
Database Version |
2002 (unchanged) |
Url |
This release contains several bugfixes.
bareos-13.2.4
Code Release |
2014-11-05 |
Database Version |
2002 (unchanged) |
Url |
bareos-13.2.3
Code Release |
2014-03-11 |
Database Version |
2002 |
Database update required, see the Updating Bareos section. |
|
Url |
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 |
|
Bareos-12.4
bareos-12.4.8
Code Release |
2015-11-18 |
Database Version |
2001 (unchanged) |
Url |
This release contains several bugfixes.
bareos-12.4.6
Code Release |
2013-11-19 |
Database Version |
2001 (unchanged) |
Url |
|
bareos-12.4.5
Code Release |
2013-09-10 |
Database Version |
2001 (unchanged) |
Url |
bareos-12.4.4
Code Release |
2013-06-17 |
Database Version |
2001 (unchanged) |
Url |
|
bareos-12.4.3
Code Release |
2013-04-15 |
Database Version |
2001 (unchanged) |
Url |
|
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.