2025-04-11 - 2.1.0.113_canary_2025-04-11
==========
This release is a canary release intended to be used for testing.

# Major changes in this version

The ServerUtil tool can now ouput JSON instead of regular text.

Support for Zip64 is now always enabled, so manual data extraction requires a Zip64 enabled tool.

Added support for creating pre-authenticated headers to better support proxy setups.

Improved handling of duplicated blocks, both on compact and on backup.

Added support for Filen and Filejump storage destinations.

# Potentially breaking changes (from 2.1.0.109)
  - Location of data folder has changed in some cases, refer to previous release for details
  - Permissions are now applied to the data folder, refer to previous release for details
  - New user interface, `ngclient` is the default; there is a button to switch between the two

## Detailed list of changes:
- Improved build process and added checks for missing and outdated libraries
- Improved anti-sleep on Windows
- Added option to emit machine-readable JSON from `ServerUtil` / `duplicati-server-util`
- Fixed issue with Mega backend not authenticating
- Added back missing options to MSGraph based backends
- Improved Zip64 support (always on)
- Prevent crashes when unable to set permissions on data folder or database
- Added `Filen.io` backend
- Fixed some delivery failures to Telegram
- Prevent setting permissions on data folder from ServerUtil
- Added support for pre-authenticated headers in selfhosted (proxy) setups
- Stop early if restoring a backup and no passphrase is supplied
- Removed a warning show when using relative restore version time
- Removed positional arguments from SQL queries
- Improved number of blocks that can be discarded during compact
- Improved storage re-use if files are added/removed/added
- Fixed a case where connections were not closed after use
- Updated Wasabi S3 endpoints
- Fixed locale-sensitive parsing bug for fr-CA
- Added `rclone` to Docker images, thanks @wjansenw
- Added Filejump backend
- Fixed some error flows during restore with missing data

## Ngclient changes:
- Fixed external links opening in new window
- Show error messages when testing connection
- Fixed bug with not setting server interface
- Added a tab to show crash log data
- Added sorting to list of backups
- Added Filen backend support
- Fixed removing backup when deleting
- Fixed dropping config file for restore
- Error messages can be dismissed
- Added support for date-time options
- Added live-logs and improved logs area
- Added controls for entering timespans
- Improved status bar and loading messages
- Fixed cases of white start screen
- Fixed issues with settings page not updating
- Fixed issue with loading exported config with path-encoded url
- Fixed File browser starting in broken state if path is missing
- Added support for Filejump backend
- Fixed issues with parsing dblock-size
- Added support for retention settings
- Fixed issues with timespans on edits

2025-03-26 - 2.1.0.112_canary_2025-03-26
==========
This release is a canary release intended to be used for testing.

# Major changes in this version

- Updated backends
The major change in this version is the addition of timeouts to every backend.
This has the potential to affect each backend individually.

- Improved validation
Further increased the checks made to validate that the database is consistent, and added new features to the repair operation to assist in recovering.
Certain problems are now checked before and after a backup, in an attempt to better close in on the conditions that create these situations.

- Updates to ngclient
Updates to reconnect logic and locale support.

# Potentially breaking changes (from 2.1.0.109)
  - Location of data folder has changed in some cases, refer to previous release for details
  - Permissions are now applied to the data folder, refer to previous release for details
  - New user interface, `ngclient` is the default; there is a button to switch between the two

## Detailed list of changes:
- Added retries for sending HTTP-based reports
- Added warning icon back to TrayIcon
- Fixed a check that prevented repairs in timezones that are have a negative UTC offset
- Rewrote a number of SQL queries to avoid localization of SQL strings
- Added guards against faulty startup delays
- Updated all backends to use same parsing logic for authentication options
- Updated all backends to support timeouts
- Fixed a bug where databases would be created with strict permissions, even if opting out
- Updated SQLite loading to always set custom pragmas
- Updated SQLite loading to support custom `SQLITE_TMPDIR` environment variable
- Removed unwanted data in report JSON output
- Added support for deleting empty index files on repair
- Improved handling of stop "errors"
- Updated `box.com` backend to use HttpClient
- Added option to inject custom parameters into reports
- Improved error message on manifest version mismatches
- Removed a warning when attempting to pick a restore date with a negative prefix
- Support for large form-encoded HTTP reports
- Fixed an issue where the URL parser would return different results for similar inputs (for the `file://` input)
- Handling backspace on console password input
- Added guard against fileset errors in the database
- Added support for rebuilding filesets from remote data on repair
- TrayIcon can now start in a disconnected state, and keep probing for a connection
- Added current update channel to reports
- Added automatic zip64 usage for large bugreports
- Added support for showing the crashlog in the UI
- Fixed an issue with some dates causing problems in the timezone aware calculations
- Added support for sorting the list of backups in the UI
- Fixed an issue with restoring timestamps and metadata on folders

2025-03-15 - 2.1.0.111_canary_2025-03-15
==========
This release is a canary release intended to be used for testing.

# Major changes in this version

- Restore improvements
This version has a few tweaks to the new restore flow that makes it more robust.

- Improved validation
To safeguard against internal errors, there is now a more strict validation before performing cleanup.
The new logic checks if the previous operation failed and will only automatically repair the remote if this is the case.
The repair command bypasses this check and can repair the remote regardless.

If the previous run was fully completed, any leftover remote files are now treated as an error.
Additionally, operations that does not change remote state (list, test, restore, etc) will not repair the remote state, but just verify that it is working for the requested operation.

- Updates to ngclient
Multiple updates to ngclient: improved auth flow, searchable menus, Windows filesystem support, restore from configuration, and more.

# Potentially breaking changes (from 2.1.0.109)
  - Location of data folder has changed in some cases, refer to previous release for details
  - Permissions are now applied to the data folder, refer to previous release for details
  - New user interface, `ngclient` is the default; there is a button to switch between the two

## Detailed list of changes:
- Reduced number of samples taken for testing
- Improved restore flow
- Improved error handling for Azure Blob storage
- Improved help text for remote synchronization tool
- Implemented more rigorous validation and safeguards for failed backups
- Better support for IPv6 and unmapped localhost scenarios
- Added check to avoid block sizes that are the same or less than volume size
- Introduced more async calls for better thread usage in handlers
- Added forced culture for SQL strings and simpler transaction logic
- Added Arm v7 Agent builds
- Improved certificate validation to check expiration and support root or intermediate certificate hashes

