Release Notes for Bacula Enterprise 12.2

The Director (Dir) and all Storage Daemons (SDs) must all be upgraded to version 12.2 because they are not compatible with prior versions.

Catalog format in version 12.0 and greater:

The previous major release 12.0 of Bacula uses a new catalog format. We provide a set of scripts that convert 6.6.x and earlier catalog versions to the new 12.0 format (1021). Please see the white paper “Migration-to-12.2” for detailed instructions on the migration process.

The database upgrade from 1020 to 1021 is fast and simple for most users.

The Bacula Enterprise RPM spec files have been modified to detect the database change and do the upgrade for you (from 8.10, 10.0, 10.2). We strongly recommend that you save a copy of your existing database before upgrading using RPMs. If you want to have more control over the catalog upgrade step when upgrading using RPMs, you may want to contact the Bacula Systems support team to get the update_bacula_tables script from the updatedb package and run it before the RPM installation step.

If you upgrade BWeb Management Suite from 8.x and you use the MySQL catalog, you must update the BWeb SQL tables with the script upgrade-8.8_10.2_mysql.sql.

If you are starting from scratch, you don’t need to run the update_bacula_tables script because the create_bacula_tables script automatically creates the tables using the new format.

Misc notes:

The major release 12.2 of BCloud Service uses a new catalog format. We provide a SQL script that converts 12.0.x and earlier catalog versions (2) to the new 12.2 format (3). More information can be found in the Migration-to-12.2 whitepaper or in the BCloud Service user’s guide.

Restricted Console users must modify their existing Console resources to specify DirectoryACL=*all* and UserIdACL=*all* in order to continue to use the restore command. If these two directives are not set, the restore command will return an error.

On Suse Linux, the Director and the Storage Daemons are now started with the unix account “bacula”. To upgrade a Suse system to Bacula Enterprise 8.8 or later, the ownership of the Bacula volumes and the configuration files must be changed to “bacula:bacula” and the PostgreSQL/MySQL configuration may have to be adapted. More information can be found in the Migration-to-12.2 whitepaper available in your download area.

Redhat 5, SLES 10, SLES 11, SLES 11.1, SLES 11.2 are no longer supported in version 12.0. Old filedaemons are still compatible and can be used to protect these systems.

If you are upgrading from 12.0, please read the ReleaseNotes from the last 12.0 version.

Known Issues and Workarounds:

  • #1723 The hardlinks=yes FileSet option is not compatible with VirtualFull jobs.

    This incompatibility might lead to problems during a restore. The error message displayed during a restore job is:

    Error: create_file.c:327 Could not hard link /path: ERR=No such file or directory

    To restore the file correctly, it is required to select the first occurrence of the hardlink file in the backup manually. The procedure to distinguish hardlinks in the catalog is available from the Bacula Systems support team.

  • #4957 VirtualFull, Copy/Migration jobs based on Incomplete jobs potential issue.

    Under some circumstances a Copy/Migration/VirtualFull job may not be able to copy the data from a Job that was interrupted and restarted using the Incomplete Job feature. In version 10.2.3 and above, the Copy/Migration/VirtualFull job is aborted with the following error message:

    Fatal error: catreq.c:691 SHA1 digest not same FileIndex=344 as attributes FI=343 or Fatal error: catreq.c:691 MD5 digest not same FileIndex=344 as attributes FI=343

    It is recommended to re-execute the Job that was interupted then restarted to be able to copy/migrate the data. We do not recommend to include an Incomplete Job into a Progressive Virtual Full chain of jobs.

    The automatic rescheduling of Incomplete Jobs can be disabled to avoid restarted Incomplete jobs to finish successfully and be selected to be copied/migrated/consolidated in Virtual Full using the “RescheduleIncompleteJobs=no” Job directive.

    Please contact the Bacula Systems Customer Success team for more information.

Release 12.2.5 14 July 2020

12.2.5 is a major bug fix release.

