Commit Graph
14108 Commits
Author SHA1 Message Date
Kenneth Skovhede a3741d559c Revert testing change 2026-06-15 16:24:50 +02:00
Kenneth Skovhede a406c418ab Expand test to cover directory ADS 2026-06-15 16:12:28 +02:00
Kenneth Skovhede 980f80084c Handle case where ADS was restored before the host entry. 2026-06-15 16:10:26 +02:00
Kenneth Skovhede 2c64191c39 Fixes to tests 2026-06-15 15:58:50 +02:00
Kenneth Skovhede 1f3f4976f2 Added support for ADS in TargetCalculation 2026-06-15 15:48:23 +02:00
Kenneth Skovhede da83bf1cd2 Fixed a few failing tests 2026-06-15 15:45:51 +02:00
Kenneth Skovhede 9f3ea8f805 Fixed isseus with restoring ADS correctly 2026-06-15 14:43:24 +02:00
Kenneth SkovhedeandGitHub eeb9bea2d9 Merge branch 'master' into feature/support-ads 2026-06-12 19:43:31 +02:00
Kenneth SkovhedeandGitHub cdc4368c0f Merge pull request #6961 from duplicati/feature/fix-minor-issues-with-remote-sources
Fix minor issues with remote sources
2026-06-12 19:43:07 +02:00
Kenneth SkovhedeandGitHub ffd32988af Merge pull request #6960 from duplicati/feature/improve-license-flexibility
Improve license flexibility
2026-06-12 19:41:40 +02:00
Kenneth Skovhede 6313471ffa Fix minor issues with remote sources
This updates some minor issues that would cause warnings or make things appear to not work, even though they would work fine when actually running a backup.
2026-06-12 13:47:49 +02:00
Kenneth SkovhedeandGitHub 3f7161873a Merge branch 'master' into feature/improve-license-flexibility 2026-06-12 13:35:50 +02:00
Kenneth SkovhedeandGitHub 6ceadf2afb Merge pull request #6959 from duplicati/feature/browse-remote
Added unified interface for remote browsing.
2026-06-12 13:35:38 +02:00
Kenneth SkovhedeandGitHub d4c2f7ad86 Merge pull request #6957 from duplicati/feature/always-install-windowsservice
Always install WindowsService.exe
2026-06-12 13:35:13 +02:00
Kenneth Skovhede 243cb62975 Improve license flexibility
This changes the way license usage is calculated. Previously the licenses would prohibit enumerating more than what was licensed. This had the benefit that the backup engine was unaware that more items exists.

However, this also prevented filtering items, as the enumeration happens before the filters are applied.

With the new approach, enumeration is applied without imposing limitations, but actually reading the items are limited. This allows filtering unwanted items, and they will not count towards usage.

The downside of this approach is that the backup will contain empty "folders" that could, at a glance, appear to contain everything, but are in fact just empty folders.

To mitigate this, the warning message now explictly mentions that some folders may be empty.
2026-06-12 13:34:04 +02:00
Kenneth Skovhede b67a73553a Added unified interface for remote browsing.
This PR adds a single API endpoint for listing contents of remote source or backend. With this API, we can greatly simplify the FE as it does not need to know about webmodules for each provider, but can just use the single API.

To support this, the fulldisk module was updated slightly to return enumerable meta entries, similar to ms365 and gws providers.
2026-06-12 11:06:21 +02:00
Kenneth Skovhede a438e2d675 Update Agent MSI to not include options and no shortcuts are installed.
Since the service starts automatically, there are no options to start it either.
2026-06-10 16:44:14 +02:00
Kenneth Skovhede 3d37498a0b Always install WindowsService.exe
The MSI update to a managed service component meant that the `Duplicati.WindowsService.exe` would only be installed if the "Install as service" option was selected.

