IMPORTANT NOTE: The restore command will now error and stop if any restored file contains an invalid page checksum, which leaves the cluster incomplete and unable to start, so the restore must be rerun. The expire command will now refuse to expire if the oldest retained backup would contain checksum errors, which also prevents archive from being expired in that repository. Set checksum-page-error=n to warn instead of erroring.

Add checksum-page-error option to error on invalid page checksums.

This option applies to the backup, restore, and expire commands. The backup command defaults to a warning for each file (as before) and now also reports the total number of checksum warnings at the end of the backup. The restore and expire commands default to an error. Previously the restore command did not report invalid page checksums at all.

Support for GCS Workload Identity Federation.

Set repo-gcs-key-type=web-id and set repo-gcs-key to an external account credential file, e.g. as generated by gcloud iam workload-identity-pools create-cred-config. The web identity token is exchanged for an access token without a service account key. The token file is reloaded on each exchange to pick up rotated tokens, e.g. Kubernetes projected service account tokens. Service account impersonation is not supported.

Prefetch multi-file/range reads from object stores.

Requests are queued ahead of the current read so requests proceed while reading, and small gaps between files are read over instead of starting a new request. Restore uses this to read bundled files and block incremental maps, and backup uses it to read block incremental maps from the prior backup. repo-storage-prefetch (default 3) sets how many requests are queued and repo-storage-read-over (default 64KiB) sets the largest gap that is read over.

Reduce keep-alive requests to remote processes.

A keep-alive was sent to every remote each time a job completed in archive-push and backup, even when the remotes had just been sent a request. A keep-alive is now sent only when no request has been sent to the remote for 30 seconds.

Retry Azure batch sub-requests missing from the response.

When Azure fails a batch delete it may return a single response for the entire batch. The sub-requests with no response were treated as complete, so only one file per batch was removed while the command reported success. Sub-requests with no response are now retried.

Reduce the manifest checks made when reconstructing backup.info.

The backup, expire, and annotate commands no longer check for a backup.manifest when the repository listing shows the backup path does not exist, or when a diff or incr backup belongs to a full backup set that is not in backup.info. Each check is a request so on an object store the check for a missing manifest is logged as a 404.

Use original size to determine if a file should be bundled.

The size of a block incremental file in the prior backup was used to decide whether to bundle it, so a file that had grown past repo-bundle-limit could still be stored in a bundle. The current size of the file is now used.

Add context to block map read errors during backup.

An error reading the block map of a prior backup now reports the file, repository path, offset, and map size. A read that returns fewer bytes than expected is reported as such instead of as a parse error.

Cast current_timestamp to text in the backup start label.

A user-defined implicit cast from timestamptz to text caused the backup to fail with operator is not unique: unknown || timestamp with time zone. The label text is unchanged.

Support building on illumos.

An OmniOS job has been added to CI. Solaris may also work but has not been tested.

Support OpenSSL 4.

Building against OpenSSL 4 failed because X509_get_subject_name() now returns a const name.

Fix clang builds.

On Linux, gcc installs libbacktrace.a where clang also looks for it but installs backtrace.h where only gcc can find it. A clang build found the library and then failed to compile. The library is now only used when its header is found. Return types that clang reports as narrowing conversions in debug builds are also fixed.

Migrate code generation from C to Python.

Code is generated during the build from the option, error, help, and declarations by a Python tool instead of a C tool that had to be built first. Building from a git checkout requires PyYAML instead of libyaml. The release tarball includes the generated code and requires neither.

General framework for new repository formats.

Derive the cipher key with SHA-256 for repository format 6.

Add archive key rotation for repository format 6.

Reuse large freed allocations from a memory context free list.

Remove the repo-put command and the cipher-pass option.

Replace deprecated OpenSSL APIs.

Fix out-of-bounds reads found by Fil-C.

Fix bugs in the JSON and pack readers found by fuzzing.

Refactor the backup and restore modules into included modules.

Remove unused parameters and struct members.

Check that block macros are closed by the macro that matches them.

Improve code generation for the help and interfaces.

Fix minor issues.

Store the file owner as an index rather than a pointer in the pack.

Increase the minimum meson version to 0.55.3.

Check the unity build object for unexpected exported symbols.

Add a line length linter and fix formatting issues.

Fix typos.

Modernize the website. Special thanks to Jan for the insightful (and hilarious) logo.

The website has a new design with light and dark themes and a layout that works on phones. Pages with a table of contents show it beside the text and mark the section being read. Commands and config files can be copied with a button, config files mark the lines each section changes, and release notes can be expanded to show more detail.

Document the release schedule.

Feature releases are scheduled for the third Monday of January, April, July, and October. Patch releases are scheduled for the third Monday of any other month as required. The release notes introduction also describes the major, minor, and patch parts of a release number.

Migrate the documentation tools from C and Perl to Python.

The documentation is built by doc/doc.py instead of a C tool run by doc/doc.pl, and building the documentation no longer requires Perl.

Generate DIST.md from XML and improve the generated markdown.

Check documentation links and option allow lists.

Improve the documentation build and deploy.

Improve the documentation build containers.

Merge coding standards into the contributing guide.

Migrate the test harness from C and Perl to Python.

Tests are run with test/test.py instead of test/test.pl. The test containers and CI runners no longer require Perl and the harness is covered by tests.

Add a Fil-C job to CI.

Fil-C is a memory-safe implementation of C that checks every pointer access. It found two out-of-bounds reads that gcc, clang, and Valgrind missed. A new workflow also builds and tests on the CI runner with gcc and clang, with and without the optional libraries.

Add fuzz testing for the JSON, Ini, and Pack readers.

The readers are fuzzed with libFuzzer, AddressSanitizer, and UndefinedBehaviorSanitizer in CI. Fuzzing found several bugs in how invalid input is read, e.g. deeply nested JSON arrays in an info file or an object store response could overflow the memory context stack.

Allow test user names that adduser on Debian rejects.

The test container is built with the same user name as the host user. Debian's adduser rejects names that contain a dot, e.g. first.last, so the container build failed on Debian-based images for these users.

Fix test builds with clang and without optional libraries.

Improve the Python test harness.

CI updates.

Check that every code and test module is defined and covered.

Improve unit and integration tests.