NOTE: All 12.2.x vSphere Single Item Restore users must upgrade to this version.

  • Fix #6472 Create resource “globals” when loading a new resource, not at first use

  • Fix bdirjson Autochanger display

  • Fix #6366 About an issue with verify job level=DiskToCatalog

  • Add optimized version of the hardlink detection in BVFS

  • Fix #6341 About improving BVFS support for hardlinks

  • Fix #6116 About restart/resume command using original fileset/client resource to restart jobs

  • Fix #2472 Improve scanning data/time

  • Fix #2453 Remove unused -t option in dbcheck.c

  • Fix #6280 About issue with AllowDuplicate on Copy/Migration jobs

  • Fix #6359 About btraceback script issue during Bacula initialization

  • Fix #6454 About bconsole complaining when dynamic configuration generates messages in STDERR

  • Make ABORT mention segfault to clarify non-bug #2528

  • Make reading a short block a warning rather than error

  • cloud: Fix org#2542 About potential thread concurrency issues

  • cloud: Always handle S3 driver in the device initialization

  • cloud: Fix #6457 About segfault in Glacier restore due to s3ctx initialization in s3_cloud_glacier

  • sir: Fix segfault in bextract

  • sir: Add mount-vm -x option to generate BMP disk information at runtime

  • vsphere: Fix the use of the bmp file during Full backup

  • vsphere: Fix #6009 Manage disks with capacity not rounded to VIXDISK_SECTOR_SIZE

  • vsphere: Fix #6086 about incorrect backup when CBT is not available on vSphere 6.0

  • vsphere: Fix Single Item Restore issue with incorrect BMP dump information

  • vsphere: Disable QueryChangedDiskAreas for Full jobs with vSphere 6.x

  • kubernetes: Fix for #6304: ‘NoneType’ is not iterable

  • kubernetes: Fix invalid import

  • kubernetes: Fix #5983 Allow wildcards in the ‘persistentvolume’ option

  • kubernetes: Add missing ‘listing=’ to plugin parameters for listing

  • kubernetes: Fix #5667 Add message for unknown parameter

  • kubernetes: Optimize imports and fix invalid k8s reference

  • kubernetes: Fix #6580 About unsupported parameter handler for fdport

  • win32: Fix org#2547 About possible NULL pointer dereference in get_memory_info

  • bweb: Fix #6480 directing to running job page after starting restore

  • bweb: Fix #6434 working view button in the Running Jobs box

  • bweb: Fix #6425 saving messages resource with enabled file destination

  • bweb: Fix #6426 saving Messages resource

  • bweb: Fix #6342 showing jobs older than 6 months in the job history table

  • bweb: Fix #6259 add missing types support to restore plugin options in restore wizard

  • bweb: Fix #6292 total bytes stored value on dashboard when using aligned volume

  • bweb: Fix #6286 return test value in configuration tests if MySQL catalog is used

  • bweb: Fix #6230 mark job as canceled button on missing jobs page

  • rpms: Add support for SLES15 SP2

  • rpms: Add support for SLES12 SP5

  • rpms: Fix #6320 About adding noreplace flag to the query.conf file

  • rpms: Allow Expect module and sudo with SELinux for BWeb

  • delta: Fix #4505 About issue with the signature directory creation

  • docker: Fix #6402 About docker_host option not overwriten in a restore

  • ndmp: Fix #6260 Send SESS DATA: bytes xKB message to debug

Bugs fixed/closed since last release: 2453 2472 2528 2534 2547 4505 6116 6230 6259 6260 6286 6292 6341 6342 6009 6086 6320 6402 6457 6472 6480 6280 org#2542 6359 6454 6580

Release 12.2.4 07 May 2020