This PR fixes it by directly installing `Duplicati.WindowsService.exe` in case the service install is not selected.
2026-06-10 16:31:37 +02:00
Kenneth SkovhedeandGitHub 87b6f636fc Merge pull request #6955 from duplicati/feature/add-server-side-filters
Add server-side filter eval
2026-06-09 21:00:21 +02:00
Kenneth SkovhedeandGitHub 6deed30db4 Merge pull request #6953 from duplicati/feature/block-path-traversal-in-recovery-tool
Block path traversal in recovery tool
2026-06-09 10:14:06 +02:00
Kenneth SkovhedeandGitHub 04a0619296 Merge pull request #6952 from duplicati/feature/allow-disable-default-secret-provider
Allow disable default secret provider
2026-06-09 10:13:41 +02:00
Kenneth Skovhede 2a71a1e816 Add server-side filter eval
This PR adds a service-side function to perform filter evaluation. This can be used by the FE to get more correct results when using complicated filters.

This fixes #6926
This fixes #4194
This fixes #3180
2026-06-09 10:10:03 +02:00
Kenneth Skovhede ce006a695d Merge branch 'master' of github.com:duplicati/duplicati 2026-06-08 19:33:25 +02:00
Kenneth Skovhede a4820ccb62 Implement support for ADS
This PR implements support for reading and writing alternate data streams on Windows.

For now, the option is disabled by default and needs to be enabled with `--enable-ads-backup`. After this option is set, Duplicati will also extract any alternate datastreams from the filesystem and include them in the backup.

By default, ADS elements will be restored, but `--disable-ads-restore` can be used to ignore any ADS elements during the restore process.

This fixes #189
2026-06-08 19:33:01 +02:00
Kenneth Skovhede 8cb1c9562e Block path traversal in recovery tool
This adds a check that prevents restoring files outside the specified target folder when using the recovery tool.

When choosing to restore to a specific folder, the expectation is that files are not restored outside the folder, which could happen with symlinks or manually crafted entries. This blocks it the same way the regular restore does and also supports `--allow-restore-outside-target-directory` to disable the check.
2026-06-08 19:17:07 +02:00
Kenneth SkovhedeandGitHub a096b3ca24 Merge pull request #6950 from duplicati/feature/case-change-usn
Fixed a case-change issue with USN
2026-06-08 17:33:15 +02:00
Kenneth SkovhedeandGitHub 2127397001 Merge pull request #6951 from duplicati/feature/remove-async-warnings
Rename to fix warnings
2026-06-08 17:32:50 +02:00
Kenneth Skovhede 0e36faab78 Allow disable default secret provider
This PR adds a new option `--disable-default-secret-provider` that will fully disable probing for the default secret provider.

This is to assist in cases where the secret provider is broken or shows unwanted popup dialogs.
2026-06-08 17:32:21 +02:00
Kenneth Skovhede 98ce287522 Rename to fix warnings
Recent C# compilers warn if async methods are not suffixed with `Async`.

This PR fixes a number of such warnings.
2026-06-08 13:16:17 +02:00
Kenneth Skovhede ba55762261 Fixed a case-change issue with USN
This fixes a case where an unmodified file that was renamed, but only had changes to the casing (i.e., `file.txt` to `FILE.txt`) would ignore the new name.

If the file contents or metadata were changed, the filename would be updated, but for pure renames, the new name would not be picked up.

This issue is only present if USN was also applied, and the bug is only present on Windows.
2026-06-08 11:03:37 +02:00
Kenneth SkovhedeandGitHub 34aab9d7d1 Merge pull request #6949 from duplicati/release/canary-2.3.0.104
Version bump to v2.3.0.104-2.3.0.104_canary_2026-06-04
2026-06-05 08:35:51 +02:00
Kenneth Skovhede 996c83818b Version bump to v2.3.0.104-2.3.0.104_canary_2026-06-04
You can download this build from:

Binaries: https://updates.duplicati.com/canary/?version=2.3.0.104