2025-02-28 - 2.1.0.110_canary_2025-02-28
==========
This release is a canary release intended to be used for testing.

# Major changes in this version

- Restore improvements
Building further on the new restore engine, this version has significant performance speedups during restore.

- New signing keys
The builds are now signed by "Duplicati Inc" for MacOS and Windows.
The Windows signatures are now done with an extended validation (EV) certificate and should not trigger Windows Defender warnings.

- New enumeration logic
The enumeration of files and folders has been rewritten to better support some edge cases.

- Improved pagination support
All backends are updated to support the new list methods that supports pagination and cancellation. 
The test method will now only load a single page of results, instead of listing all items.

- Support for backend-as-source
This version has support for backups of both remote and local data.
In this version, S3, IDrive, SSH and CIFS sources are supported.
The UI does not yet support this, but it is possible to read data from a remote location by "mounting" it into the local filesystem.
For the commandline (and manual text entry in the UI) enter sources such as:
```
// Linux/MacOS
@/mnt/s3-data|s3://example?auth-username=...

// Windows
@X:\server1|cifs://server/share?auth-username=...
```

# Potentially breaking changes (from 2.1.0.109)
  - Location of data folder has changed in some cases, refer to previous release for details
  - Permissions are now applied to the data folder, refer to previous release for details
  - New user interface, `ngclient` is the default; there is a button to switch between the two

## Detailed list of changes:
- Improved script examples
- Fixed double-click TrayIcon on Windows, thanks @Alex-Heard
- Fixed an issue with CORS headers
- Parallel downloads for restore
- Report interface and port in Webserver startup message
- Fixed missing example script on Windows
- Fixed a case where a leading slash could be stripped from the path or a URL
- Added additional Infomaniak endpoints, thanks @ochaze
- Backend listing is now async for better pagination and cancellation support
- Updated signing support for the release builds
- Added a link from `ngax` to `ngclient` (the other way already exists)
- Added alternate source providers and new enumeration process
- Performance optimizations for restore process

2025-02-11 - 2.1.0.109_canary_2025-02-11
==========
This release is a canary release intended to be used for testing.

# Important change for Windows Service
This build changes the folder locations for the `Duplicati-server.sqlite` file on Windows and Linux when running as a service.
There is support for backwards compatibility, so existing installations should not be affected.

The detailed changes are:
Windows: Avoid storing data in `C:\Windows\System32\config\systemprofile\AppData\Local\Duplicati` and prefer `{CSIDL_COMMON_APPDATA}\Duplicati`
Linux: Avoid storing data in `/Duplicati` and prefer `/var/lib/Duplicati`.

If you are not running Duplicati as a service, this has no effect.
If you are using `--server-datafolder` or `DUPLICATI_HOME`, this has no effect on the database, but may cause your machineid and installid to change.

The `machineid.txt` and `installid.txt` would previously be stored in the local app data folder, even when using portable mode or choosing a specific data folder.
This has been fixed, so the files will now follow the database.
If you are using the Duplicati console or otherwise depend on these values, you need to move them into the folder where the database is stored.

## Important for users running 2.1.0.108
For **2.1.0.108 version only**, the service folder was `{SYSTEMDRIVE}\Users\LocalService\Duplicati` which was dropped.
If you have only installed 2.1.0.108 and ended up using the previous folder, you must manually move it to `{CSIDL_COMMON_APPDATA}\Duplicati`.

# Permissions on database and data folder
This update sets permissions on the data folder and the databases to prevent unauthorized access from local accounts.
To opt out of setting permissions on each startup, place a file named `insecure-permissions.txt` inside the data folder.

# New user interface
This version uses the `ngclient` as the default interface. If some feature is not working as expected, it is possible to switch back to the `ngax` client.
To switch client, replace `ngclient` with `ngax` in the url, or use the `theme.html` page to choose the UI (example: `http://localhost:8200/theme.html`).
Please report any issues with the new UI.

# Removed timeout guard
Due to many reports of failures with the timeout mechanism this has been removed in the current version. It will be added back into each of the backends later.

# Added a new tool for offsite backup
This release features a new tool: `Duplicati.CommandLine.SyncTool.exe` / `duplicati-sync-tool` which can be used to create copies of backup files in multiple locations. The tool is currently documented with the built-in help, and more documentation is on the way. The tool is intended to be more integrated into Duplicati later and enables a straightforward way to achieve 3-2-1 backups, including copies in immutable storage.

## Detailed list of changes:
- Support topics on Telegram reports
- Added remote syncronization tool
- Removed high-level backend timeout
- Added guard to prevent dataloss on shared destinations
- Added option to disable automatic update checks
- Fixed a bug with the new restore that could cause incorrect files to be restored if files alredy exists
- Fixed a case where updated timestamps were discarded if no data was changed
- Added permission updates to data folder
- Fixed automatic fallback on unsupported Zip files
- Fixed multiple issues with TrayIcon state
- Mark Mega.nz backend as deprecated
- Switched to ngclient as the default UI
- Added support for 429 responses on B2

2025-01-31 - 2.1.0.108_canary_2025-01-31
==========
This release is a canary release intended to be used for testing.

# Important change 
This build changes the folder locations for the `Duplicati-server.sqlite` file on Windows and Linux when running as a service.
There is support for backwards compatibility, so existing installations should not be affected.

The detailed changes are:
Windows: Avoid storing data in `C:\Windows\System32\config\systemprofile\AppData\Local\Duplicati` and prefer `{SystemRoot}\Users\LocalService\Duplicati`
Linux: Avoid storing data in `/Duplicati` and prefer `/var/lib/Duplicati`.

If you are not running Duplicati as a service, this has no effect.
If you are using `--server-datafolder` or `DUPLICATI_HOME`, this has no effect on the database, but may cause your machineid and installid to change.

The `machineid.txt` and `installid.txt` would previously be stored in the local app data folder, even when using portable mode or choosing a specific data folder.
This has been fixed, so the files will now follow the database.
If you are using the Duplicati console or otherwise depend on these values, you need to move them into the folder where the database is stored.

