We are pleased to announce the release of Bacula version 13.0.2 to both the Bacula website (www.bacula.org) and to SourceForge. Thank you for using Bacula.

Release Notes for Bacula 13.0

This is a major release with many new features and a number of changes. Please
take care to test this code carefully before putting it into
production. Although the new features have been tested, they have not run in a
production environment.

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

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

New Catalog format in version 13.0.0 and greater
This release of Bacula uses a new catalog format. We provide a set of scripts
that permit conversion from 9.x and earlier versions to the new 13.0 format
(1024). Normally the conversion/upgrade is automatic, though there is a big
change from 9.x to 11.0 that takes longer than usual, the upgrade process will
require about twice the disk space of the actual database.

The database upgrade introduced in 11.0 should significantly increase
performance when inserting a large number of Jobs with a lot of Files into the
database catalog.

If you start from scratch, you don't need to run the update_bacula_tables
script because the create_bacula_tables script automatically creates the new
table format. However, if you are using a version of Bacula older than 5.0.0
(e.g. 3.0.3) then you need to run the update_bacula_tables and the
grant_bacula_privileges scripts that will be found in the /src/cats
directory after you run the ./configure command.

As mentioned above, before running this script, please backup your catalog
database, be sure to shutdown Bacula and be aware that running the script can
take some time depending on your database size.

----------------------------------------------------------------
Release 13.0.2 / 16 February 2023
----------------------------------------------------------------

13.0.2 is a minor bug fix release.

- Fix #9535 avoid "Will not descend from / to /good_dir"
- Fix #9568 About "cancel inactive" command Storage Daemon selection
- Fix #9614 Re-create Jobs with bscan only if the bootstrap is matching
- Fix #9686 Grant PROCESS privilege to bacula user to allow catalog backup
- Fix #9876 Update information printed during file restore error
- Fix #9882 About tapealert script issue on rhel8
- Fix Cython detection on python >= 3.8
- Fix bconsole command issue after a first error
- Fix errors in update_bacula_tables
- Fix org#2577 Remove -f option from MySQL update scripts to detect errors properly
- Fix org#2628 About improving the update_bacula_tables script on up to date catalogs
- Fix org#2665 About memory leak on FreeBSD with extended attributes
- Fix org#2666 About fixing getaddrinfo check in ./configure

- baculum: Add afterjobid parameter to job list endpoint
- baculum: Add jobids parameter to objects endpoint
- baculum: Add plugin column
- baculum: Add age parameter to jobs and objects endpoints
- baculum: Add capability to restore using plugin
- baculum: Add dedupengine output type to status storage
- baculum: Add documentation for component actions
- baculum: Add documentation to new job sort parameters
- baculum: Add documentation to new jobids parameter in job list endpoint
- baculum: Add event list and single event record endpoints
- baculum: Add group_limit, order_by and order_direction parameters to objects endpoint
- baculum: Add groupby parameter to object list endpoint
- baculum: Add job sum statistics endpoint
- baculum: Add jobids parameter to Bvfs update endpoint
- baculum: Add missing objectid parameter to API documentation
- baculum: Add multiple jobids filter to jobs endpoint
- baculum: Add new fileindex property to objects
- baculum: Add new filters to object category sum endpoint
- baculum: Add new job, fileset and media properties support
- baculum: Add object category stats endpoint
- baculum: Add object category status endpoint
- baculum: Add object size statistics endpoint
- baculum: Add object versions endpoint
- baculum: Add offset parameter to event and pool list endpoint
- baculum: Add offset parameter to jobs, objects and volumes endpoints
- baculum: Add offset parameter to messages endpoint
- baculum: Add offset parameter to storage and client list endpoint
- baculum: Add option to enable/disable audit log
- baculum: Add patch for offset parameter support in SQL queries
- baculum: Add query command support, object endpoint and m365 user list endpoint
- baculum: Add restore plugin option fields endpoint
- baculum: Add restore plugin options endpoint
- baculum: Add search Bacula items endpoint
- baculum: Add single object record endpoint
- baculum: Add sources endpoint
- baculum: Add time range parameters to jobs endpoint
- baculum: Add time range parameters to objects endpoint
- baculum: Add to jobs endpoint parameters to sort property and sort order
- baculum: Fix OFFSET parameter in PHP framework
- baculum: Fix sources endpoint double results
- baculum: Fix time range filter for job and object endpoints
- baculum: Fix using multiple job statuses in list jobs jobstatus filter
- baculum: Fix using operators for SQL queries

- cloud: Fix #8351 Catalog part number correction notification goes debug
- cloud: Fix #9508 transfer remove dcr use for JobId
- cloud: Fix #9606 Rearange POOLMEM usage in cb functions

- k8s: Add support for Python3.10

- win32: Fix org#2667 enable sockaddress_storage for windows
- win32: Switch to openssl 1.1.1t

Bugs fixed/closed since last release:
8351 9508 9535 9568 9606 9614 9686 9876 9882

Release 13.0.1 / 05 August 2022

