Product news

Duplicati canary 2.4.1.104: faster direct restores and restores from archive storage

Canary 2.4.1.104 makes restores without a local database up to 10 times faster and adds commands for restoring from S3 Glacier and the Azure archive tier. It also brings report templates, Windows App Control support and a long list of reliability fixes.

The new canary build, 2.4.1.104, is out. Most of this release is about restore: getting files back faster when you don't have a local database, getting them back at all when they sit in cold archive storage, and using less memory while doing it. Along the way there are report templates, support for Windows App Control, PostgreSQL 19, and fixes across more than a dozen storage providers.

As always, canary builds are meant for testing. Try it on a machine where you can afford surprises before it goes into a beta or stable release.

Direct restore is now up to 10 times faster

When the local database is gone, after a disk failure, on a new machine or during a disaster recovery drill, Duplicati can still restore directly from the destination. Until now it did that by rebuilding the database for the whole backup version before it restored anything, even if you only wanted one folder.

In 2.4.1.104, a direct restore builds only the part of the database that the selected files need. In a test with more than 2 million blocks, the restore ran 10 times faster. The gain is biggest in the most common recovery case: a few files from a large backup.

The new method is on by default, and if it fails it falls back to the previous one, so a restore never ends up worse off than before. It keeps the block list in memory. If you restore more than 1 TB on a machine with little memory, turn it off with --disable-fast-direct-restore or recreate the database first.

Restoring from S3 Glacier and the Azure archive tier

Archive storage classes are cheap to keep data in, but the files have to be brought back before anything can read them, and that can take hours. Until now that left you working out by hand which volumes a restore would touch.

Two new commands handle it:

  • list-restore-volumes shows the remote volumes a restore of the selected files will read, with their sizes. It works from the local database alone and does not contact the destination, so you can see what a restore will cost before you start it.

  • unfreeze asks the destination to bring back the archived volumes on that list. It returns once the request is made and ends with a warning while any volume is still unreadable, so a script can simply run it again until it succeeds, then start the restore.

unfreeze works with S3 through the AWS client (--s3-archive-restore-days, --s3-archive-restore-tier) and with Azure Blob (--azure-rehydrate-tier, --azure-rehydrate-priority). Together they make long-term archive storage a practical tier for retention copies, not just a place data goes and never comes back from.

Restores that use less memory

Restoring many files is now considerably lighter. Block volumes are read with a compact index of about 76 bytes per block instead of 520, and the temporary tables used during restore no longer hold target paths and other data they didn't need.

The server also hands memory back when an operation finishes, instead of keeping it until the next one. In one test, a server that held 413 MB after restoring 100,000 files now holds 43 MB. That matters most on NAS devices and small VMs, where Duplicati shares memory with everything else.

Report templates

Reports sent by email, HTTP, XMPP and Telegram can now use one of the bundled Handlebars templates, chosen with --send-mail-result-template (or the matching option for the other report types). If none of them fit, point the body option at your own template file with the .hbs extension.

The new UI also gathers all email report settings into a single dialog, with a Test button that sends a test email, so you find out the SMTP settings are wrong now, not the day a backup fails. HTTP reports can also send extra headers with --send-http-headers, for example an API key for your monitoring system.

Running with Windows App Control

Duplicati now ships a signed catalog for the bundled libraries that their authors don't sign, so it runs on Windows 11 machines with App Control enabled. The MSI registers the catalog automatically. For zip installations, use Duplicati.WindowsService.exe register-catalog (and unregister-catalog to remove it). For locked-down corporate and public-sector fleets, this removes a common blocker.

Changes to be aware of