# New UI
This release contains an updated version of the new UI.
In the url, change `ngax` to `ngclient` to try the new UI.

## Detailed list of changes:
- Fixed encoding of exported files
- Fixed issue with restore trying to read files opened with write-only
- Improved backend tester
- Missing file detection during recreate is now a warning
- Fixed Minio backend not throwing exceptions
- Fixed hidden files display in source picker
- Added additional source folders for MacOS
- Removed SHA1 signatures on Windows signing
- Rewrote the backend manager to better control backend (re-)use
- Updated reporting to support sending OS type and backend type
- Tagging Docker images with channel, thanks @stavros-k
- Added support for CORS headers in the Webserver
- Unified help arguments across all executables
- Fixed parsing flags as multiple values for FTP SSL type
- Added guard against storing files in Windows folder
- Fixed crash in AutoUpdater

2025-01-17 - 2.1.0.107_canary_2025-01-17
==========
This release is a canary release intended to be used for testing.

**Note that this build has a redesigned restore flow**
Should issues arise, the previous restore engine can be enabled with `--restore-legacy=true`.

This release contains a substantially updated version of the new UI.
In the url, change `ngax` to `ngclient` to try the new UI.

## Detailed list of changes:
- Avoid optimize after vacuum
- Prevent inifinite shutdown loop
- Fixed a recreate database issue
- Added a warning in the UI if the volume size is excessive
- Fixed an issue with AWS S3 permission check
- Prevent a termination error caused by unused transactions
- Updated B2 backend to use HttpClient
- Changed timeouts for WebDAV
- Updated new UI (ngclient)

2025-01-11 - 2.1.0.106_canary_2025-01-11
==========
This release is a canary release intended to be used for testing.

**Note that this build has a redesigned restore flow**
Should issues arise, the previous restore engine can be enabled with `--restore-legacy=true`.

## Detailed list of changes:
- Added server status and wait to ServerUtil
- Fixed an issue where index files would contain replicated blocklists
- Fixed an issue with duplicate blocks preventing repair
- Size strings are now formatted as kikibytes
- Fixed some issues with CIFS/SMB backend

2025-01-07 - 2.1.0.105_canary_2025-01-07
==========
This release is a canary release intended to be used for testing.

**Note that this build has a redesigned restore flow**
Should issues arise, the previous restore engine can be enabled with `--restore-legacy=true`.

## Detailed list of changes:
- Fix issue with FTP not connecting correctly
- Improved large restore speed (+5TiB), thanks @snamds
- Corrected reported options for Azure, Aliyun, OpenStack and Storj
- OpenStack detects protocol version from URL
- Sia redundancy option is now a decimal (culture invariant parsing)
- Added help links to connection dialog and login pages
- Fixed issue with new restore not auto-creating missing folder structure
- Fixed issue with new restore without overwrite
- Fixed a place not honoring disabled quota
- Added CIFS / SMB backend
- Updated MacOS DMG image

2024-12-31 - 2.1.0.104_canary_2024-12-31
==========
This release is a canary release intended to be used for testing.

**Note that this build is using .NET8, unlike the 2.0.8.1 build**

**Note that this build has a redesigned restore flow**
Should issues arise, the previous restore engine can be enabled with `--restore-legacy=true`.

## Detailed list of changes:
- Fixed issue with launchAgent for CLI server not taking an argument
- Added simultaneous file processors, thanks @gpatel-fr
- Updated translations, thansk to many contributors!
- Added NOOP Daemon for FTP backend
- Excluded Google Drive and GCS from timeout streams
- Fixed an issue with the TrayIcon being disconnected after 15 minutes
- Removed the captcha fro full backup removal
- Reduced number of backend instances created
- Removed Windows-only options on the File backend on non-Windows
- Added option to log FTP messages to regular log

2024-12-21 - 2.1.0.103_canary_2024-12-21
==========
This release is a canary release intended to be used for testing.

**Note that this build is using .NET8, unlike the 2.0.8.1 build**

**Note that this build has a redesigned restore flow**
Should issues arise, the previous restore engine can be enabled with `--restore-legacy=true`.

## Detailed list of changes:
- Updated MacOS LaunchAgents to run as current user
- Updated preloader logic to search additional paths
- Fixed a few potential issues in JS
- Disabled openid probing on the server
- Fixed problem with FTP backend not unescaping special characters
- Reduced amount of logging output from Server
- Fixed bugreport download
- Fixed pause/stop/resume/abort and throttle control
- Fixed issues with timeouts in Microsoft Graph-based backends
- Fixed a potential exit crash
- Renamed some strings from "OneDrive v2" to "OneDrive"
- Removed `--use-http-client` from Microsoft Graph-based backends
- Logging on Windows moved to separate Windows Log

2024-12-12 - 2.1.0.102_canary_2024-12-12
==========
This release is a canary release intended to be used for testing.

**Note that this build is using .NET8, unlike the 2.0.8.1 build**

**Note that this build has a redesigned restore flow**
Should issues arise, the previous restore engine can be enabled with `--restore-legacy=true`.

## Detailed list of changes:
- Upgraded FluentFTP to fix a crash on socket timeout
- Removed named channels to fix a rare exception
- Rewrote the restore process to be multithreaded and target optimal disk I/O write performance
- Added missing documentation to the iDrive e2 backend
- Added activity timeout on backend transfers
- Added support for generating a "forever token"

2024-12-06 - 2.1.0.101_canary_2024-12-06
==========
This release is a canary release intended to be used for testing.

**Note that this build is using .NET8, unlike the 2.0.8.1 build**

## Breaking change from previous canary
The pCloud backend is updated to support subfolders.
Paths with `/` will now be treated as a folder structure on pCloud.
Previous version would treat `folder/subfolder` as a single foldername,
this version treats it as `folder` / `subfolder`.