Signature file: https://updates.duplicati.com/canary/duplicati-2.3.0.104_canary_2026-06-04.signatures.zip
v2.3.0.104_canary_2026-06-04 v2.3.0.104-2.3.0.104_canary_2026-06-04
2026-06-05 00:04:12 +02:00
Kenneth Skovhede 37f612c1e7 Improved display from build tool 2026-06-04 21:45:09 +02:00
Kenneth SkovhedeandGitHub e783f33ec4 Merge pull request #6948 from duplicati/feature/bump-ngclient-225
Bump ngclient to 225
2026-06-04 20:36:15 +02:00
Kenneth Skovhede 736df8173b Bump ngclient to 225
This updates ngclient to 225, and also adds `--duplicati-webservice-suppress-welcome-page` to automatically disable the welcome page that is shown on new installs.
2026-06-04 20:09:04 +02:00
Kenneth SkovhedeandGitHub 732e4f63b6 Merge pull request #6947 from duplicati/feature/handle-extended-win32-fileattributes
Handle extended Win32 file attributes
2026-06-04 16:07:15 +02:00
Kenneth SkovhedeandGitHub 148558ae0d Merge pull request #6946 from duplicati/feature/s3-lockmode-fix
Get correct S3 lock mode values
2026-06-04 10:40:03 +02:00
Kenneth Skovhede aceafbd52c Fixed option name typo 2026-06-04 10:38:33 +02:00
Kenneth Skovhede ba58064de8 Handle extended Win32 file attributes
This PR extends the handling of excluded file attributes on Windows to include additional values that are present in Windows 10+11, but are not yet part of the .NET file attributes.

Specifically, this handles the `FILE_ATTRIBUTE_RECALL_ON_OPEN` and `FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS` attributes which are used to signal files are not available locally and will be fetched on access.

On Windows, a new option `--exclude-non-local-files` is added which will simply update `--exclude-files-attributes` with `Offline,RecallOnOpen,RecallOnDataAccess` such that setting the option will exclude offline files from the backup, without requiring that the user is aware of the attribute names or effects.

For all platforms, this PR also updates the parsing of the `--exclude-files-attributes` so it is now a flags-type enum and will validate the input as well as show the possible options in help and dropdowns.
2026-06-04 10:14:29 +02:00
Kenneth Skovhede 4ff6e0f5cc Get correct S3 lock mode values
This fixes an issue with reading S3 Lock Mode values, causing the UI to not display any values.

This fixes #6941
2026-06-04 09:01:52 +02:00
Kenneth SkovhedeandGitHub 09be7a4642 Merge pull request #6868 from carljohnsen/feature/full-disk-ntfs
Feature/Full disk NTFS support
2026-06-04 07:54:30 +02:00
Kenneth SkovhedeandGitHub 4cdc0d5233 Merge pull request #6925 from carljohnsen/feature/autotune-tool
Feature/AutoTune tool
2026-06-03 22:54:18 +02:00
Kenneth Skovhede 1e216110e1 Merge commit '1250b1c9641bef873c60df8a02b1194fe4ed36ca' into feature/full-disk-ntfs 2026-06-03 22:01:37 +02:00
Kenneth Skovhede bb654749b8 Merge remote-tracking branch 'origin/master' into feature/full-disk-ntfs 2026-06-03 21:51:15 +02:00
Kenneth SkovhedeandGitHub 1250b1c964 Merge pull request #6945 from duplicati/feature/context-aware-testing
Added read-only testing to backends
2026-06-03 21:35:14 +02:00
Kenneth Skovhede fb005a4bed Introduce namespace 2026-06-03 21:34:25 +02:00
Kenneth Skovhede 26a193aee1 Fixed compile issue 2026-06-03 21:33:46 +02:00
Kenneth SkovhedeandGitHub 8b5a802808 Merge pull request #6943 from duplicati/feature/make-fs-parsing-experimental
Make FS parsing experimental
2026-06-03 21:30:28 +02:00
Kenneth Skovhede 4a81fd280a Prevent build failure 2026-06-03 18:40:10 +02:00
Kenneth Skovhede c8fb0255d3 Fixed Async suffix 2026-06-03 18:36:33 +02:00