A few changes alter existing behavior, so check them before you upgrade:

  • Stalled uploads now time out. An upload to S3, SSH or WebDAV that stops moving is cancelled by the read-write timeout instead of waiting forever. Once the last byte is read, the upload has 10 minutes to complete; change this with --upload-completion-timeout.

  • Report levels apply to every operation. --send-mail-level (and its equivalents) used to apply only to backups. It now applies to every operation you report on, so you may get fewer reports for those other operations.

  • Old database upgrade copies are cleaned up. Each schema upgrade kept a copy of the database, and those copies were never removed. Now an upgrade deletes earlier copies and keeps only its own, which can free a good amount of disk space.

  • Temp space is checked before a backup. Duplicati compares free space in the temporary folder with the volumes the backup may hold at once, and lowers the number of compressors and concurrent uploads to fit unless you set them yourself. If it still doesn't fit, you get a warning.

  • Certificate chains through intermediates are accepted. Valid certificates whose chain reached a trusted root only through an intermediate sent by the server were rejected. The default validation is now used when no certificate hash is set.

  • Windows app execution aliases are skipped. They can't be opened and produced a warning each.

Backup

  • PostgreSQL 19 is supported for backup and restore, and PostgreSQL sources now count toward the examined size in reports.

  • Windows sources where one volume lives in a virtual disk file on another volume no longer fail with a nested volume error; a VSS snapshot is made for each volume.

  • A file that could not be added could leave a database entry without blocks, which then stopped every later backup and repair with "Detected non-empty blocksets with no associated blocks!". These entries are no longer created, and repair cleans up existing ones.

  • Google Workspace backups now include documents shared in Chat, and files too large for the regular export are read through their export links.

  • Synchronizing to a secondary destination now works without a local database.

  • The LVM snapshot scripts now report failed commands correctly and no longer try to remove a snapshot that is still mounted.

  • The local database check has its own progress phase, so a slow check is no longer shown as "Verifying backend data".

Restore, recreate and repair

  • A backup can now be restored from one of its secondary destinations in the UI.

  • A recreate continues past volumes that can't be decrypted or have the wrong size or hash. They are reported, and files lost with a damaged block volume can be purged, instead of the whole recreate failing.

  • Restore, list and compare without a local database no longer fail or double-count versions when the destination has parity files.

  • Microsoft 365 restores of files over 4 MB work again.

  • Failed GPG decryption is now detected reliably, including with a translated GPG, and the error explains when GPG could not ask for a private key's passphrase.

  • The recovery tool no longer restores everything when the filter has only include rules.

  • Dry runs of set-version-label, read-lock-info and lock-refresh repairs no longer change the local database.

Storage providers

This release fixes issues across a long list of destinations, including S3 (better handling of leading slashes, storage class with the Minio client), SSH (each server address gets its own timeout), WebDAV (missing parent folders are created), rclone (support for encrypted configurations, and no more hung jobs when a call is stopped), Aliyun OSS, Storj, pCloud, Jottacloud, Backblaze B2, Filejump, Tahoe-LAFS and SMB.

Installers and user interface

  • The Windows MSI no longer fails with error 1939 when setting service recovery actions, which could leave nothing installed after an upgrade.

  • Zip updates of the Windows service close the tray icon first, so old files are no longer held open.

  • When deleting a backup, you can choose which of its remote destinations to delete.

  • Backup and restore flows share the same destination picker, the current file's progress is shown separately from uploads, and the home page, progress and toolbar work on narrow screens.

  • Accessibility improvements: log entries can be expanded with the keyboard, alerts have names for screen readers, and warnings and errors have better contrast.

The full list of changes is in the release notes on GitHub.

Thank you

A large share of this release comes from community contributions, thanks!

Try it

Download 2.4.1.104 from duplicati.com/download?channel=canary. If you run into problems, report them on the Duplicati forum or on GitHub. Feedback on canary builds is what makes the next stable release solid.

Get started for free

Pick your own backend and store encrypted backups of your files anywhere online or offline. For MacOS, Windows and Linux.

Pick your own backend and store encrypted backups of your files anywhere online or offline. For MacOS, Windows and Linux.

  • Example image