## Detailed list of changes:
- Fixed a case where the TrayIcon would hang in detached mode
- Improved OpenAPI description for filter groups
- Fixed an issue with websocket requests through a proxy
- Updated icons for Linux and dark-mode MacOS
- Added logging of unobserved exceptions
- Fixed a compatibility issue with FTP not correctly detecting explicit TLS
- Fixed an issue where the quota was reported incorrectly
- Removed the unused `--use-block-cache` option
- Agent now has a dedicated `register` command
- Sizes can now be supplied as kikibytes, eg. `20kib`
- Fixed supporting subfolders in pCloud
- Added option to send http requests with relaxed TLS security
- Agent can now be asked to retain the previous UI password
- Updated SSH.NET to v2024.2.0

2024-11-25 - 2.1.0.100_canary_2024-11-25
==========
This release is a canary release intended to be used for testing.

**Note that this build is using .NET8, unlike the current beta**
See release notes from previous canary builds for details.

## Detailed list of changes:
- Fixed startup delay caused by AWS upgrade
- Running WindowsService INSTALL will now automatically start the new service
- Removed log messages from GPG detection
- Fixed an issue with Agent not being able to see connection status in the UI
- Added Downloads folder to list of special folders
- Fixed an issue with the remote control heartbeat period
- Re-introduced the crashlog feature
- Updated FTP backend to be compatible with the previous FTP backend
- Fixed an issue with quiet MSI upgrades
- MSI will automatically attempt to stop and restart the service during install
- Added single-click handler to TrayIcon on Linux+Windows
- Added pCloud native backend
- Fixed issue with DST changes causing schedule time-of-day to change
- Fixed issue with lingering update notification
- Added option to ignore snapshot warnings from HyperV on client-Windows

2024-11-14 - 2.0.9.111_canary_2024-11-14
==========
This release is a canary release intended to be used for testing.
This release is expected to progress to a stable release if no major blockers are found.

**Unlike regular canary builds, this one has a major change in the build system, so it now runs on .NET8.**
The builds are self-contained so Mono or .NET installations are not required to install.

**Important changes from last Beta**
- Updated to .NET8 with OS specific builds
- Using Kestrel as the API/UI server
- Mandatory password and new authentication scheme for server
- Settings database version updated to v8
- Backup database updated to v13

# New tool to manage a running server
Due to incompatibility with `duplicati_client` a new tool is included, named `Duplicati.CommandLine.ServerUtil.exe`/`duplicati-server-util`.

# Upgrade from `v2.0.9.105`
If you are upgrading from 2.0.9.105 please see the release notes from 2.0.9.106 for how to prepare the database. 
Upgrades from other versions do not need special steps.

## Detailed list of changes:
- Added missing options to Agent commandline
- Fixed a warning when using the S3 backend
- Sending package type id to usage reporter
- Reduced log output and increased heartbeat period for Agent

2024-11-09 - 2.0.9.110_canary_2024-11-09
==========
This release is a canary release intended to be used for testing.
This release is expected to progress to a stable release if no major blockers are found.

**Unlike regular canary builds, this one has a major change in the build system, so it now runs on .NET8.**
The builds are self-contained so Mono or .NET installations are not required to install.

For users running on builds prior to 2.0.9.x, this build will appear later as an update that requires manual installation.

**Important changes from last Beta**
- Updated to .NET8 with OS specific builds
- Using Kestrel as the API/UI server
- Mandatory password and new authentication scheme for server
- Settings database version updated to v8
- Backup database updated to v13

Please see list of known issues related to .NET8/Kestrel upgrade:
https://github.com/orgs/duplicati/projects/2

# New tool to manage a running server
Due to incompatibility with `duplicati_client` a new tool is included, named `Duplicati.CommandLine.ServerUtil.exe`/`duplicati-server-util`.

# Upgrade from `v2.0.9.105`
If you are upgrading from 2.0.9.105 please see the release notes from 2.0.9.106 for how to prepare the database. 
Upgrades from other versions do not need special steps.

## Downgrade backup database to v12
If you need to go back to v12, run these two SQL statements:
```
DROP INDEX "UniqueBlockVolumeDuplicateBlock";
UPDATE "Version" SET "Version" = 12;
```

## Detailed list of changes:
- Minor updates to help text and option types
- Fixed an issue with file backend url on Windows, thanks @Jojo-1000
- Fixed a condition that could hang the trayicon on a crash
- Updated AWSSDK to latest version
- Fixed an issue with the AWS Secrets Manader provider stalling the load of settings
- Fixed Telegram notifications
- Added Agent MSI installer
- Updated Avalonia to the latest version to fix crash on Debian
- Added Agent PKG for MacOS
- Added CLI PKG for MacOS
- Added autolaunch for Agent Deb package
- Added option to let scripts create log entries

2024-11-06 - 2.0.9.109_canary_2024-11-06
==========
This release is a canary release intended to be used for testing.
This release is expected to progress to a stable release if no major blockers are found.

**Unlike regular canary builds, this one has a major change in the build system, so it now runs on .NET8.**
The builds are self-contained so Mono or .NET installations are not required to install.

For users running on builds prior to 2.0.9.x, this build will appear later as an update that requires manual installation.

**Important changes from last Beta**
- Updated to .NET8 with OS specific builds
- Using Kestrel as the API/UI server
- Mandatory password and new authentication scheme for server
- Settings database version updated to v8
- Backup database updated to v13

Please see list of known issues related to .NET8/Kestrel upgrade:
https://github.com/orgs/duplicati/projects/2

# New tool to manage a running server
Due to incompatibility with `duplicati_client` a new tool is included, named `Duplicati.CommandLine.ServerUtil.exe`/`duplicati-server-util`.

# Upgrade from `v2.0.9.105`
If you are upgrading from 2.0.9.105 please see the release notes from 2.0.9.106 for how to prepare the database. 
Upgrades from other versions do not need special steps.

## Downgrade backup database to v12
If you need to go back to v12, run these two SQL statements:
```
DROP INDEX "UniqueBlockVolumeDuplicateBlock";
UPDATE "Version" SET "Version" = 12;
```