12.2.4 is a minor bug fix release.

  • Add bee_installation_manager script to provide a quick, automated installation path

  • Fix #6085 About voltype setting when tape volume is labeled

  • Fix #6109 About incorrect delta sequence after bscan

  • Fix buffer overflow in verify code reported by Pasi Saarinen

  • cloud: Fix #5989 about restore/verify issue with empty parts

  • dedup: Fix #6113 SD crashes while running dedup vacuum (double lock)

  • bweb/rest/bcloud: Update jquery to 3.5.0

  • bweb: Add to console wizard an option to push new console config to remote host

  • bweb: Fix #6062 Allow changes made in security center to be autocommitted

  • bweb: Fix #6087 Split configuration files if DedupDirectory directive is defined

  • bweb: Fix #6103 Storage overview status if there are jobs running

  • bweb: Fix #6110 Workset cannot be removed error in scan_datacenter.pl output

  • bweb: Fix #6146 Statistics box not being refreshed

  • bweb: Fix #6147 Add missing petabyte and exabyte unit support when displaying total bytes

  • bweb: Fix #6152 Storage combo box too short

  • bweb: Fix #6155 Broken page when using custom pages in page composer

  • bweb: Fix #6164 Directives not set if additional storage daemon or file daemon configuration is used

  • bweb: Fix #6208 Clearing session information in wizards

  • bweb: Fix #6215 Missing address value in push script

  • bweb: Fix setting client name in BWeb VMware Center’s create multiple virtual machine backup jobs wizard

  • bweb: Fix showing empty boxes on box list in page composer

  • bweb: Fix wrong custom user.css file path

  • bweb: In backup multiple virtual machines wizard make push config option inactive if vSphere configuration for client doesn’t exist or client isn’t selected

  • bweb: Request #6056 add plus icon to new client wizard on file daemon list page

  • docs: Add SyncOnClose to the newfeatures section

  • docs: Fix #6126 About incorrect documentation for Maximum Bandwidth directive

  • mysql: Fix #6166 About MySQL Percona restore in error

  • ndmp: Fix #6182 Print a clear error message when host parameter is missing on the command line

  • ndmp: Fix #6204 About incorrect Accurate mode support for NDMP dumps

  • rest: rest-api: Upgrade jQuery from version 3.4.1 to version 3.5.0

  • rpms: Adapt RPMs for SLES 15.1

  • rpms: Add SELinux rules for new VMware access

  • rpms: Add bee_installation_manager script to client/dir package

  • rpms: Fix #4661 About Crypt::x509 dependency in vSphere deps package

  • rpms: Fix #4661 About missing dependencies in VMware perl dependency package

  • rpms: Fix SELinux rule for BWeb

  • sap: Add support for TOOLOPTION pool/level

  • sap: Fix #5867 About incorrect NOTFOUND message with concurrent restore

  • vsphere: Display a warning when CBT cannot be used

  • vsphere: Fix #6035 Print full path when the VDDK fifo cannot be created

  • vsphere: Fix #6086 About incorrect backup when CBT is not available on vSphere 6.0

  • vsphere: Fix #6183 About restore issue with vmw:BootOrderSection OVF section and datastore info not available

  • vsphere: Try to fix incorrect CBT information automatically

Bugs fixed/closed since last release: 4661 5867 6035 6056 6062 6085 6086 6087 6103 6109 6110 6113 6126 6146 6147 6152 6155 6164 6166 6182 6183 6204 6208 6215 5989

Release 12.2.3 09 March 2020

12.2.3 is a minor bug fix release.

  • Fix #5917 about nextpool automatic completion issue in bconsole

  • Fix #5944 about incorrect bconsole history size

  • Fix #6012 About connection issue with the Community FD when SDCallsClient is used

  • Fix #6066 about TLS PSK issue with old client configured with TLS Keys

  • Fix json segfault on OpenBSD

  • Fix issues with client initiated backup and TLS certificates

  • Update Smarty from v3.1.30 to v3.1.34

  • Update jQuery from v1.12.4 to v3.4.1

  • bweb: Add FIPS enable state to status of client/storage

  • bweb: Add field to set token validity period for QR code/Registration wizard push config method

  • bweb: Fix #4884 sorting logs by logid in job log box

  • bweb: Fix #5900 show N/A in security center if certificate properties can not be read

  • bweb: Fix #5937 redundant quote characters in name filter field on media list page

  • bweb: Fix #5946 bconsole link status if %u value given in bconsole command

  • bweb: Fix #6029 unable to set Monitor directive in Storage resource

  • bweb: Fix problem with showing redundant items on custom dashboard select list

  • bweb: Implement cumulative Graphite graphs support and custom dashboard/pages feature

  • bweb: Request #5987 add duplicate control directives to admin job created on bconfig initialization

  • cloud: Fix #5992 remove timeout during part transfer

  • docs: Fix #5969 about delete client/snapshot documentation

  • docs: Fix #5991 Add note about Single Item Restore documentation for RHV

  • linuxbmr: bypass SELinux restricted access to /opt & xfs_info via mntpoint

  • mssql: Fix #5504 About Interrupted MSSQL job leaves session locked

  • rest-api: Fix #6045 create OAuth2 tables in configuration wizard

  • rest-api: Update jQuery from v3.3.1 to v3.4.1

  • rpms: Fix #5918 about missing SELinux rule for BWeb

  • rpms: Fix RHEL8 spec file for vsphere

  • vsphere: Fix #6009 Manage disks with capacity not rounded to VIXDISK_SECTOR_SIZE

  • vsphere: Update dom4j to 2.1.1