13.0.1 is a minor bug fix release.

- Fix org#2594 About compilation warning on VolRead/WriteTime
- Fix org#2644 Add support for binary files to bacula md5sum
- Fix org#2655 About incorrect definition of MAX_FOPTS
- Fix org#2656 About incorrect error message on TLS CA Certificate
- Fix org#2657 About startup problem for bacula-sd

- baculum: Adapt code to use PSR-4 autoloader
- baculum: Fix #2653 PHP warning about wrong array_key_exists() parameter in session record
- baculum: Improve logging and add audit log

- osx: Fix #9309 about extended attribute backup error on macOS
- Rework MacOS package

- rpms: Add kubernetes spec file
- rpms: Add spec file for k8s tools
- rpms: Fix cloud package
- rpms: more work on docker and docker tools
- win32: update openssl to 1.1.1q

Bugs fixed/closed since last release:
2653 9309

Release 13.0.0 04 July 2022

13.0.0 is a major release.

New Features:
-------------
- Job 'Storage Group' support
- Kubernetes plugin
- New Accurate option to save only file's ACL and metadata
- Windows CSV (Cluster Shared Volumes) support
- More logging for daemon<->daemon connections in Job log output
- Tag support on catalog objects
- Support for SHA256 and SHA512 signatures in FileSet
- External LDAP Console authentication

Misc Features:
- Windows installer 'Silent Mode' options
- Add PriorJob to bconsole 'llist job' output
- Check for IP SANs when verifying TLS certs
- Clarify SD vbackup Device error message
- Remove deprecated sbrk in MacOS and Windows
- Add bconsole .jlist command to get JSON output from regular list commands
- Ensure that the Director will reject catalog updates from the FD
- Add variable for PreviousJobId in mail messages
- Respect the 'nodump' flag in more OSes than just BSD
- Add debug/trace/tags information to .status header
- Handle lin_tape end of device with the new 'Use Lintape=yes' Device directive
- Add MaximumJobErrorCount FileDaemon directive
- bsmtp: Add the possibility to add emails separated with a comma as recipient list
- SDPacketCheck FileDaemon used to control the network flow
- Add bconsole .bvfs_lsfiles allfiles command

Main Fixes:
- Fix org#2188 About the presence of FileSet and Pool directives in the Job
- Fix Director crash for Client Initiated Backup
- Fix Director crash for Migration Job
- Fix incorrect output for the .status client command
- Skip XATTR larger than MaximumNetworkBuffer
- Fix deadlock when starting the Director with an improperly configured catalog
- Fix Director crash caused by BAT
- Fix org#2627 About Director crashing for Copy Jobs and resource rename
- Move the delete volume event just before the actual deletion
- Fix mail variables not working after a conf reload
- Fix OpenBSD chio-changer script
- Fix SQL query generated with ACLs
- Fix heartbeat segfault when the Job is terminated very quickly
- Fix About wrong backup Client displayed to the user when the original Client doesn't exist
- Fix org#2605 About incorrect message in restore command
- cdp: open the inotify stream using the CLOEXEC (close on exec) flag
- docker: Check the presence of the docker tools during loadPlugins()
- Fix reload issue when a Job doesn't have a Pool defined
- Fix Copy Job with SelectionType=PoolUncopiedJobs selecting Jobs from wrong Pool
- Fix about checking for Storage being used for Job restart/resume
- Fix about incorrect variable substitution with the query command
- Fix org#2579 About incorrect JSON generated from empty Messages resource
- Fix #9116: copy job missuses the client->FdStorageAddress directive
- Fix org#2658 About segfault with bsdjson with incorrect parameters
- Skip storage daemon detection if the information is not available in the BSR
- alist: Fix for memory overflow access
- Fix org#2659 Install dbcheck and bsmtp in 755
- Fix org#2662 About SQLite migration script issue
- snapshot: Adapt for BTRFS 5.17
- snapshot: Fix snapshot delete/prune command
- snapshot: Fix #9143 About snapshot not properly stored in the catalog
- snapshot: Add support for new LVM 2.03.15
- win32: Update to OpenSSL 1.1.1q
- rpms: Fix org#2633 about log directory not created on Centos7

GUI:
- baculum: Fix clearing OAuth2 properties after testing API connection on security page
- baculum: Fix directing to default page after log in for users with non-admin roles
- baculum: Fix #2667 keep original fileset options order
- baculum: Add to install wizard pre-defined b*json tool paths for FreeBSD and older Debian/Ubuntu
- baculum: Fix #2661 required parameter PHP error on PHP 8.0
- baculum: Fix error calling method_exists() with non-objects on PHP 8
- baculum: Fix clearing OAuth2 properties after testing API connection on security page
- baculum: Fix directing to default page after log in for users with non-admin roles
- baculum: Add to install wizard pre-defined b*json tool paths for FreeBSD and older Debian/Ubuntu
- baculum: Fix #2661 required parameter PHP error on PHP 8.0
- baculum: Fix error calling method_exists() with non-objects on PHP 8