## Detailed list of changes:
- Updated list of S3 endpoints to include Segate Lyve
- Updated all backends to support asyncronous calls
- Bugfixes for the new API implementation
- Bugfix for recreate failing on some systems
- Added option to disregard advisory locking on Linux
- Fixed issues with WebDAV and self-signed certificates
- Removed the deprecated FTP backend and made FluentFTP handle both FTP and aFTP
- Fixed a performance issue with compacting
- Fixed issues with remote control registration
- Fixed a performance issue with SharpAESCrypt
- Fixed an incorrect error masking another error in backups
- Support for EC-based certificates, thanks @mnaiman
- Always excluding the SQLite journal file for the active database
- Added support for detecting self-signed certificates and securely accepting them
- Cleaned up CSS/Less files, thanks @luixxiul
- Improved IPv6 support for `loopback` and `any`
- Fixed Rclone backend not setting defaults for empty strings
- Fixed a bug in the recompress tool, if not using encryption
- Fixed an issue where SharePoint would not honor the server throttle requests
- Improved cleanup after removing volumes, thanks @Jojo-1000
- Removed 7z compression
- Simplified showing the default value of boolean options
- Fixed an issue with leftover index files, thanks @Jojo-1000 and @ts678
- Fixed an issue that would cause verification errors if the compact was interrupted, thanks @Jojo-1000 and @ts678
- Fixed an issue where `dindex` files would be missing a blocklist, causing extra download on restores
- Fixed CSS/Less to rely on autoprefixer, thanks @luixxiul
- Added support for reducing the system load intensity
- Disabled Telegram notification destination
- Added support for external secret providers

2024-10-03 - 2.0.9.108_canary_2024-10-03
==========
This release is a canary release intended to be used for testing in preparation of a later stable release.

**Unlike regular canary builds, this one has a major change in the build system, so it now runs on .NET8.**

For that reason, the updater in previous canary builds does not detect this update yet, but this can be activated at a later time.

The builds are self-contained so Mono or .NET installations are not required to install.

**Important changes from last Beta**
- Updated to .NET8 with OS specific builds
- Using Kestrel as the API/UI server
- Mandatory password and new authentication scheme for server
- Settings database version updated to v8

Please see list of known issues related to .NET8/Kestrel upgrade:
https://github.com/orgs/duplicati/projects/2

# New tool to manage a running server
Due to incompatibility with `duplicati_client` a new tool is included, named `Duplicati.CommandLine.ServerUtil.exe`/`duplicati-server-util`.

# Upgrade from `v2.0.9.105`
If you are upgrading from 2.0.9.105 please see the release notes from 2.0.9.106 for how to prepare the database. 
Upgrades from other versions do not need special steps.

# New experimental UI
This version features a new more modern UI based on Angular18 :tada:
Not all features are implemented just yet, so the new UI is not yet default.
The curious ones can try it by visiting `http://localhost:8200/theme.html` (or similar).

## Detailed list of changes:
- Added export feature to server-util
- Default to using .NET built-in Zip code for performance improvements
- Added `/health` healthcheck API to server + server-util
- Removed unuspported use of `Thread.CurrentCulture`
- Removed unsupported use of `Environment.OSVersion`
- Removed support for piped download as it was slow and caused hangs
- Fixed an issue with multi-instance detection that caused crashes
- Added a new experimental UI
- Added support for enabling remote control

2024-09-11 - 2.0.9.107_canary_2024-09-11
==========
This release is a canary release intended to be used for testing in preparation of a later stable release.

**Unlike regular canary builds, this one has a major change in the build system, so it now runs on .NET8.**

For that reason, the updater in previous canary builds does not detect this update yet, but this can be activated at a later time.

The builds are self-contained so Mono or .NET installations are not required to install.

**Important changes from last Beta**
- Updated to .NET8 with OS specific builds
- Using Kestrel as the API/UI server
- Mandatory password and new authentication scheme for server
- Settings database version updated to v8

Please see list of known issues related to .NET8/Kestrel upgrade:
https://github.com/orgs/duplicati/projects/2

# New tool to manage a running server
Due to incompatibility with `duplicati_client` a new tool is included, named `Duplicati.CommandLine.ServerUtil.exe`/`duplicati-server-util`.

# Upgrade from `v2.0.9.105`
If you are upgrading from 2.0.9.105 please see the release notes from 2.0.9.106 for how to prepare the database. 
Upgrades from other versions do not need special steps.

## Detailed list of changes:
- Prepared some additional localization strings
- Fixed a bug with server-util not finding backups by name
- Added support for insecure connections from server-util
- Embedding backwards compatible ARMv7 binaries in builds
- Another fix for MSI packages breaking on upgrade
- Improved Swagger output to include types
- Replaced `WebRequest` for WebDAV with `HttpClient`
- Reduced log output from server-util and TrayIcon
- Microfix for USN parsing
- Fixed a case where almost identical files could cause broken index files, thanks @Jojo-1000
- Also improved handling when reading index files with broken lists, thanks @Jojo-1000
- Fixed auto-repair failing due to locked databases, thanks @Jojo-1000

2024-09-03 - 2.0.9.106_canary_2024-09-03
==========
This release is a canary release intended to be used for testing in preparation of a later stable release.

**Unlike regular canary builds, this one has a major change in the build system, so it now runs on .NET8.**

For that reason, the updater in previous canary builds does not detect this update yet, but this can be activated at a later time.

**Important changes from last Beta**
- Updated to .NET8 with OS specific builds
- Using Kestrel as the API/UI server
- Mandatory password and new authentication scheme
- Settings database version updated to v8

Please see list of known issues related to .NET8/Kestrel upgrade:
https://github.com/orgs/duplicati/projects/2

# New tool to manage a running server
Due to incompatibility with `duplicati_client` a new tool is included, named `Duplicati.CommandLine.ServerUtil.exe`/`duplicati-server-util`.

The new tool can pause/resume a backup, run a backup, change the password and more:
https://github.com/duplicati/duplicati/pull/5483

# Encrypting database fields
To reduce the risk of leaking encryption passphrases and credentials, 
many fields in the `Duplicati-server.sqlite` file can now be encrypted with user supplied key.

The following environment variables control the encryption options:
- `SETTINGS_ENCRYPTION_KEY`: Provides the settings encryption key.
- `DUPLICATI__REQUIRE_DB_ENCRYPTION_KEY=true`: Prevents starting with a key (also supported via `--require-db-encryption-key-true`).
- `DUPLICATI__DISABLE_DB_ENCRYPTION=true`: Forces Duplicati to run without encryption (also supported via `--disable-db-encryption=true`).