Bugs fixed/closed since last release: 4884 5504 5900 5917 5918 5937 5944 5946 5969 5987 5991 5992 6009 6012 6029 6045 6066

Release 12.2.2 29 January 2020

12.2.2 is a minor bug fix release.

  • Add specific checks when TLS PSK is not available in SSL library

  • Fix #5829 about OpenBSD compilation issue with TLS 1.3 code

  • Fix #5833 Modify ‘status schedule’ to display only jobs starting after the ‘time’ parameter if set

  • Fix #5834 Do not prompt for the job status when jobid is provided in the resume command

  • Fix #5840 Implement configurable history file size

  • Fix #5853 about the incorrect behavior of the “status schedule” limit parameter

  • Fix Client Initiated backup with TLS certificate connection

  • Fix bconsole with TLS Required and PSK

  • Fix issue with ‘status schedule’ command using .api 2

  • Fix segfault in free_tls_connection() after an authentication issue

  • Fix #5855 Do not promote copy jobs in error when the original job is pruned

  • Fix Client Initiated backup with TLS certificate connection

  • bweb: Add History File and History File Size directives support

  • bweb: Fix #4884 add to sort job log button tooltip that describes sort order method

  • bweb: Fix truncating workset log when console config is committed

  • bweb: Remove setup BMR console wizard

  • bweb: Request #5821 make job history page more printer friendly

  • bweb: Request #5823 add read bytes value to running job status

  • bweb: Request #5831 add button to copy job log to clipboard

  • bweb: Request #5831 add download job log button to job log box

  • docker: Fix #5858 for accurate backup error message

  • docker: Replace realloc_pm() for check_size()

  • docs: Document new console directives HistoryFile and HistoryFileSize

  • docs: Fix #5819 about directive spelling issue

  • docs: Fix #5864 about restart documentation

  • docs: document the resume command

  • k8s: Fix Kubernetes Plugin for accurate backup error message

  • ldap: Fix “plugin options” handling

  • proxmox: Fix #5808 Change include/exclude options

  • proxmox: Fix #5812 about estimate listing mode

  • proxmox: Fix for accurate backup error message

  • rhv: Fix “plugin options” handling

  • rhv: Fix #5662 about extra line feed in info/warning messages

  • rpms: Fix #5807 SLES detection

  • rpms: Fix #5841 Try to fix another SELinux issue with Redhat 8 (on bweb.pid file)

  • rpms: Fix #5899 include Bacula-rescue.sh in bacula-enterprise-postgresql/mysql packages

  • rpms: Fix Glacier package

  • rpms: Fix #5909 about permissions on updatedb scripts

  • swift: Fix Swift Plugin for plugin options handling

  • win32: upgrade OpenSSL to 1.0.2u

  • xenserver: Fix XenServer Plugin for accurate backup

Bugs fixed/closed since last release: 4884 5662 5807 5808 5812 5819 5821 5823 5829 5831 5833 5834 5840 5841 5853 5858 5864 5899

Release 12.2.1 19 December 2019

