Repository navigation
Releases
v2.4.1.100_canary_2026-10-31
This release is a canary release intended to be used for testing.
Timeouts with remote sources and slow destinations
When a backup reads from a remote source, such as an SMB share or a cloud drive, that is faster than the destination, the reads are paused while a volume is uploaded. The timeout kept counting during these pauses and could fail the transfer although the remote service was responding. The timeout for almost all backends now only counts the time spent waiting for the remote service, not the time Duplicati itself is busy. The SMB backend got the same treatment directly, as it controls the flow itself.
A related problem made SMB and some other backends report incomplete data as a successful backup: when a stalled read hit the inactivity timeout, the timeout handler closed the stream, which took the error away. The error is now kept. SMB delete and rename also failed silently on an unexpected return code, which is now reported.
More timeout fixes:
- The Azure Blob backend set up its timeout stream but did not use it, so timeouts were ignored.
- The SMB client used the library default of 5 seconds when writing chunks to the destination. It now uses
--read-write-timeout, which defaults to 30 seconds. --list-timeoutwas not applied to SFTP and MinIO listings, thanks @JamBalaya56562.- Storj transfers that stopped moving were waited for forever. They now fail when no bytes have moved for
--read-write-timeout, thanks @JamBalaya56562. - A timeout in a synchronous operation did not return when the task was cancelled, which could leave tasks stuck.
- A cancellation by the caller was reported as a timeout, and a timeout could escape as a cancellation, thanks @JamBalaya56562.
Resuming remote source reads
A file read from a remote source is now wrapped in a resuming stream. If the connection is lost while reading, the stream reconnects and continues from where it stopped. The data up to that point is read again and hashed, to make sure the file did not change in the meantime. A backend interface for resuming with a range request was added, so backends that support it can resume without re-reading, but no backend implements it yet.
A remote source that dropped or truncated a file used to have the partial file stored as if it was complete. Truncated files are now rejected with a warning and not stored.
Source folders that cannot be read
A source folder that exists but cannot be listed, for example on a failed drive, only gave a warning. The backup then stored a version without any of its files, and the retention policy could remove the versions that still had them. The backup is now stopped, as for a missing source, unless --allow-missing-source is set, thanks @JamBalaya56562.
A backup that was stopped before it started processing files uploaded an empty version as the latest, and warned that the source was likely misconfigured. No version is created now, thanks @JamBalaya56562.
Placeholder files from a sync tool, such as OneDrive, Dropbox or Google Drive, and files moved to offline storage fail to read with a generic error. These errors are now recognized and reported with a message that points to --exclude-non-local-files.
Dry run no longer changes the database
A backup with --dry-run did not touch the remote data, but the compact step committed its decision to the local database. On the next real run, the recorded decision was carried out and files were deleted. The dry run no longer updates the database.
Database downgrade scripts stored in the database
Until now, downgrading a local database required the downgrade script shipped with the newer version, so the downgrade had to be done before uninstalling it. The upgrade and downgrade scripts are now stored in the databases themselves, in a new SchemaScript table. From this release on, the bundled duplicati-database-tool can downgrade a database written by a newer version by using the scripts stored in the database, even if the tool does not know that schema. Downgrades are still started manually. The schema version is not changed by this release.
The default for duplicati-database-tool downgrade is now the newest version the tool itself supports, so a downgrade from the next version needs no explicit version. Downgrading over several versions requires the target version to be given. The tool also no longer mistakes a local database with an index or view named Schedule for a server database, thanks @JamBalaya56562.
Restore fixes
- A block that could not be read from its volume stopped the whole restore. Only the files that use the block are now reported as failed, and the other files are restored, thanks @JamBalaya56562. When the database places a block in a volume that does not hold it, the error now names the block instead of failing with a null reference.
- A restore that could not restore some files exited with code 0. It now exits with code 3, as a backup that finished with errors does, thanks @JamBalaya56562.
- When a priority file, such as the disk layout of a disk image, fails, the error now says that the restore was stopped because of it and names the file, thanks @JamBalaya56562.
- With
--restore-symlink-metadata, the extended attributes and the read-only attribute of a symbolic link were applied to the file it points to, also when that file is outside the restore folder. The extended attributes are now set on the link itself, and the attributes are skipped for links, thanks @JamBalaya56562. - On Linux, restoring the creation time overwrote the last write time that had just been restored, thanks @JamBalaya56562.
- The legacy restore engine did not count restored symbolic links, so restoring only a link ended with a warning that nothing was restored, thanks @JamBalaya56562.
Repair and dlist files
Three problems with the names and times of dlist files were fixed, thanks @JamBalaya56562:
- A dlist upload that fails is retried under a name one second later. Backups, synthetic filelists and purges did not record the fileset time in the file, so after a recreate such a version was one second late. The time is now recorded in every dlist file.
- A retried dlist upload after a repair or purge left a placeholder version dated 1970-01-01 in the version list until the next backup, and restoring that version failed.
- Repairing a missing dlist file gave the replacement a name at least one second after the original, which could put it after a newer version. The file is now uploaded again under its own name, and the search for a free name stops after the configured number of tries.
Recovery tool
The recovery tool can now add encryption to a backup that was made without encryption, with the new --add-encryption option.
Recompressing to the same format uploaded the new file over the original name, and the following delete removed it, emptying the destination. Files that keep their name are now left in place, and --reencrypt warns when the files are not encrypted, thanks @JamBalaya56562.
Reporting
Thanks @JamBalaya56562 for a series of fixes to the report modules:
- Values put into report templates were used as a regex replacement string, so a file name or option value containing
$sequences corrupted the report body. The keys were also expanded in several passes over the already inserted values, so text such as%backup-name%inside a log line was expanded too, and a key with regex characters stopped the report. Values are now inserted literally and keys are expanded once. - A failing HTTP report, status report or XMPP target skipped the remaining targets. Each target is now tried on its own.
- A report that failed to send made the operation a warning, but the job log did not show why. The stored result now includes the warnings and errors logged after it was written.
- A failing
--run-script-beforescript or an option that failed validation stopped the operation before the report modules were set up, so no report was sent. - The command line printed "Backup completed successfully!" also when a script stopped the backup or it ended with errors.
- A compact that changed something was logged twice in the job log, and the database was vacuumed twice.
The Reason field of restore test reports is now passed on in reduced reporting mode.
Storage providers
- Google Workspace files were read fully into memory before being backed up, which used a lot of memory and failed for files above 2 GB. The data is now streamed in chunks, and the same approach is applied to Microsoft 365. The Google Workspace module also follows the standard timeout options, and chat attachments are stored with their content instead of their metadata.
- The progress bar during a Microsoft 365 or Google Workspace delta walk often jumped from 0 to 100%. The walk now reports its progress as it goes.
- Google answers both a missing permission and a rate limit with 403, and the error body that tells them apart was dropped. Google Drive and Google Cloud Storage now report Google's reason, and rate limits are retried with backoff, also for the chunks of a resumable upload, thanks @JamBalaya56562.
- A Google Drive upload that timed out on the client could still be completed by Drive, leaving a second copy that a delete did not remove. All copies of the name are now deleted, thanks @JamBalaya56562.
- The B2 retry logic now follows the B2 guidelines, and a bug that could truncate listings was fixed.
- SMB left file handles open on the server when a get, delete or rename failed, and a failed close replaced the listing error with "Not enough credits", thanks @JamBalaya56562.
- The SharePoint v2 backend required
--site-idand never looked the site up from the URL. The site is now found from the URL, and a--site-idthat names another site is reported as a conflict, thanks @JamBalaya56562.
Server and user interface
- A system status endpoint was added as a websocket subscription. It reports CPU and memory usage, the tran...
v2.4.1.0_stable_2026-10-29
About this release
This release builds on version 2.4.0.1 with a large number of bug fixes, and adds three new features: incremental (delta) backups of Microsoft 365 and Google Workspace, and restore tests that can run after backups and be switched on remotely from the console.
The local database format is updated by this release. See "Downgrading" below before going back to an earlier version.
Delta walk for Microsoft 365 and Google Workspace
Microsoft 365 and Google Workspace backups no longer need to list every item on every run. The providers now store a delta token with each backup and use the Microsoft Graph and Google change APIs, so later backups list only what was created, changed, moved or removed since the previous backup and carry the rest forward from it.
For Microsoft 365 this covers mail folders, SharePoint and group document libraries. For Google Workspace it covers Gmail, Drive, Calendar and Contacts. Delta tracking is enabled by default. The first backup, the first backup after the local database is recreated, and the backup after one that was stopped still list everything in full.
Delta tracking can be turned off per service with --office365-disable-mail-delta, --office365-disable-drive-delta, --google-disable-gmail-delta, --google-disable-drive-delta, --google-disable-calendar-delta and --google-disable-contacts-delta. If a document library reports more changes than --office365-drive-delta-max-items or --google-drive-delta-max-items, the library is listed in full instead.
A backup that combines a Microsoft 365 or Google Workspace source with the USN change journal or --changed-files is now refused with an error, as the two mechanisms cannot be combined.
Restore tests
A new restore test operation restores a sample of a backup from the remote destination into a temporary folder and verifies it, so the backup is regularly proven to be restorable. It is available as the restore-test command in the command line and in ServerUtil, and through the server API.
The sample is chosen with --restore-test-mode: a number of random files, a percentage of the backup size, every file, or a rolling mode that prefers files that have not been verified recently. The test can be limited with --restore-test-max-download-size and --restore-test-max-runtime, can rebuild a temporary database from the destination with --restore-test-recreate-database, and can compare the restored files with the source files with --restore-test-compare-source.
Set --perform-restore-test-after to run a restore test as the last step of a backup whenever the previous test is older than the given interval. When the machine is connected to the Duplicati console, the console can set this interval for its backups, so restore tests can be switched on remotely. A restore test after a backup does not change the result of the backup, but a failed test is reported with its own notification.
Improved support for Sync jobs
With this version, Sync jobs now store their logs so the logs can be viewed after the job has completed. Several places where the Sync job was showing options that were only relevant to restores are now updated.
Other new features
- Backup versions can be given a label with the
set-version-labelcommand. The labels are also stored on the destination, so a database recreate keeps them. - Point-in-time access to a destination: with
--remote-point-in-time, the S3 and Duplicati Storage destinations read the destination as it was at the given time, using bucket versioning. The destination is read-only in this mode. - Report modules can send reports for other operations than backups, chosen with
--send-http-operations,--send-mail-operations,--send-xmpp-operationsand--send-telegram-operations. Backup reports remain the default. - A restore on an existing backup can now carry additional advanced options.
- The new
--disable-secret-provideroption disables the default secret provider, the configured secret provider, or both.--disable-default-secret-providerstill works but is deprecated. The server now also reports which secret provider is active. - Duplicati Storage can be used as a secondary target, and supports object locking.
- Uploads to Google Cloud Storage now carry a CRC32 checksum.
- SMB servers that require SMB 3.1.1 can be used with
--enable-smb311. - Neon Object Storage has been added to the list of S3 providers.
Changed behavior
- A backup that asks for object locks on a bucket or container that does not have locking enabled now completes with a warning that no locks were applied, instead of failing. This applies to S3, B2, Azure, Google Cloud Storage and Duplicati Storage.
- Options in source and destination urls are now validated, so an option that no module supports is reported with a warning.
- The Microsoft 365 site classifications "Classic" and "Communication" have been removed, as they never matched any site.
- When a restore does not specify overwrite, restore permissions or skip metadata, the settings of the backup and the server defaults now apply instead of turning them off.
Downgrading
This release updates the local database from version 19 to version 22 and the sync database to version 1. Version 2.4.0.1 cannot open the newer databases. To go back to 2.4.0.1, downgrade the databases with the DatabaseTool downgrade command first. Its default target versions now match 2.4.0.1, so no version options are needed.
Fixes
Aborting a backup no longer waits for a stuck source listing, file open, size or metadata read, and a stop or abort that arrives before the operation is ready is kept.
Restores keep an appended file when restoring without --overwrite, do not read through a link when restoring a symbolic link to a file, keep the drive letter folder when restoring Windows paths in place, and stop when --restore-path has no value. A partial restore no longer warns about the folders it has to create. Repair keeps the time and order of the versions when it replaces missing dlist files, and a later database recreate keeps them too.
On Windows, a local folder destination whose url contains @ or carries options in its query string is now read correctly, and symbolic links created by WSL are backed up as links. Backups leave the write-ahead log files of their own database out.
The server and tray icon have fixes to notifications, task state, pause and resume events, preload settings, update checks, the login token cookie behind a reverse proxy, and the Agent. Control file restores are protected against path traversal, and the recovery tool and the Agent pre-shared key have been hardened.
Backend fixes include Jottacloud timeouts and parallel downloads, Storj uploads, WebDAV listings on Windows and Linux, the S3 list API version option, HashiCorp Vault JSON secrets, GnuPG on slow systems, and the User-Agent header sent by WebDAV, pCloud and the updater.
SQLite has been updated to 3.54.0, built for older Linux distributions, and StreamJsonRpc and MimeKit have been updated for security advisories.
Detailed list of changes:
- Delta walk for Microsoft 365
- Add delta-tracking for Google Workspace
- Add restore test command
- Added support for server-side restore tests
- Move restore-test API to v2
- Allow "Reason" in test restore reports
- Add labels to backup versions
- Added point-in-time-restore support
- Improve object lock support
- Support locking with Duplicati storage
- Support Duplicati Storage as secondary target
- Add support for choosing report operations
- Add support for advanced options in restore
- Let configured defaults apply when restore options are not specified
- Add secret-provider disable switches
- Added support for reporting the current secret provider
- Add CRC32 to uploads to GCS
- Fixed a bug in GCS resume handling, where a 308 response was treated as a failure
- Add an option to connect to SMB servers that require SMB 3.1.1
- Add Neon Object Storage to the S3 provider list
- Improve MS365 enumeration and warning noise
- Fix MS365 group classifications
- Better retry backoff for Google Workspace
- Fix incorrect permission check for Google Workspace
- Store BackendSourceProvider metadata
- Fix BackendSourceProvider listing
- Add logs to sync operation
- Reduced logging for multi-destination
- Stop waiting for a stuck source listing when the backup is aborted
- Stop waiting for a stuck source file open when the backup is aborted
- Stop waiting for a stuck size or metadata read when the backup is aborted
- Keep a stop or abort that comes before the operation is ready
- Wait a second before a backup that starts in the same second as the previous version
- Keep the messages of the file count pass out of the backup log
- Show the totals of the previous backup when the file scanner is disabled
- Do not show a negative number of files to go in the old UI
- Show 100% for an empty file in the old UI progress
- Leave the write-ahead log files of the backup's own database out of it
- Keep a source file that the USN journal reports as changed
- Read symlinks made by WSL as symlinks on Windows
- Read xattr values of followed symlinks from the target
- Read owner and permissions of followed symlinks from the target
- Fix corrupted target URL for local paths containing @
- Keep the query string of Windows file urls
- Keep an appended file when restoring without --overwrite
- Do not read through a link when restoring a symbolic link to a file
- Do not chmod the target when restoring symlink metadata
- Keep the drive letter folder when restoring Windows paths in place
- Stop a restore when --restore-path has no value
- Do not warn about the folders a partial restore has to make
- Report an empty file that cannot be created as not restored
- Release the files waiting for a priority file that is given up
- Skip restored file verification in a legacy dry run
- Drop the entries below a root the old UI restore...
v2.4.0.105_canary_2026-10-24
This release is a canary release intended to be used for testing.
Point-in-time restores from versioned storage
Storage that supports versioning keeps a new version of a file each time it is overwritten or deleted. The new --remote-point-in-time option makes Duplicati read the storage as it was at a given time, either relative such as --remote-point-in-time=2D4h or as an absolute time. While the option is set, the destination is read-only, and listing and downloading use the latest version available at that time.
This makes it possible to restore from a damaged or tampered versioned destination without first moving the old versions into a new bucket by hand.
Object lock handling was also improved. A destination that does not support object locks is now detected, so Duplicati no longer retries the lock for every file, and a lock failure caused by missing support is reported as a warning since the backup or repair itself completed.
Duplicati Storage improvements
Duplicati Storage now supports object locks, and it can be used as a secondary destination in a multi-destination backup.
Delta tracking for Microsoft 365 and Google Workspace
Backups of Microsoft 365 and Google Workspace now store the delta tokens returned by the services. Each following backup starts from the stored tokens and only lists the items that changed, instead of walking the full mailbox or drive. This can make repeated backups of large tenants much faster and reduces throttling, at the cost of some memory and a larger local database. The progress counter is not shown while a delta walk runs, as the total is not known.
Delta tracking is on by default and can be turned off per item type:
- Microsoft 365:
--office365-disable-mail-deltaand--office365-disable-drive-delta - Google Workspace:
--google-disable-gmail-delta,--google-disable-drive-delta,--google-disable-calendar-deltaand--google-disable-contacts-delta
If a drive reports more changes than --office365-drive-delta-max-items or --google-drive-delta-max-items (default 100000), the drive is walked in full instead.
Google Workspace now also treats a 403 caused by an exceeded quota, and similar quota messages, as a temporary failure and retries with backoff.
Local database update
The delta tokens are stored in the local backup database, which requires an update of the local database schema to version 22. The update adds a table for source provider state and is applied to all backup databases on first use, not only those for Microsoft 365 and Google Workspace. After the update, the local databases can no longer be opened by earlier versions of Duplicati.
If you need to downgrade, the bundled database tool (duplicati-database-tool) can downgrade the local databases back to version 21. Downgrading removes the stored delta tokens, so the next backup of Microsoft 365 or Google Workspace walks all items again, but otherwise causes no data loss.
Restore tests from the console
The console can now start restore tests on a connected machine, either on a schedule or on demand. The duplicati-server-util tool also has a new restore-test command.
Secret provider switches
The secret provider in use, and the default secret provider, are now reported in the system information. New options make it possible to disable the configured secret provider, the default secret provider, or both.
No more 32-bit Windows builds
The 32-bit Windows (x86) packages are no longer part of the regular releases. They can still be built from source.
SQLite update
SQLite is updated to 3.54.0. The custom build for ARMv7 has been removed, and the Linux requirement is once again GLIBC 2.28.
Files missing from backups
Three cases where files were left out of a backup without a warning were fixed, thanks @JamBalaya56562:
- When one source is inside another, the inner source was dropped if a folder on the way held an ignore marker such as
CACHEDIR.TAG, had excluded attributes, was marked as excluded by an extended attribute, or was a symbolic link that is not followed. The files below the inner source were then missing from the backup. - With
--usn-policy, a source that is a single file was checked against the folders above it up to the drive root. As the root is usually hidden and a system folder, the file was excluded from the second backup on when hidden or system files were excluded. - A WebDAV share mapped to a drive letter on Windows could not be used as a source, as the listing returned names with a trailing null character. The file picker failed, and a backup never finished.
Symbolic links made by WSL are also read as symbolic links on Windows, instead of failing with a warning on every run.
Symbolic links and permissions
With --symlink-policy=follow, the owner, permissions and extended attributes of a linked file were taken from the link, so with --restore-permissions a file came back with mode 0777 and its extended attributes were lost. These are now read from the target.
With --restore-symlink-metadata and --restore-permissions, restoring a symbolic link set the permissions on the file the link points to, making it world-writable. The permissions are now only set on entries that are not links.
Thanks @JamBalaya56562 for both fixes.
Restore fixes
More restore problems were fixed, thanks @JamBalaya56562:
- Restoring without
--overwritecut a file that had data appended since the backup back to the backed-up length, losing the appended data. The file is now kept, and the backed-up version is restored beside it. - Restoring a symbolic link to a file failed with errors when the target was missing, or when a link that points nowhere was already at the path.
- Relative symbolic link targets now have their separators mapped when restoring on another operating system.
- A Windows backup restored to the original location on Linux or macOS was put in a folder named
C:in the working folder. It is now restored below/C/as intended. --restore-pathwritten without=, such as--restore-path D:\target, made the restore go to the original location. It now stops with an error.- An empty file that cannot be created is now reported as not restored.
- A legacy dry run restore no longer reports errors for files it did not write, and reports the number of files it would restore.
- Unchecking a root folder in the old UI restore picker could leave files below it selected, and restored.
DatabaseTool cleanup
duplicati-database-tool cleanup reported the server database as orphaned, so cleanup --force deleted the live Duplicati-server.sqlite. It also deleted the copy of the server database that is made before a schema upgrade, and any .sqlite file from other applications in the data folder. Cleanup now only deletes orphaned local and sync databases, thanks @JamBalaya56562.
Stopping a backup
Continuing the work from the previous canaries, "Stop now" no longer waits for a stuck source listing. A stop or abort pressed while the task was still being set up, which often happened on the first run after the server started, was dropped and is now kept, thanks @JamBalaya56562.
Notifications
A backup that ended with a warning or error added a new notification without removing the one from its earlier run, so notifications could grow to thousands. Only the latest run's notification is now kept. "Dismiss all" now uses a single request instead of one per notification, and reading and dismissing a notification no longer loads all of them, thanks @JamBalaya56562.
Storage provider fixes
- WebDAV listings on Linux and macOS failed when the folder name had an escaped character such as
#or a space, a problem since 2.2.0.1, thanks @JamBalaya56562. - Jottacloud downloads and listings could hang forever when the server stopped sending. They now observe
--read-write-timeout, thanks @djdubd. --s3-list-api-versionhad no effect with the AWS client. The undocumented--list-api-versionoption still works but is now reported as deprecated, thanks @JamBalaya56562.- Neon Object Storage is added to the S3 provider list, thanks @rishi-raj-jain.
Other fixes
- Behind a reverse proxy that does not pass the Host header on, the browser rejected the refresh token cookie and the login looped. The cookie is now set for the host the browser asked for, thanks @JamBalaya56562.
- If the server was restarted while the machine was suspended, it stayed paused after the restart, thanks @JamBalaya56562.
AUTOUPDATER_Duplicati_SKIP_UPDATEnow stops all update checks, as the help text says, thanks @JamBalaya56562.- The
Templatereport output format now uses the bundled templates and fills in the values, thanks @JamBalaya56562. preload.jsonis now read by more tools, and DatabaseTool, SourceTool and SecretTool have their own sections. DatabaseTool and SourceTool used to read theserverutilsection, so settings meant for them there must be moved todatabasetoolorsourcetool, thanks @JamBalaya56562.
Security hardening
- A multi-destination backup that fails no longer logs the full destination configuration, which could contain secrets.
- The recovery tool now rejects file names from the storage that would write outside the target folder.
- The Agent pre-shared key is now compared in constant time.
- StreamJsonRpc, MimeKit and System.Security.Cryptography.Pkcs were updated to address published advisories, thanks @JamBalaya56562.
Detailed list of changes
- Added the
--remote-point-in-timeoption for restoring from versioned storage - Improved object lock handling for destinations without object lock support
- Added object lock support for Duplicati Storage
- Added support for Duplicati Storage as a secondary destination
- Added delta tracking for Microsoft 365 mail and drives
- Added delta tracking for Google Workspace Gmail, Drive, Calendar and Contacts
- Updated the local database schema to version 22 with a table for source p...
v2.4.0.104_canary_2026-10-11
This release is a canary release intended to be used for testing.
Hyper-V and MSSQL as source providers
Hyper-V virtual machines and MSSQL databases were previously added to a backup by replacing the %HYPERV% and %MSSQL% source paths with the real paths of the VM and database files. The backup then held those raw paths, and at restore time the user had to work out which files belong to which machine or database.
The two modules are now source providers that present the same files under a virtual folder per machine or database, with the machine or database name stored as metadata. The restore view can then group the files and show the names instead of GUIDs, and the UI source picker lists the same tree.
Building on this, a restore can now target the original location, where the destination is read from the metadata. A check before the restore starts reports files that are in use, such as a running virtual machine or an attached database. With the new --register-restored-items option, a restored Hyper-V machine is registered with Hyper-V after the restore. Both options are only available on Windows.
Advanced options when restoring
A restore started from the UI can now be given advanced options that are not part of the backup configuration, so settings can be adjusted for a single restore without changing the backup.
Links and junctions are restored correctly
Several problems with restoring symbolic links and directory junctions were fixed, thanks @JamBalaya56562:
- A directory junction is now recorded as a junction and restored as one on Windows, instead of as a directory symbolic link. Backups made before this release have no kind recorded and restore as before.
- Restoring a symbolic link no longer removes a folder with files in it, or a file without
--overwrite, that has taken the place of the link since the backup. The link is skipped with a warning instead. - A link to a folder is now made only after the files below it are restored, which removes a race that caused "Could not find a part of the path" warnings and lost timestamps.
- Folders that a partial restore has to make for the files it restores are no longer reported as warnings.
- Restoring multiple paths with no common root on Windows no longer fails with "index out of bounds", and restoring from a UNC path to a local path works again.
Windows snapshot cleanup
A snapshot that failed after its snapshot set was started left the set in progress. Every later snapshot then failed with VSS_E_SNAPSHOT_SET_IN_PROGRESS (0x80042316) until the process ended, and other VSS applications saw the same error. The snapshot manager is now disposed when setup fails, and a started set is aborted, thanks @stanleys12 and @JamBalaya56562.
Stopping a backup on a stuck source
Continuing the work from the previous canary, "Stop now" now also returns when a source file open, size read or metadata read is stuck, such as on a network share that stopped answering, thanks @JamBalaya56562.
GnuPG on large volumes
GPG only finishes a volume after reading all of it, which took more than the fixed five seconds on large volumes and busy disks, so the backup failed with "program won't flush output" and could crash the process afterwards. The encryption now waits for GPG to finish without a time limit and reports a failed copy to the caller, thanks @JamBalaya56562.
Storage provider fixes
- Azure Blob Storage uploads are now sent in blocks instead of a single request, so a volume that took longer than the network timeout to send no longer fails. The block size defaults to 10 MiB and can be lowered with
--azure-upload-block-sizefor slow connections, thanks @JamBalaya56562. - Google Cloud Storage uploads now include a CRC32 checksum, so a transfer error is less likely to leave a defective file in the bucket.
- Resumable uploads to Google services no longer fail when the server answers with a 308 status.
- Uploads to a Storj bucket with Object Lock no longer fail because of the default expiry time, thanks @JamBalaya56562.
- Parallel downloads from Jottacloud no longer end with "Stream position mismatch after download", thanks @JamBalaya56562.
- A new
--enable-smb311option connects to SMB servers that require SMB 3.1.1. It is off by default as the library marks it experimental, thanks @JamBalaya56562. - HashiCorp Vault secrets that arrive as JSON elements are now read, which fixes "The following keys were not found", thanks @JamBalaya56562.
Microsoft 365 enumeration
Enumerating mailboxes no longer requests the message body, which made listings large and slow. Emails are enumerated through the delta endpoint, which has stable pagination and avoids the repeated enumeration that caused long delays and duplicate-item warnings. Locked sites are skipped, OneNote and ToDo access is only warned about once, inherited permissions are no longer requested for items without explicit permissions, transient network errors are retried, and heavy throttling is handled with longer waits. A new --office365-exclude-system-libraries option excludes system libraries in sites and groups.
Remote access on NAS devices
On Synology and QNAP, Duplicati authentication is tied to the system login, so the relayed requests used by the console were rejected because Duplicati itself is not a NAS user. A local forwarding key, generated at startup, now lets Duplicati authenticate its own requests.
Backups from remote sources
Backups that read from a remote source such as SMB or S3 now return rooted paths in the listing, store metadata in the virtual root so the UI knows the data cannot be restored directly to the source, and work with USN change journals active.
Sync operation logs and database update
Sync operations now write their results into the sync database, so the outcome of each run is shown in the job log, as it is for backups. The log entries are purged by the --log-retention option.
This requires an update of the sync database schema to version 1, which adds the log table. The update is applied automatically on first use, and after it the sync database can no longer be opened by earlier versions of Duplicati. If you need to downgrade, the bundled database tool (duplicati-database-tool) can downgrade the sync database back to version 0. Downgrading removes the stored sync logs, but otherwise causes no data loss. Backup databases are not affected.
Detailed list of changes
- Changed Hyper-V and MSSQL to be source providers with a virtual folder per machine or database, thanks @JamBalaya56562
- Added support for restoring Hyper-V and MSSQL items to their original location
- Added the
--register-restored-itemsoption to register a restored Hyper-V machine - Added support for advanced options when starting a restore
- Added parent metadata to search results so intermediate paths can be shown with friendly names
- Fixed the listing of remote sources returning relative paths
- Added metadata to the virtual root of remote source backups
- Added support for remote sources when USN is active
- Fixed restoring a directory junction as a symbolic link, thanks @JamBalaya56562
- Fixed restoring a symbolic link removing the data that had taken its place, thanks @JamBalaya56562
- Fixed links to folders being made before the files below them were restored, thanks @JamBalaya56562
- Fixed warnings for the folders a partial restore has to make, thanks @JamBalaya56562
- Fixed restoring multiple paths with no common root failing with "index out of bounds" on Windows
- Fixed restoring from a UNC path to a local path
- Fixed a failed Windows snapshot leaving the snapshot set open, thanks @stanleys12
- Fixed a Windows snapshot set that fails to set up not being aborted, thanks @JamBalaya56562
- Fixed the snapshot manager dispose obscuring the actual failure message
- Fixed an aborted backup waiting forever for a stuck source file open, thanks @JamBalaya56562
- Fixed an aborted backup waiting forever for a stuck size or metadata read, thanks @JamBalaya56562
- Fixed GnuPG encryption failing with "program won't flush output" on large volumes, thanks @JamBalaya56562
- Fixed Azure Blob Storage uploads failing on volumes that take longer than the network timeout, thanks @JamBalaya56562
- Added the
--azure-upload-block-sizeoption - Added CRC32 checksums to Google Cloud Storage uploads
- Fixed resumable uploads to Google services failing on a 308 response
- Fixed uploads to Storj buckets with Object Lock, thanks @JamBalaya56562
- Fixed parallel downloads from Jottacloud failing with "Stream position mismatch after download", thanks @JamBalaya56562
- Added the
--enable-smb311option and updated SMBLibrary to 1.5.8.1, thanks @JamBalaya56562 - Fixed HashiCorp Vault secrets not being read when the values are JSON elements, thanks @JamBalaya56562
- Improved Microsoft 365 enumeration and reduced the warning noise
- Added the
--office365-exclude-system-librariesoption - Fixed remote access on Synology and QNAP when connected to the console
- Fixed an invalid retention policy being accepted when a backup is saved, thanks @JamBalaya56562
- Fixed a backup including the
-waland-shmfiles of its own database, thanks @JamBalaya56562 - Fixed the progress showing 0 files of -1 bytes with
--disable-file-scanner, thanks @JamBalaya56562 - Fixed the old UI showing a negative number of files to go and 0% for empty files, thanks @JamBalaya56562
- Fixed a finished task being reported as completed before its result was stored, thanks @JamBalaya56562
- Fixed a potential path traversal when restoring control files from an untrusted source, thanks @HaTaeHoon
- Fixed pause and resume events being handled out of order, which could leave the queue paused, thanks @JamBalaya56562
- Fixed the tray icon keeping an old server state after a reconnect, thanks @JamBalaya56562
- Fixed the preload settings debug output not being shown in the tray icon, and let 0 turn it off, thanks @JamBalaya565...
v2.4.0.1_stable_2026-10-07
About this release
This release patches version 2.4.0.0 with fixes for a number of issues that were discovered after the release.
The main focus of this release is stability, with many fixes to restore, abort handling and the new sync mode, along with security hardening of the server and remote control.
Usability fixes
The search feature would allow you to select files, but would send incorrect paths to the restore flow.
On Windows, this would result in no files selected in the search view being restored.
Security and Privacy
The login setup has been hardened against weak passwords, the remote control requests have been locked down and require per-message keys.
The remote control connection now works on NAS devices that use integrated authentication (Synology DSM).
Path redaction in logs and reports has been improved, and secrets in lists now have an additional layer of protection.
A new reduced reporting mode (--reduced-reporting) limits reports leaving the machine to log message ids, counters and dates, without message text, error messages or file names. The HTTP status report has a matching --http-report-status-reduced-reporting option. The setting can also be enforced from the console for users requiring it.
Restore and Abort Fixes
A restore now carries on with the next file when a single file fails, instead of stopping the whole restore. Several issues that could cause a restore to hang have been fixed, including releasing blocks for skipped files, releasing all restore processes when a volume cannot be produced, and releasing the restore stages on every exit path. A missing destination folder is now reported before the restore starts.
Aborting a backup or other operation no longer waits for a stuck source file read, a stuck backend call, or a block processor that has stopped. Aborting a repair while it reads the local database no longer discards the database.
Sync Mode Fixes
The sync mode introduced in 2.4.0.0 has received a number of fixes: folder sync on some destinations, zero-byte uploads to Google Drive and Google Cloud, case-insensitive remotes, duplicate remote listings, sync metadata and last-run handling, and lower memory use by not storing remote operations in memory. The synchronization tool now passes the correct arguments to its backends, ignores folder entries in listings, renames through the backend, and counts failed deletes and renames in its return code.
Stability and Performance
The wasted space calculation used for compacting has been improved, deleting filesets uses less memory, and SQLite memory usage has been further reduced.
Database connections are now closed when opening or setting up a local database fails, and the server now takes the database lock in a few paths that previously skipped it.
Resuming after sleep no longer waits for the suspend handling to finish, and Windows is allowed to sleep again when an operation ends.
Tasks and HTTP status reports now report errors from operations that finished without throwing.
Backend and Provider Fixes
- Google Drive: keep every copy of a duplicated name, and report no quota for shared drives instead of the user's own quota.
- Google Workspace: handle inactive accounts, emit a root folder, and fix the restore scope.
- MS365: fix restore of large emails.
- Drime: fix incomplete listings beyond the pagination limit.
- S3: add RelAix to the list of providers.
- SMB: improved error detection.
- Duplicati backend: show error messages from the console.
- An unknown destination quota is no longer treated as a full destination, and the manual quota is kept when the backend quota is disabled.
Windows Installer and Shell Integration
The MSI now remembers the install location on upgrade, and the path browse button has been fixed.
The Windows shell overlay has been fixed. It requires the folder status service, which is disabled by default and can only be enabled from the commandline with --webservice-enable-folder-status-service=true.
Other Changes
The command line tools have a number of fixes to listing and searching, such as listing the latest version when none is given, searching sub-folders, looking up file versions by full path, and handling folders given without a trailing separator. Purge and set-locks now stop when the given version or time matches no fileset, and a queued command keeps the versions it named when it was sent.
The old UI has fixes for editing local folder and S3 destinations, restore version grouping and selecting a restore root.
This release also adds an option to prevent the server from creating a new database (--webservice-dont-autocreate-database), support for runner identity and license usage collection, and fixes for packaging libc_wrapper.so and for running when the account has no home folder.
Detailed list of changes:
- Don't warn on report module errors
- Fix remote access on NAS
- Remember install location for MSI
- Stop waiting for a stuck source file read when the backup is aborted
- Answer a block's sender when the block processor stops
- List the roots of a multi-drive backup without waiting
- Let the queue runner be disposed before it is terminated
- Release the blocks of a file the restore skips
- Report a missing destination folder before a restore starts
- Say which file is missing when the Windows modules cannot load
- Close the connection when the setup of a backup or delete database fails
- Try the next port when the system refuses the one the server binds
- Resume after a sleep even if the suspend is still being handled
- Fixed the path browse button in the MSI
- Keep the local database when a repair is aborted while reading it
- Report the errors of an operation that finished without throwing in the HTTP status report
- Let Windows sleep again when an operation ends
- Say that search looks at every version when none is given
- Return the oldest live log entries after the one a client has seen
- Group restore versions by calendar month in the old UI
- Show the saved local folder when the old UI edits a backup
- Let the old UI select a restore root before it is expanded
- Keep the saved S3 client when the old UI opens a destination
- Save a custom S3 storage class from the old UI
- Expose stored config type in API
- Avoid storing sync ops in memory
- Fix upload zero-byte file to Google Cloud/Drive
- Update Sync metadata handling
- Report the errors of a task that finished without throwing
- Carry on with the next file when one file fails to restore
- Keep a queued command's --version on the versions it named when it was sent
- Release the restore stage before a stopped one on every exit path
- Keep a file source in the root listing when another source extends its name
- Add support for reduced reporting
- Change SMB error detection
- Add RelAix to list of S3 providers
- Close the connection when a local database fails to open
- List a folder's contents when the folder is given without a trailing separator
- Add support for per-message keys
- Search the sub-folders of a folder given to the search command
- List the latest fileset when no time or version is given to list-folder-contents
- Release every restore process when a volume cannot be produced
- Prevent wrong missing key warning
- Stop waiting for a backend call when the operation is aborted
- Return no fileset for an exact time that matches none
- Report a queued task as waiting in the task queue listing
- Improve waste space calculation
- Look up file versions by their full path
- Run a remote sync destination inline when its mode has no interval or count
- Improve path redaction
- Support console error messages
- Fix a zero-progress report
- Add support for collecting license usage
- Fix issue with folder sync
- Stop purge and set-locks when the given version or time matches no fileset
- Harden remote control requests
- Add login throttle
- Fix incomplete Drime listings beyond the pagination limit
- Report a finished task's outcome while it is still the current task
- List a sync inventory folder as an indexed, case-sensitive range
- Fix Google Workspace restore scope
- Make Google Workspace emit a root folder
- Fix Windows Shell Overlay
- Remove unused browsertest
- Handle Google Workspace inactive accounts
- Honour case-insensitive-remote in the sync command
- Additional memory optimization for SQLite
- Reduce delete memory pressure
- Add support for runner identity
- Dispose the primary sync database when a sync run ends
- Count failed deletes and renames in the synchronization tool's return code
- Let the synchronization tool rename through the backend and compare through temporary files
- Ignore the folder entries a remote listing reports
- Pass the right arguments to the synchronization backends
- Spell the sync-remote-state values the way the option accepts them
- Fix packaging
libc_wrapper.so - Say which side has duplicate remote files instead of crashing
- Root the data folder when the account has no home folder
- Take the database lock in the server paths that skipped it
- Update MS365 permission doc
- Improve
libc_wrapperimport name - Layered defense for secrets in lists
- Do not read an unknown destination quota as a full destination
- Add option to disable db autocreate
- Fix MS365 large email restore
- Keep the manual quota when the backend quota is disabled
- Report no quota for a Google shared drive, instead of the user's own
- Keep every copy of a duplicated Google Drive name, and list it once
Updates to ngclient
Updated ngclient from 0.0.234 to 0.0.238:
- Changed the order for navigation on new backups: source before destination
- Added support for purging files from the UI
- Added support for checking permissions with MS365 and Google Workspace
- Added a counter dialog for Google Workspace data
- Added support for disabling chunking on S3 providers that do not support it
- Added support for reduced reporting
- Added RelAix to the known public hosts
- Ad...
v2.4.0.103_canary_2026-10-02
This release is a canary release intended to be used for testing.
Reduced reporting mode
A new reduced reporting mode limits everything that is sent outside the machine to log message ids, counters, dates and stack traces. No message text, error message or file name is transmitted, and the bug report feature is disabled. The mode is enabled with --reduced-reporting, overrides the regular path redaction, also applies to the data handed to run-scripts, and cannot be undone by a backup configuration. Local log data is still available in full.
Recreate with defective filelists
A failed transfer can leave a partially written filelist on the remote storage. The backup would then fail because of the unknown file, and recreating the database failed because the partial file could not be read. The database recreate now probes the filelists and continues without the defective ones. The next backup will then ask for a repair, which removes the offending files.
Restore fixes
A number of problems in the restore flow were fixed, thanks @JamBalaya56562:
- A file that cannot be created or written no longer stops the restore of the files after it.
- A restore that finishes with errors is now reported as failed in the UI and in the HTTP status report, instead of showing as successful.
- Skipped files, including files where a copy already exists, no longer cause
BlockCountErrorandVolumeCountErrormessages. - A missing destination folder is reported before the restore starts instead of after the full retry delay.
- More cases where a failing restore stage could leave the restore waiting forever are now released.
- The restore tree no longer hides a source whose path extends the name of another source file, and a backup with multiple drives no longer takes 30 seconds per drive to list.
Stopping a backup no longer hangs (or at least less often)
Using "Stop now" could leave the backup waiting forever if a source file read was stuck, such as on a network share that stopped answering, or if a block processor was stopped while holding a block. Both cases now return as cancelled, thanks @JamBalaya56562.
Windows sleep, resume and port fixes
Three Windows related problems were fixed, thanks @JamBalaya56562:
- With
--allow-sleepdisabled, Windows was kept awake after the operation had finished. The sleep prevention is now withdrawn when the operation ends. - If the machine was suspended before the pause was fully handled, the server could stay paused after waking up.
- The server now tries the next port when Windows refuses the port, such as when port 8200 is in a range reserved for Hyper-V, WSL or Docker.
MSI installer remembers the install location
A custom install location chosen in the MSI installer is now remembered for later upgrades. Older packages did not record the location, so this takes effect from the next upgrade. The location can also be set with msiexec /i package.msi INSTALLLOCATION=C:\OtherLocation, which works for silent installs. The browse button for picking the path was also fixed.
Queued commands keep their version
A command sent from the command line page in the UI waits in the task queue. If a backup ran before the command, the --version numbers had shifted, so a delete could remove the wrong version. The versions are now resolved when the command is sent, and the command is not run if a named version no longer exists, thanks @JamBalaya56562.
Synchronization improvements
Sync jobs now keep their own metadata and only update it when the operation succeeds, instead of writing the last backup values even on failures. The remote operation log is no longer kept in memory during a sync, and uploading a zero-byte file to Google Cloud Storage or Google Drive no longer fails with a 400 error.
Detailed list of changes
- Fixed generated remote filenames using the casing supplied by the user for the compression and encryption module
- Added support for remembering the install location in the MSI installer and pinned the order of the install actions
- Fixed an aborted backup waiting forever for a stuck source file read, thanks @JamBalaya56562
- Fixed an aborted backup waiting forever when a block processor stopped while holding a block, thanks @JamBalaya56562
- Fixed the largest-prefix listing taking 30 seconds per drive and returning an extra empty root for multi-drive backups, thanks @JamBalaya56562
- Fixed an
ObjectDisposedExceptionlogged during server shutdown, thanks @JamBalaya56562 - Fixed skipped files in a restore being reported as
BlockCountErrorandVolumeCountError, thanks @JamBalaya56562 - Fixed a missing destination folder only being reported after all retries when restoring, thanks @JamBalaya56562
- Fixed the repeated and unclear warning when the Windows modules cannot be loaded, thanks @JamBalaya56562
- Fixed the database connection staying open when the setup of a backup or delete database fails, thanks @JamBalaya56562
- Fixed the server stopping instead of trying the next port when the system refuses the port, thanks @JamBalaya56562
- Fixed the server staying paused after a sleep if the suspend was still being handled, thanks @JamBalaya56562
- Fixed the path browse button in the MSI installer
- Fixed an aborted repair setting aside a healthy local database and recreating it, thanks @JamBalaya56562
- Fixed the HTTP status report showing an operation that finished with errors as successful, and redacted paths in the reported error, thanks @JamBalaya56562
- Fixed Windows being kept awake after an operation has ended, thanks @JamBalaya56562
- Fixed the help text for
searchto say that all versions are searched when none is given, thanks @JamBalaya56562 - Fixed the live log skipping entries when more than a page arrived between two polls, thanks @JamBalaya56562
- Fixed the old UI grouping restore versions under the wrong month, thanks @JamBalaya56562
- Added handling of defective filelists when recreating the database
- Changed the remote filename parsing so the encryption module name cannot contain a
. - Fixed the old UI not showing the saved local folder when editing a backup, thanks @JamBalaya56562
- Fixed the old UI not being able to select a restore root before it was expanded, thanks @JamBalaya56562
- Fixed the old UI replacing the saved S3 client with
awswhen opening a destination, thanks @JamBalaya56562 - Fixed the old UI not saving a custom S3 storage class, thanks @JamBalaya56562
- Added the stored configuration type (backup or sync) to the API
- Reduced memory usage for sync operations by not collecting remote operation log data
- Fixed uploading zero-byte files to Google Cloud Storage and Google Drive
- Changed sync operations to use their own metadata and only update it on success
- Fixed a task that finished with errors being reported as successful, thanks @JamBalaya56562
- Fixed a restore stopping when a single file fails to restore, thanks @JamBalaya56562
- Fixed a queued command acting on the wrong version when a backup ran before it, thanks @JamBalaya56562
- Fixed more cases where a failing restore stage could leave the restore waiting forever, thanks @JamBalaya56562
- Fixed a source being dropped from the root listing when its path extends the name of another source file, thanks @JamBalaya56562
- Added the reduced reporting mode and the
--reduced-reportingoption - Changed the SMB write error detection and logging to show the actual failure
- Added RelAix to the list of S3 providers, thanks @mygrexit
- Fixed empty and whitespace-only arguments being lost when wrapping a command line, thanks @JamBalaya56562
- Fixed the database connection staying open when a local database fails to open, thanks @JamBalaya56562
- Updated translations from Transifex, thanks to all Translators!
Updates to ngclient
- Fixed the context menu being hidden for console managed backups
- Added support for showing sync jobs when restoring configurations from remote
- Improved the display of sync operations
- Added RelAix to the known public hosts
- Added support for reduced reporting
- Fixed errors in a completed restore database repair not being handled, thanks @JamBalaya56562
- Fixed the schedule date picker not preserving the local date, thanks @JamBalaya56562
- Fixed stopped WebSockets and long polls reconnecting, thanks @JamBalaya56562
- Updated localization
v2.4.0.102_canary_2026-09-25
This release is a canary release intended to be used for testing.
New restore-test command
A new restore-test command restores a sample of files from a backup into a temporary folder and verifies them. The sample size, download budget, runtime and version can be controlled with the --restore-test-* options. For backups, the option --perform-restore-test-after runs the restore test automatically after a given amount of time.
Choosing a VSS provider
Windows snapshots can now use a specific VSS provider with --vss-provider-id=<guid>. The snapshot setup also detects a provider that does not expose mapped paths and cannot be used. If no provider is selected, it falls back to the Microsoft Software Shadow Copy provider.
Lower memory usage when deleting versions
Deleting, compacting, purging and repairing forced SQLite to build a large in-memory table holding all fileset entries being removed. The filesets are now removed one at a time, which bounds memory use to a single version. On a synthetic database with 100 versions and 300k files this was 16-20% faster with an 80% reduction in memory. The wasted space calculation was also rewritten and is roughly 9x faster on large databases.
Synchronization tool fixes
A number of problems in the remote synchronization tool were fixed, thanks @JamBalaya56562:
- The backend managers received the wrong arguments, so a missing source folder was created and the empty listing deleted every file in the destination.
- Folder entries reported by the destination are now ignored instead of failing the run.
- Renames now use the backend's own rename and content verification compares through temporary files, reducing peak memory from gigabytes to under 100 MB for large volumes.
- Failed deletes and renames are now counted in the return code instead of reporting success.
- A destination with mode interval or counting but no interval or count was only synchronized once. It now runs inline with a warning.
- The
--case-insensitive-remoteoption is now honoured, so a case-only rename no longer loses the file on case-insensitive destinations. - The primary sync database is now closed when the run ends, and the
--sync-remote-statewarning names values the option accepts.
Additionally, the tool no longer fails to copy folders on backends that report paths with a trailing separator.
Restore and backup no longer hang on failures
A restore that hit a volume it could not download, decrypt or decompress could wait forever instead of failing. All restore stages are now released when a volume cannot be produced. Similarly, stopping a backup while a backend call was stuck in a transfer that did not observe cancellation left the operation waiting; the backend manager now abandons the call and the operation returns as cancelled, thanks @JamBalaya56562.
Path redaction in reports
Additional checks prevent file paths from being included in logs and reports sent outside the system. The option --allow-paths-in-log-messages disables the redaction for environments where paths can be reported safely.
Selecting which operations send reports
The mail, HTTP, XMPP and Telegram reporting modules have a new option, such as --send-mail-operations, that selects which operations emit a report. The default is to report backups only, as before.
Command-line listing fixes
Several listing commands did not behave as documented, thanks @JamBalaya56562:
list-folder-contentsnow accepts a folder without a trailing separator and picks the latest version when no time or version is given.searchnow searches sub-folders of the given folder.list-file-versionsand the V2list-versionsendpoint now return results and report correct timestamps.purgeandset-locksnow stop when the given version or time matches no fileset instead of acting on every fileset.
Detailed list of changes
- Fixed
list-folder-contentsreturning nothing for a folder given without a trailing separator, thanks @JamBalaya56562 - Added
--vss-provider-idto choose a VSS provider, with a fallback to the Microsoft Software Shadow Copy provider when the selected one cannot be used - Added per-message ephemeral encryption keys and payload compression for console connections
- Fixed
searchnot searching the sub-folders of the given folder, thanks @JamBalaya56562 - Fixed
list-folder-contentsfailing with "Multiple filesets found" when no time or version is given, thanks @JamBalaya56562 - Fixed a restore hanging forever when a volume cannot be downloaded, decrypted or decompressed, thanks @JamBalaya56562
- Fixed a wrong missing key warning when using the default secret provider
- Fixed an aborted operation waiting forever for a backend call that does not observe cancellation, thanks @JamBalaya56562
- Fixed an exact time lookup returning every fileset when none matched, thanks @JamBalaya56562
- Fixed a queued task being listed as running in the task queue, thanks @JamBalaya56562
- Rewrote the wasted space calculation to be faster and use less memory
- Fixed
list-file-versionsand the V2list-versionsendpoint returning no results and wrong timestamps, thanks @JamBalaya56562 - Fixed a remote sync destination with mode interval or counting but no interval or count only synchronizing once, thanks @JamBalaya56562
- Added path redaction checks for logs and reports and the
--allow-paths-in-log-messagesoption - Added support for console status and error messages in Duplicati Backend so failure messages are less generic
- Fixed most operations reporting 0% progress
- Added a pluggable slot for license usage collection
- Fixed the sync tool failing to copy folders on backends that report a trailing separator
- Fixed
purgeandset-locksacting on every fileset when the given version or time matched none, thanks @JamBalaya56562 - Hardened remote control callback requests and disabled redirects
- Added login throttling to protect against brute-force attempts
- Fixed Drime trash pagination validation and folder counts with trashed entries, thanks @tristanXme
- Fixed a finished task reporting no outcome while it was still the current task, thanks @JamBalaya56562
- Fixed the sync inventory folder listing being case-insensitive and unindexed, thanks @JamBalaya56562
- Added
--send-mail-operations,--send-http-operations,--send-xmpp-operationsand--send-telegram-operationsto choose which operations send reports - Added the
restore-testcommand and the--perform-restore-test-afterbackup option - Fixed Google Workspace restore browsing being rejected due to a read-only scope request
- Changed Google Workspace to emit a root folder like MS365
- Fixed the SMB live test starting before Samba accepted connections, thanks @JamBalaya56562
- Fixed the Windows shell icon overlay returning empty results and adjusted icon sizes
- Fixed Google Workspace warnings and a lost license seat warning for suspended and archived users
- Fixed the sync command ignoring
--case-insensitive-remote, thanks @JamBalaya56562 - Added a check that the VSS provider has mapped a usable path
- Reduced memory usage when removing filesets in delete, cleanup, repair and purge
- Reduced memory usage when deleting filesets during backup
- Fixed the primary sync database never being disposed, thanks @JamBalaya56562
- Fixed the sync tool returning success when deletes or renames failed, thanks @JamBalaya56562
- Fixed the sync tool downloading volumes into memory for renames and verification, thanks @JamBalaya56562
- Fixed the sync tool copying, deleting and verifying folder entries reported by the destination, thanks @JamBalaya56562
- Fixed the sync tool passing the wrong arguments to its backends, causing an empty source to delete the destination, thanks @JamBalaya56562
- Fixed the
--sync-remote-statewarning suggesting values the option rejects, thanks @JamBalaya56562
Updates to ngclient
- Added a counter dialog for Google Workspace data
- Added support for disabling chunking on S3 providers that do not support it
- Fixed the restore file picker not handling a failed database repair, thanks @JamBalaya56562
- Fixed a cancelled destination test not stopping the request, thanks @JamBalaya56562
- Added WebModules storage, HTTP and destination test component tests, thanks @JamBalaya56562
v2.4.0.101_canary_2026-09-11
This release is a canary release intended to be used for testing.
Fixed Linux data folder for services without a home folder
When running as a Linux service under an account with no home folder, the data folder was stored as the relative path var/lib/Duplicati instead of /var/lib/Duplicati. Relative paths are now resolved correctly, thanks @JamBalaya56562.
Fixed sync failing on backends that cannot report quota
A backend that cannot report free space returns a negative value. The synchronization tool compared this against the required size and incorrectly concluded the destination was full, stopping the sync. The quota check now only runs when the destination actually reported a free space, thanks @JamBalaya56562.
Fixed sync crash on duplicate remote file names
A remote listing that reported the same name twice made the synchronization tool fail with an unhelpful ArgumentException. It now reports which side has the duplicates and what to do about it, matching the message the backup path already produced, thanks @JamBalaya56562.
Fixed source lost inside an excluded folder
A source folder nested inside another source, with a folder on the path between them excluded, was silently dropped from the backup. The nested source was converted to an include filter, but the containing source's enumeration never descended into the excluded folder, so the filter was never reached. Such sources are now kept as sources instead of being converted to filters, thanks @JamBalaya56562.
Faster consistency checks
The database consistency check queries were rewritten to avoid SQLite building automatic indexes. Depending on database size and shape, the checks are now 25-40% faster, thanks @JamBalaya56562.
New option to prevent automatic database creation
The new --webservice-dont-autocreate-database option prevents the server from creating an empty database on startup. Useful when the database already exists and you want the server to fail rather than start with an empty configuration due to a misconfigured data folder.
Fixed MS365 large email restore
Restoring large emails to an MS365 tenant previously failed because the restore path attempted to set read-only or non-nullable properties on the email creation request. Only writable properties are now sent, and null values are omitted.
Fixed full-disk backup on Linux and macOS
The native wrapper libraries (libc_wrapper.so, libSystem_wrapper.dylib) were placed in a runtimes subfolder by the build but the P/Invoke loader only looked in the application folder, causing full-disk backup to fail on packaged installs. A resolver now probes both locations.
ServerUtil command-line parsing fixes
Fixed several issues from the switch to the stable System.CommandLine package, including the --hosturl option not accepting URLs from the command line.
Detailed list of changes
- Updated ngclient to version 0.0.236
- Fixed the Linux data folder being relative when the service account has no home folder, causing database paths to resolve incorrectly, thanks @JamBalaya56562
- Fixed
--quota-disableincorrectly disabling the manual--quota-sizequota check, thanks @JamBalaya56562 - Fixed the sync tool treating a backend that cannot report quota as having no free space, thanks @JamBalaya56562
- Fixed Google Drive shared drive backups being checked against the user's personal quota, thanks @JamBalaya56562
- Fixed Google Drive not tracking all copies of a file with a duplicate name, causing incomplete deletes and stale reads, thanks @JamBalaya56562
- Fixed the sync tool crashing with an unhelpful error on duplicate remote file names, thanks @JamBalaya56562
- Fixed a source folder being silently dropped when nested inside another source with an excluded folder between them, thanks @JamBalaya56562
- Fixed Windows command-line argument escaping for arguments ending with backslashes, thanks @JamBalaya56562
- Fixed four server code paths accessing the database without the serialization lock, causing intermittent errors, thanks @JamBalaya56562
- Rewrote consistency check queries to avoid SQLite automatic indexes, improving performance, thanks @JamBalaya56562
- Added
--webservice-dont-autocreate-databaseoption to prevent starting with an empty database - Masked sensitive information in the backup list API endpoint
- Fixed MS365 large email restore failing due to read-only properties being sent
- Fixed native wrapper library loading for full-disk backup on Linux and macOS packaged installs
- Added path argument and
--output-jsonsupport to SourceToollistcommand - Fixed ServerUtil
--hosturloption not accepting URLs from the command line - Fixed a disk with no partitions causing the Windows disk enumeration to fail, thanks @JamBalaya56562
- Fixed the
ijwhost.dllnative library being resolved as a managed reference, causing build warnings, thanks @JamBalaya56562 - Added fileset diagnostics to disruption tests to aid debugging, thanks @JamBalaya56562
- Added test for PAR2 file deletion
- Added clean database startup tests
- Added consistency check query equivalence tests, thanks @JamBalaya56562
- Added data folder locator tests, thanks @JamBalaya56562
- Added Google Drive duplicate name tests, thanks @JamBalaya56562
- Added Google Drive shared drive quota tests, thanks @JamBalaya56562
- Added nested source exclusion tests, thanks @JamBalaya56562
- Added no-free-space backend quota tests, thanks @JamBalaya56562
- Added command-line wrapping tests, thanks @JamBalaya56562
- Added VSS disk volume lookup tests, thanks @JamBalaya56562
- Improved
libc_wrapperimport name for clearer error messages - Updated MS365 permission documentation strings
- Updated Office365 included user and group type descriptions
Updates to ngclient
- Added a small loader on the start page to assist with slow loading
- Fixed the destination test dialog not preserving context when retrying, thanks @JamBalaya56562
- Fixed V1 destination tests not completing after error handling, thanks @JamBalaya56562
v2.4.0.100_canary_2026-09-04
This release is a canary release intended to be used for testing.
New Native VSS snapshot provider
This release introduces a new native VSS snapshot provider on Windows that replaces the previous providers. Hyper-V and MSSQL enumeration work with the native provider which is now default.
The new native VSS snapshot provider does not require VCRedist to be installed and works on x86, x64, and Arm64 systems.
The existing AlphaVSS and Vanara-based VSS snapshot providers can still be selected (but not on Arm64).
They will be removed in a future version as AlphaVSS is no longer maintained and the new native library has fewer dependencies than Vanara.
New WMI VSS snapshot provider
The previously supported WMIC provider has been removed as Windows updates will remove the executable it relies on.
Instead a new WMI snapshot provider is added which works similar to WMIC.
The WMI (and WMIC) provider gives a more light-weight VSS functionality, where it does not flush the writers (MSSQL, HyperV, etc) but just ensures a crash-consistent disk snapshot.
If you rely on systems that integrate with VSS, use the Native provider, if you just want to back up locked files, use the WMI provider.
Full-disk backup and VSS snapshots
With this release VSS is now also used for full-disk backups. This is fully transparent and works such that an active snapshot is detected and the full-disk reader will use the snapshot to access the disk contents.
Recovering from an interrupted first backup
Interrupting a first backup previously left the destination in an unrecoverable state: blocks and index files were uploaded, but no filelist was written, so neither backup nor repair could proceed. The recreate logic can now reconstruct a database from the index files alone, so an interrupted first backup can be resumed instead of requiring the destination to be discarded, thanks @JamBalaya56562.
Repair no longer removes metadata
The repair handler previously attempted to fix defective metadata with various reassignment strategies that could silently remove metadata. It now reports the problem and asks the user to run list-broken-files and purge-broken-files, which rewire the metadata while keeping the file content. Detection of zero-length and otherwise defective blocksets has also been improved.
Azure Blob Storage path support
The Azure Blob Storage backend previously ignored the path part of the destination URL and always stored data in the root of the container. The path is now treated as a prefix, so backups can be placed in a subfolder of a container. If you previously used a path in an Azure Blob Storage destination URL, the data was stored in the root; after upgrading, new backups will use the path as a prefix and will not see the previously uploaded files.
Prevent empty machine ID
A startup sequence issue could cause a clean install to report and connect to the console without a machine ID, which could cause various unwanted behaviors.
Linux sleep prevention
Duplicati can now prevent the system from sleeping during backup operations on Linux, similar to the existing support on Windows and macOS.
AppImage .zsync support
This release now has the .zsync file and relevant metadata such that future updates can be done efficiently and automatically by AppImage managers that support it.
--synchronous-upload deprecated
The --synchronous-upload option no longer has any effect and is now marked as deprecated. Existing configurations that set it will continue to load, but a warning is now logged. Use --asynchronous-upload-limit instead.
Default exclude volume information
The System Volume Information folder is now automatically excluded from backups as it cannot be reliably read and cannot be used in a restore process.
Performance and stability updates
Several performance fixes are applied to the local database queries, affecting most operations, mostly by @JamBalaya56562.
Many edge cases around unexpected server responses and url encoding issues have also been adressed, thanks @JamBalaya56562.
Detailed list of changes
- Updated all localizations, thanks to all translators
- Added a native VSS snapshot provider, replacing the WMI-based approach
- Fixed Hyper-V and MSSQL enumeration with the native VSS provider
- Added
--vss-writer-flush-timeoutto control how long to wait for VSS writers - Used VSS for full-disk backups and automatically excluded
System Volume Information - Hid unsupported VSS options on Arm64
- Added support for recreating a database from an interrupted first backup, thanks @JamBalaya56562
- Changed repair to report defective metadata instead of silently reassigning it
- Improved detection and notification of zero-length and defective blocksets
- Sped up
purge-broken-filesby reusing the invalid-blocks query - Added an API endpoint for purging files across backup versions
- Added permission checks for MS365 and Google Workspace so users can verify granted permissions
- Fixed MS365 group classifications and added validation of source and destination provider options
- Added support for a path prefix in Azure Blob Storage destinations
- Fixed
--prefixcombined with path separators in sync operations - Fixed a clean install potentially starting with an empty machine ID
- Added sleep prevention support on Linux
- Fixed the destination self-test incorrectly failing on OpenStack when a probe file was already gone, thanks @JamBalaya56562
- Fixed Google Cloud Storage not detecting a delete of a missing file
- Fixed Google Cloud Storage URL encoding that broke authentication
- Fixed OneDrive browsing failing on the drive root and not returning folders
- Fixed OneDrive folder names with percent signs or hashes not being reachable, thanks @JamBalaya56562
- Fixed Dropbox folder names with percent signs being decoded twice, thanks @JamBalaya56562
- Fixed SharePoint destination paths containing
+being misread, thanks @JamBalaya56562 - Fixed WebDAV destination paths containing
+being misread, thanks @JamBalaya56562 - Fixed hostless backend URLs such as
dropbox://?authid=...failing to enumerate from the root - Fixed a Windows source given as a bare drive letter (e.g.,
C:) resolving to the process working directory instead of the drive root, thanks @JamBalaya56562 - Preserved the fileset timestamp when replacing a missing dlist file during repair, thanks @JamBalaya56562
- Recorded the fileset timestamp in the dlist file so a database recreate keeps it, thanks @JamBalaya56562
- Fixed URL query string values not always being preserved when modifying URLs
- Indexed the verification tables on the compared columns, significantly speeding up remote volume verification, thanks @JamBalaya56562
- Removed a redundant
DISTINCTthat blocked index lookups in fileset queries, thanks @JamBalaya56562 - Stopped deduplicating twice in the fileset consistency check, thanks @JamBalaya56562
- Made BackendTester re-read the remote folder before abandoning a test run, and accept an already-deleted file during cleanup, thanks @JamBalaya56562
- Cleared the Filen file cache when a write did not come back, preventing stale lookups, thanks @JamBalaya56562
- Re-read the Filejump file list when a delete got no answer, thanks @JamBalaya56562
- Re-read the Drime file list when a delete got no answer, thanks @JamBalaya56562
- Deprecated
--synchronous-uploadwhich no longer has any effect, thanks @JamBalaya56562 - Added
.zsyncfiles for.appimagereleases, enabling delta updates - Updated System.CommandLine from pre-release to the stable 2.0 release
- Regenerated the libsecret DBus bindings with the latest tooling
Updates to ngclient
- Changed the order for navigation on new backups: source before destination
- Added support for purging files from the UI
- Added support for checking permissions with MS365 and Google Workspace
- Fixed Windows search results having a leading
\prefix, causing empty restores - Fixed WebDAV destination path normalization, thanks @JamBalaya56562
- Fixed folder filters losing their type while editing, thanks @JamBalaya56562
- Fixed folder exclusions not propagating through the file tree, thanks @JamBalaya56562
- Fixed file attribute exclusions not being preserved when editing, thanks @JamBalaya56562
- Fixed local schedule dates being reset when editing, thanks @JamBalaya56562
- Fixed custom form validator behavior, thanks @JamBalaya56562
- Fixed commandline result polling, thanks @JamBalaya56562
- Hardened HTTP interceptor request handling, thanks @JamBalaya56562
- Fixed the file browser height on the restore page
- Fixed flicker in the Duplicati Storage backup picker
- Fixed connection state being set incorrectly with socket relay
- Migrated to hey-api's modern Angular client, thanks @sp90
- Fixed termination display
- Updated all translations, thanks to all translators
v2.4.0.0_stable_2026-09-03
This release is a stable release that supersedes the 2.3.0.4 stable release. It contains all changes from the 2.3.1.0 and 2.3.1.1 beta releases.
Breaking change: Locked-down data folder permissions
This release hardens security around the data folder and is a breaking change for some setups.
For most users, this should not be a problem as the folders should already have the correct permissions.
Duplicati now requires that the data folder has the exact expected permissions, or it will refuse to use it. Previously, Duplicati would silently lock down the folder if it was not already locked.
To opt out of the permission check, you need to either pass --allow-insecure-datafolder, set the environment variable DUPLICATI__ALLOW_INSECURE_DATAFOLDER=true, or place a file named insecure-permissions.txt in the installation folder.
Note that the previous method of placing insecure-permissions.txt in the data folder is no longer supported.
This change also applies to preload.json, such that it will only be loaded if the folder is trusted, or one of the opt-out methods are activated. Additionally, the previous trusted paths /usr/local/share/Duplicati/preload.json and C:\ProgramData\Duplicati\preload.json are no longer supported as they cannot be guaranteed to be locked down.
A preload.json inside the data folder is still supported, provided the folder passes the permission check.
The ConfigureTool has a new secure-datafolder command that can be used to force the correct permissions on the data folder.
For most users this should not cause any problems, as Duplicati has been locking down the folder already, but if you rely on lax folder permissions the setup needs to change. Some Docker setups may not be able to set the permissions and will need to apply DUPLICATI__ALLOW_INSECURE_DATAFOLDER=true in the image to run without the protections.
Sync copy mode
This release adds an often requested feature that enables simple copying of files from source to destination.
Where the regular backups are deduplicated, compressed, encrypted and versioned, the new sync mode will instead simply copy from source to destination.
The copy is currently a one-way sync, where the source is replicated on the destination. Files can be deleted on the destination during sync (use --sync-then-delete), but destination folders will not be deleted.
The option --sync-remote-state is by default set to UseRemoteState which will list the destination and figure out what to upload. The setting UseLocalState uses a local database, similar to how backups work, to keep track of known remote files, and reduce the amount of remote listings done. Finally, the BlindlyUpload setting will just copy everything as-is to the remote.
The sync jobs support remote sources, snapshots, and multiple destinations. If snapshots are enabled, the copy is done from the snapshot, ensuring reliable reads.
Configuration of such a sync job is done the same way as with backup, but using a toggle option in the first step of the UI. Note that backup and sync jobs are not compatible as they use very different storage logic, so it is not possible to change the job mode after creating a job.
CLI mode also supports sync.
Improved Windows installer
This change brings a major update to the Windows installers, which now integrates the ability to run as a service, as well as generate and use TLS (https). The service feature has been present for a while in the WindowsService.exe tool and the TLS certificates were added as part of the Duplicati.CommandLine.ConfigureTool.exe. With this update these things are now integrated into the installer, and exposed as simple checkboxes to toggle the features. Installing the service from a regular user account, will also auto-generate a secure password and configure the TrayIcon to connect to the service (only for the current user).
If you have installed the service manually, do not activate the new checkbox as it only works if there is no pre-existing service. The installer-driven service does not support commandline arguments directly, but instead prefers preload.json files to configure it. The MSI supports the property INSTALL_PRELOAD=true which will cause it to pick up a preload.json file from the same folder the MSI is located in.
The Windows service is now also configured as delay-start service to avoid startup issues on boot.
Live reporting module
This release adds a new live-reporting module that sends the current progress of backups to a user-specified URL. The intention is that this can be used for dashboards that want to show the current progress for backups. By default, the module is not configured and has no impact.
The module supports multiple activity targets and includes metadata in the activity report, as well as a console-provided activity URL.
PAR2 parity / error-correction for remote volumes
This release adds a pluggable parity module that produces error-correction data for remote data volumes, so they can be repaired after bit-rot or corruption on the backend, thanks @JamBalaya56562.
To enable this, ensure that par2 is installed on the machine and set --parity-module=par2. Setting this will cause additional .par2 files to be uploaded.
Store configuration with backup
This release revives the store-task-config option and makes it enabled by default for encrypted backups. The backup configuration is stored with the backup data, making it easier to restore a configuration later.
For unencrypted backups, no secrets are stored by default. The behavior can be customized with options to store none, self, or all configurations, with or without secrets. The UI has been updated to allow restoring from the destination config. If multiple configurations are found, the user can select one or more backup configurations to restore.
MS365 subsites and shared mailboxes
This release improves the Microsoft 365 backup support with two additions.
Support for backing up SharePoint subsites has been added, making it possible to include sub-sites beneath a site collection in a backup.
The handling of shared mailboxes has also been improved, with better detection and enumeration of shared mailboxes within a tenant.
The license counting has been simplified. A Duplicati license is now required if an MS365 license is assigned, without needing per-user lookups. The same logic applies to both users and sites, and personal sites of users without a license are not counted. Filtering based on classification is still supported.
Full disk backup support (Windows, Linux, MacOS)
This release extends the full disk backup feature to support Linux and MacOS, in addition to Windows.
The Linux support allows backup and restore of entire disks on Linux, including partition tables. The MacOS support adds basic backup and restore of entire disks, including partition tables.
Partition-level backup and restore is now supported, making it possible to select individual partitions as backup sources, or restore a single partition from a full disk backup to a different partition.
Like the Office 365 / Google Workspace backup features, this is a proprietary module (source available).
Full disk backup requires administrative privileges to access the disk directly.
Full disk restore requires administrative privileges and requires that the disk is unmounted and not write-protected.
Desktop notifications on all platforms
Desktop notifications are now supported on all platforms. Windows toast notifications have been implemented with click-to-open support, and native notification support has been added for macOS and Linux (via DBus), thanks @JamBalaya56562 for the Windows implementation.
Restore reliability improvements
Several issues with the restore process have been fixed. Restores now properly respond to stop/abort requests, file reads and writes can be interrupted, and a critical bug with wrong seek offsets for partial blocks has been fixed, which could cause restores to fail, thanks @JamBalaya56562.
An index has been added on the restore file table join columns for better restore performance, thanks @JamBalaya56562.
Misconfigured filter detection
A new warning system detects when filters are configured to unconditionally exclude everything. A post-backup check also warns if no files were examined during backup, which helps catch misconfigurations that would otherwise silently produce empty backups.
New backends
Added support for Drime Cloud as a new storage backend.
Added a new backend for the Spanish provider Movistar, thanks @redmars27. The backend is marked as "untested" as it can only be used (and tested) by Movistar customers.
Deprecated backends
The previous "SharePoint" and "OneDrive for Business" backends have been marked as deprecated, as Microsoft shut down the API they were calling. The migration step is to use the "SharePoint v2" backend (renamed to just "SharePoint" in this version) which uses the Microsoft Graph API.
Duplicati Storage
This release includes Duplicati Storage which is integrated with the Duplicati console. Once a machine is connected to the console it can use the account's storage allocations with zero configuration required.
SharpAESCrypt v3
Updated the SharpAESCrypt encryption library to support "AES Crypt Stream Format v3", which has a number of improvements over the v2 format.
For this release, the default written format remains v2, but we encourage you to set the environment variable DUPLICATI__AES_VERSION=3 to test the new format.
Note: if you set this version to 3, the new remote volumes cannot be read by Duplicati versions older than 2.3.0.101.
Support for MacOS ACLs
This release adds support for reading MacOS attributes and ACL strings during backup, and restoring them when permission restores are selected.
Support for Windows Alternate Data Streams
This release implements support for reading and ...