If you need to change the key, you can temporarily decrypt the database by starting the server with `--disable-db-encryption`.
After starting, stop the instance again, change `SETTINGS_ENCRYPTION_KEY` to the new key and start again without the argument, to have it re-encrypted.

To downgrade from this version, run once with `--disable-db-encryption`, and change the version number to 7, then install the previous version.

**Note for users of 2.0.9.105:** The method for extracting an encryption key from the machine seriail number did not produce secure results. 
This feature has now been removed, and will prevent you from upgrading. To upgrade from 2.0.9.105, start with `--disable-db-encryption`, then exit, then upgrade to 2.0.9.106+.
Users from other versions than 2.0.9.105 will not have difficulties, and Docker users should not see any issues either.

## Detailed list of changes:
- Fixed console duration output including days
- Added blacklisting of some settings encryption keys
- Refactored the way databases are located to use shared code
- Fixed translation consistency issues, thanks @luixxiul
- Fixed missing commandline help on Windows
- Added dift support for JWT expiration
- Removed DeviceId as the source for settings encryption keys
- Fixed an issue where an authentication issue was reported as a server error
- Fixed MSI packages failing to upgrade
- Re-added the `FORSERVICE=true` flag to MSI packages
- Improved diganostics output from server-util

2024-08-29 - 2.0.9.105_canary_2024-08-29
==========
This release is a canary release intended to be used for testing in preparation of a later stable release.

**Unlike regular canary builds, this one has a major change in the build system, so it now runs on .NET8.**

For that reason, the updater in previous canary builds does not detect this update yet, but this can be activated at a later time.

**Important changes from last Beta**
- Updated to .NET8 with OS specific builds
- Using Kestrel as the API/UI server
- Mandatory password and new authentication scheme
- Settings database version updated to v8
- Encrypting data in `Duplicati-server.sqlite` with machine serial number

Please see list of known issues related to .NET8/Kestrel upgrade:
https://github.com/orgs/duplicati/projects/2

# New tool to manage a running server
Due to incompatibility with `duplicati_client` a new tool is included, named `Duplicati.CommandLine.ServerUtil.exe`/`duplicati-server-util`.

The new tool can pause/resume a backup, run a backup, change the password and more:
https://github.com/duplicati/duplicati/pull/5483

# Encrypting database fields
To reduce the risk of leaking encryption passphrases and credentials, 
many fields in the `Duplicati-server.sqlite` file will be encrypted after running this version.
The key used to encrypt is derived from the machine serial number, so **the database cannot be decrypted on another machine**.

If your strategy relies on being able to read this database, you must take action.
These two setups are vulnerable:
- If you do not store a copy of the passphrase elsewhere
- If you make a copy of the settings database

We strongly recommend that you store a copy of the passphrase(s) securely, regardless of your setup.

If you want to choose the settings encryption key, you can set the environment variable `SETTINGS_ENCRYPTION_KEY` to a custom value.
If you want to never use the serial number as the passphrase, set the environment 
variable `DUPLICATI__REQUIRE_DB_ENCRYPTION_KEY=true`, which will prevent Duplicati from starting without a user provided key.

If you need to change the key, you can temporarily decrypt the database by starting the server with `--disable-db-encryption`.
After starting, stop the instance again, set `SETTINGS_ENCRYPTION_KEY` and start again without the argument, to have it re-encrypted.

To downgrade from this version, run once with `--disable-db-encryption`, and change the version number to 7, then install the previous version.

As always, feedback is appreciated!

## Detailed list of changes:
- Simplified logic for finding the folder containing the settings database
- Encrypting settings in database with machine serial number
- Fixed issue with server not responding to CTRL+C or stop commands
- Fixed issue with TrayIcon not trying multiple ports
- Added utility program to control a running server
- Improved the initial password setup experience
- Added support for logging to Windows Event Log and added Description to Windows Service
- Fixed an issue where the retention value could not be saved if it was a number
- Fixed an upgrade issue where `%HOME%` would not resolve correctly on Linux
- Fixed an issue with parsing `--send-http-result-output-format`
- Updated Docker image to use environment variables and not use settings encryption by default
- Added support for pre-loading default settings on a machine or installation

2024-08-21 - 2.0.9.104_canary_2024-08-21
==========
This release is a canary release intended to be used for testing in preparation of a later stable release.

**Unlike regular canary builds, this one has a major change in the build system, so it now runs on .NET8.**

For that reason, the updater in previous canary builds does not detect this update yet, but this can be activated at a later time.

**Important changes from last Beta**
- Updated to .NET8 with OS specific builds
- Using Kestrel as the API/UI server
- Mandatory password and new authentication scheme
- Settings database version updated to v7

Please see list of known issues related to .NET8/Kestrel upgrade:
https://github.com/orgs/duplicati/projects/2

## Detailed list of changes:
- Removed some console logging in JS
- Updates to localization, thanks @luixxiul
- Improved navigation in UI, thanks @luixxiul
- Fixed some issues with using TrayIcon detached from Server
- Made hostname validation more backwards compatible

2024-08-15 - 2.0.9.103_canary_2024-08-15
==========
This release is a canary release intended to be used for testing in preparation of a later stable release.

** Unlike regular canary builds, this one has a major change in the build system, so it now runs on .NET8. **

For that reason, the updater in previous canary builds does not detect this update yet, but this can be activated at a later time.

** Important changes from last Beta **
- Updated to .NET8 with OS specific builds
- Using Kestrel as the API/UI server
- Mandatory password and new authentication scheme
- Settings database version updated to v7

Please see list of known issues related to .NET8/Kestrel upgrade:
https://github.com/orgs/duplicati/projects/2

## Detailed list of changes:
- Multiple updates for styling and visual consistency, thanks @luixxiul
- Extensive work on making all documentation strings follow a consistent logic, thanks @luixxiul
- Fixed support for Websocket over https, thanks @Riches
- Fixed an issue with `--webservice-allowed-hostnames` being renamed
- Fixed support for captcha on systems without the Arial font
- Using different default filenames for logging with TrayIcon and Server
- Fixed issue with livelog not showing contents
- Fixed an issue where a login issue would not show an option to log in
- Fixed showing correct port number in log output
- Fixed not showing scheduler state and next backup
- Fixed an issue where a crash would show the wrong stack trace
- Fixed an issue with generating massive number of inotify watchers
- Re-enabled the button to log out
- Added option to disable the visual captcha
- Added support for providing server commandline arguments via environment variables
- Fixed log error message related to update download url
- Added Telegram reporting module