12.2.1 is a minor bug fix release.

  • LinuxBMR: 2.3.0 support for > 16 partitions and NVMe disk

  • android: improved redirection of FD Process output to trace file

  • android: prevented BSOCK deadlock when stopping the FD after a Client-Initiated Backup call

  • Fix #5660 about Runscript issue with RunsWhen=Always

  • Fix #5755 about segfault in bdirjson with very long strings to quote

  • Fix #5803 For remaining stats collector value decrement

  • Fix #5703 query_dde run only when current path is /opt/bacula/bin

  • isolate glacier function in a separated dso

  • update depkgs extrajs version

  • bcloud: Fix #5444 support defining custom fileset include, exclude and options in file set template file

  • bcloud: Fix #5602 setting underscore character in director name

  • bcloud: Fix listing jobs if job has no schedule defined

  • bcloud: Remove TLS PKI encryption support and use in this place TLS PSK encryption

  • bcloud: Request #5456 add capability showing joblog in backup and restore job history

  • bweb: Fix #5382 broken page if user clicks too fast on interface

  • bweb: Fix #5640 on check BWeb configuration page correct tests with using pg_config

  • bweb: Fix #5714 make cloud field required if cloud device type is selected on device add/edit page

  • bweb: Fix #5787 showing jobs on missing jobs page if job does not use level directive

  • bweb: Fix sending double dynamicaly loaded content requests when page is refreshed

  • bweb: Fix setting maxvolbytes value in update media box

  • bweb: update ExtraJS libraries

  • cloud: Fix #5782 Memory allocation issue and download return code

  • dedup: detect and report dedupengine startup failure

  • k8s: Add force delete pod when timeout waiting for connection

  • k8s: Add more debug messages to check #5711

  • k8s: Add timeout=NN plugin parameter overriding DEFAULTTIMEOUT

  • k8s: Backport io/log.py

  • k8s: Fix #5745 for improper attributes backup

  • k8s: Fix comm error during pvcdata backup

  • k8s: Fix display finish pvcdata backup on success backup only

  • k8s: Fix log location fallback

  • k8s: Fix missing sys import for compiled version

  • k8s: Fix socket timeout

  • k8s: Possible Fix #5706 Add a special handling for sa-tokens during restore

  • k8s: Possible fix for #5713

  • k8s: allow a minimum timeout=1

  • mysql: Fix #5641 Compressed stream is not supported with Mysql sd prepare

  • mysql: Fix #5645 prepare=fd working path forwarded into $working/mysql-fd

  • proxmox: Add support for new Proxmox 6.x

  • proxmox: Fix ‘vminfo’ may be used uninitialized

  • rest: Adapt REST API to new framework version

  • rest: Adapt current REST API unit tests to new test tool version

  • rest: Add framework JSMin dependency

  • rest: Add new REST API regress tests

  • rest: Fix JSON output format if HTTP basic authentication is used

  • rest: Fix framework file permissions

  • rest: Fix undefined error on API requests if PHP version is lower than 5.5.0

  • rest: Update PHPUnit test tool to version 8.4.3

  • rest: Upgrade PHP framework to version 4.0.1

  • sir: Fix #5774 use default workgroup BACULA in install-single-item-restore.sh to setup samba

  • vsphere: Add arealib module for VDDK 6.7

  • vsphere: Add arealib to vddk.c

  • vsphere: Add unittests for arealib and vddk

  • win32: Backup mount points content when OneFS=no

  • win32: Fix #5801 about incorrect File=/ behavior with subvolumes in backup and estimate jobs

  • win32: Handle Exclude{} options when computing the drive list with File=/

  • win32: Add subvolumes when File=X:/ and OneFS=no or when using alldrives plugin

Bugs fixed/closed since last release: 5382 5444 5456 5602 5640 5641 5645 5660 5703 5706 5711 5713 5714 5745 5755 5774 5782 5787 5801 5803

Release 12.2.0 15 November 2019

12.2.0 is a major release.

New Features:

  • FIPS-140 support

  • Cloud multi-tiered support (AWS Glacier)

  • Global Endpoint Deduplication NDMP NetApp Dump and TAR format support

Plugin:
  • Kubernetes with external volume support

  • Redhat Virtualization RHV Single Item Restore

  • Docker external volume support

  • DB2 Plugin

BWeb Features:
  • New Client Registration wizard

  • New Restricted Console wizard

Misc Features:
  • Enhanced Android support

  • Signed Windows packages

  • Volume Retention enhancements

More information and examples may be found in the “New Features” section of the main manual.