2024-08-02 - 2.0.9.102_canary_2024-08-02
==========
This release is a canary release intended to be used for testing in preparation of a later stable release.

** Unlike regular canary builds, this one has a major change in the build system, so it now runs on .NET8. **

For that reason, the updater in previous canary builds does not detect this update yet, but this can be activated at a later time.

Please see release notes for `v2.0.9.100` for a summary of changes.
Please see list of known issues related to .NET8 upgrade:
https://github.com/orgs/duplicati/projects/2

This build is changes the underlying webserver to Kestrel, which is common for .NET based projects.
A big thanks to @tsuckow and @npodbielski for their contributions towards this goal.

** This build changes authentication for the WebUI **
With this build it is no longer possible to use the web-UI without a password. 
If no password is set, a random password is generated.
For users activating the UI via the TrayIcon, this will automatically log in, as the TrayIcon hosts the server.
For users that rely on the WebUI without the TrayIcon, as special link is emitted during startup that allows login.
For both cases, the password can be (re-)set with `--webservice-password=...` as a startup commandline argument.

## Detailed lits of changes:
- Updated libraries: Mega, SharpAESCrypt, Storj, FluentFTP
- Updated Webserver to Kestrel, thanks @tsuckow and @npodbielski
- Implemented websocket based messages in WebUI, thanks @npodbielski
- HTTP reports now give a warning if the server rejects the message
- Extensive changes to strings to improve localization, structure and layout in WebUI, thanks @luixxiul
- Uplink libraries fixed on all platforms, thanks @TopperDEL
- Fixed an issue where strings with line-breaks would not show in translated form
- Removed remnants of Tardigrade backend in favor of Storj API
- Added Sakura Cloud to list of S3 providers
- Changed aFTP default SSL to `None`, meaning "System Default"
- Added check to find Duplicati server database in old location on MacOS
- Fixed issues with `.deb` packages overwriting options file on update
- Fixed issue with backups using VSS and a drive letter as the source
- Fixed issue with Arm 32bit not reading files larger than 4GiB

2024-06-27 - 2.0.9.101_canary_2024-06-27
==========
This release is a canary release intended to be used for testing in preparation of a later stable release.

** Unlike regular canary builds, this one has a major change in the build system, so it now runs on .NET8. **

For that reason, the updater in previous canary builds does not detect this update yet, but this can be activated at a later time.

Please see release notes for `v2.0.9.100` for a summary of changes.

## Detailed lits of changes:
- Removed obsolete platform detection code, thanks @Jojo-1000
- Changed XMPP library to Artalk.Xmpp, thanks @Jojo-1000
- Fixed an issue with rendering non-ascii
- Cleaned up some library licenses
- Fixed SQL quotes and added quote guard to SQL queries, thanks @Jojo-1000
- Updated AWS region list
- Fixed compare logic not working on Linux, thanks @Jojo-1000
- Added logic to set AWS hostname in UI based on selected region
- Removed deprecated S3 options `--s3-european-buckets` and `--s3-use-rrs`
- Removed support for deprecated spelling of S3 credentials
- Removed bundled GPG Windows binaries
- Removed unsupported AlphaFS
- Changed restore to not use local blocks by default
- Updated Poli Systems endpoints, thanks @IIPoliII
- Added Debian Arm7 packages
- Updated CoCoL to latest .NET 8 version
- Added support for arguments for scripts
- Improved speed of the recovery tool, using in-memory lookup and added configurable open archive cache
- Increasing the default number of archives tested to 0.1%
- Updated SharpAESCrypt to v2. Note this deprecates threaded encryption, and adds padding validation. Set the environment variable `AES_IGNORE_PADDING_BYTES=1` if you re-encrypt archives with an external AES Crypt tool.

2024-05-30 - 2.0.9.100_canary_2024-05-30
==========
This release is a canary release intended to be used for testing in preparation of a later stable release.

** Unlike regular canary builds, this one has a major change in the build system, so it now runs on .NET8. **

For that reason, the updater in previous canary builds does not detect this update yet, but this can be activated at a later time.

## These are some of the major changes that can cause surprises, so please review and see if any are relevant for your usage:

- Changed runtime to .NET8, shipping with dependencies, no more Mono or .NET install required
- Changed from portable executable to operating system and CPU architecture dependent packages
- Server database with SQLite is no longer "encrypted" with RC4, running a new canary or later will decrypt the database
- The executable `Duplicati.Library.AutoUpdater.exe` is renamed to `Duplicati.CommandLine.AutoUpdater.exe` and has limited functionality
- The Windows MSI installer has been reduced, it offers essentially no options for now and no UI
- The updater has been rewritten to rely on installing the packages, instead of having the "in-place" updates
  - There are now longer a spawned secondary process
  - The updates folder can be deleted
  - Installing an update now requires manually downloading and running the installer (you still get a notice)
 - To fit better with non-Windows systems the executables on non-Windows are all lower-case and prefixed with `duplicati`:
    - `Duplicati.GUI.TrayIcon.exe` -> `duplicati`
    - `Duplicati.CommandLine.exe` -> `duplicati-cli`
    - `Duplicati.RecoveryTool.exe` -> `duplicati-recovery-tool`
    - ... and similar for others

## More detailed list of changes:
- More than 300 commits for the change to .NET8, credits to @mnaiman, @tsuckow, @Jojo-1000, @npodbielski and many others
    - These commits were done over many years an accumulated, so here is a summary
    - Changes to support new .NET framework methods
    - Changed to use Avalonia UI instead of WinForms
    - Removed `mono` support and requirement
    - Upgraded packages
    - Reworked binaries and some queries for SQLite
- 1MiB blocksize default, thanks @mr-russ
- IOScheduling for RPM packages, thanks @achims311
- Selective dynamic loading of modules to avoid loader errors
- New manifest for updater
- Added GNUGP to Docker, thanks @wjansenw
- Improved cross-platform support, thanks @SimonNyvall
- Fixed issue with custom reporting message for http-modules
- RC4 database encryption
- Fixed issues with recoverytool, thanks @Jojo-1000
- Additional quota control options, thanks @Jojo-1000
- Improved file-source picker with filters, thanks @Jojo-1000
- Fixes to forced local, thanks @Jojo-1000
- Fixed an issue with OpenStack loosing username and password, thanks @Jojo-1000
- Improved handling of boolean options in the UI, thanks @Jojo-1000
- Fixed issues with missing executables and permissions on non-Windows
- Fixed an issue when restoring without a localdatabase, using non-default blocksize, and no parameters
- Rebuilt the MSI proces for `wixl` support
- Added Win-Arm64 support

2024-04-19 - 2.0.7.103_canary_2024-04-19
==========
- Added microfix that adds a missing default value to the backup reports.

2024-04-03 - 2.0.7.102_canary_2024-04-03
==========
This build is intended to be the last build that uses .Net4 (aka .Net Desktop).
Future builds are expected to use .Net8 and will require a manual update,
because the .Net builds are no longer operating system independent.

The upside is that there are fewer dependencies (no more Mono),
and execution times are greatly improved.

* Removed donation messages
* Updated MacOS Installer license text
* Updated installer to support future manual upgrade
* Added information to reports when encountering an exception

2024-03-08 - 2.0.7.101_canary_2024-03-08
==========
* Updated license to MIT, thanks @kenkendk
* Fixed crash when logging startup errors, thanks @Jojo-1000
* Updated SSH.Net, thanks @gpatel-fr
* Fixed exception happening when stopping the running backup, thanks @Jojo-1000
* Fixed issue with connecting to server thanks @kellycampbe
* Improved file-backend listing speed, thanks @Jojo-1000
* Added support for IPv6 addresses as hostnames, thanks @Jojo-1000
* Added AliyunOSS backend, thanks @trueai-org
* Added fix to not show empty form on restarts, thanks @kenkendk
* Updated Uplink for Storj to 2.12, thanks @gpatel-fr and @kenkendk
* Added machine and backup id options for reports, thanks @kenkendk
* Fixed issues with using alternate OAuth server url, thanks @gpatel-fr and @kenkendk

2023-12-27 - 2.0.7.100_canary_2023-12-27
==========
This canary is a bugfix release with error reporting improvements, no database format change.
Options changes:
     `--s3-disable-chunk-encoding` added to the AWS backend (only useful for some providers)
     `--full-remote-verification` changes from a boolean option to a tri-valued one. Existing configurations should not be impacted.
     `--aftp-log-to-console` and `--aftp-log-privateinfo-to-console` added to the Alternative Ftp backend (for debugging purposes only)
     `--repair-force-block-use` added to the database rebuild process (only for very damaged databases)

Changes:
  - Fix various bugs with backup filters, thanks @jojo-1000
  - Fix highlighting in restore file picker, thanks @jojo-1000
  - Update mail libraries, thanks gpatel-fr
  - Remove dead facebook link and add doc link, thanks @jojo-1000
  - Remove obsolete hubic backend, thanks @gpatel-fr
  - Remove obsolete tool TlsTest, thanks @gpatel-fr
  - Update Serbian translation, thanks @sagitarion
  - Improve result reporting for interrupted/failed backups, thanks @jojo-1000
  - Add return code 3 to help.txt, thanks @gpatel-fr
  - Fix missing file error caused by interrupted compact, thanks @jojo-1000 and @warwickmm
  - Include exception type and message in job log, thanks @jojo-1000
  - Update thirdparty info to remove obsolete references, thanks @gpatel-fr
  - Remove JS error in negated 'IN' expressions, fixing bad restore prompt (thanks @gorosgobe and Bloomberg)
  - Update restsharp, thanks @gpatel-fr
  - Update FluentFTP (Alternative FTP) to 46.0.2 and fixes for initial directory creation, thanks @taz-il
  - Add console log to the Alternative FTP backend, thanks @gpatel-fr
  - Fix hidden username and password options when changing backends, thanks @jojo-1000
  - Add option to disable chunked encoding for AWS S3, thanks @jojo-1000
  - Specify the name of the backup when reporting failures, thanks @taz-il
  - Allow to perform tests without checking file list, thanks @gpatel-fr
  - Enhance database rebuilding of very damaged databases, thanks @gpatel-fr
  - Set the job state to error when post backup verification fails, thanks @gpatel-fr
  - Allow full-remote-verification to target only list and index files, thanks @gpatel-fr
  - Fix restore search error in RestoreController, thanks @jojo-1000
  - Replace agsXmpp with Sharp.Xmpp, thanks @gpatel-fr
  - Set default log level to Dryrun if dryrun option is set, thanks @gpatel-fr
  - Enhance Python restore tool, thanks @gpatel-fr
  - Report all filesets in error in VerifyConsistency, thanks @gpatel-fr
  - Remove reliance on statusText for error messages (http2 proxy support), thanks @jojo-1000
  - Keep user-defined whitespace in description field (allow multiline support), thanks @jojo-1000
  - Force a vacuum of bug report database for privacy reasons, thanks @gpatel-fr

2023-05-25 - 2.0.7.2_canary_2023-05-25
==========
- update Github tests versions, thanks @taz-il
- Add Catalyst Cloud as an OpenStack target, thanks @Andrew Ruthven

2023-05-25 - 2.0.7.1_beta_2023-05-25
==========
After almost 2 years, a new Beta has taken its time, but it’s finally 
there. It’s a roll-up of all the fixes since the last beta build and is 
expected to cause very few issues when upgrading. This release is almost 
identical to Canary 106.

It involves a better UI for dark mode, better support for Dropbox, 
Jottacloud, S3, Tencent backends, add IDrive backend, TLS modernization, 
bug fixes, upgrades to libraries.

Points of attention:

- database upgrade from 11 to 12: Downgrade from this version requires 
manually adjusting the version 
number in the database. The additions can be re-applied if the database is 
upgraded again later.
