Commit Graph
12475 Commits
Author SHA1 Message Date
Kenneth SkovhedeandSvend Roperos 0d57f2ceea Rewrote HyperV and MSSQL parser to support paths under each instance.
This also cleans up the filters slightly, so the logic for "first match" still holds.

If an item is excluded, and subfolders are also automatically excluded.
2025-09-04 20:14:52 +02:00
Kenneth SkovhedeandSvend Roperos 18485e9f05 Moved handling of MSSQL and HyperV custom enumerators into the Filesystem API call, so the client does not need to be aware of such an entry.
The previous plugin added paths directly to the source, so if a single path was added from a VM, it would no longer appear to be attached to that VM.

This change modifies the logic so there are now paths of the form:
```
%HYPERV%\\123-456\\C:\HyperV\File1.bin
```

The HyperV and MSSQL modules do not currently parse this new format.
2025-09-04 20:14:52 +02:00
Kenneth SkovhedeandGitHub a949fb3af5 Merge pull request #6493 from duplicati/feature/remove-incorrect-display-custom-value
Removed incorrect display of custom value
2025-09-04 18:34:18 +02:00
Carl-Johannes JohnsenandGitHub eb8f90eb27 Merge pull request #6491 from carljohnsen/bugfix/restore-blockcount-mismatch
Bugfix/restore blockcount mismatch
2025-09-04 14:57:05 +02:00
Kenneth Skovhede d796e02451 Removed incorrect display of custom value 2025-09-04 14:24:20 +02:00
Carl Johnsen 53d78e9c19 Added a test for when trying to restore a file that is locked by someone else 2025-09-01 14:00:49 +02:00
Carl Johnsen 8ad2111dee I/O errors weren't properly thrown in the new restore flow 2025-09-01 14:00:13 +02:00
Kenneth SkovhedeandGitHub 163f15c4fa Merge pull request #6486 from duplicati/release/canary-2.1.1.101
Version bump to v2.1.1.101-2.1.1.101_canary_2025-08-19
2025-08-19 13:16:18 +02:00
Kenneth Skovhede 6dde15c567 Version bump to v2.1.1.101-2.1.1.101_canary_2025-08-19
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.1.101_canary_2025-08-19.signatures.zip
v2.1.1.101_canary_2025-08-19 v2.1.1.101-2.1.1.101_canary_2025-08-19
2025-08-19 12:45:40 +02:00
Kenneth Skovhede 1a51d57b5b Bumped ngclient to 0.0.149 2025-08-19 11:07:28 +02:00
Kenneth Skovhede 1c266110e0 Upgrade to latest libicu in Docker, and switch to libssl3t64 2025-08-19 11:02:31 +02:00
Kenneth Skovhede 68894f7c3b Bump ngclient to 0.0.148 2025-08-18 12:12:43 +02:00
Kenneth SkovhedeandGitHub 92ab1abb0b Merge pull request #6484 from duplicati/feature/fix-precalculated-s3-hash
Fixed pre-calc SHA256 on AWS S3
2025-08-18 12:02:46 +02:00
Kenneth Skovhede 69157d7ba8 Add override for sigv4 hash in AWS client 2025-08-18 10:03:12 +02:00
Kenneth SkovhedeandGitHub 926ff199f4 Merge pull request #6485 from duplicati/feature/revert-allow-empty-source
Invert `--allow-empty-source`
2025-08-15 11:41:07 +02:00
Kenneth SkovhedeandGitHub ec6ecf6f82 Merge pull request #6476 from carljohnsen/feature/restore-volume-cache-size-parameter
Feature/restore volume cache size parameter
2025-08-15 11:40:45 +02:00
Kenneth Skovhede bee147c79e Don't lowercase base64 2025-08-15 11:34:08 +02:00
Kenneth Skovhede 8e3ed18ae4 Invert --allow-empty-source
This inverts the `--allow-empty-source` to `--prevent-empty-source` so the user has to opt-in to using the check.
2025-08-15 11:05:17 +02:00
Kenneth Skovhede eb34f8a6b8 Revert "Reverted flag to be allow-empty-source so the check is on by default."
This reverts commit 139b4747af.
2025-08-15 11:01:34 +02:00
Kenneth Skovhede a673bd0fab Fixed pre-calc SHA256 on AWS S3
This fixes pre-calculating the SHA256 hash for AWS SDK requests to S3.
This fixes an issue where a throttled stream would not be throttled correctly, because the AWS library would read the throttled stream twice (once for hashing, and once for transmitting).

To ensure compatibility with Wasabi S3, the hash is also lowercased.
2025-08-15 10:59:38 +02:00
Kenneth Skovhede 4f524eff68 Fixed increment without lock 2025-08-15 10:29:15 +02:00
Carl Johnsen 0194d2a486 Merge branch 'master' into feature/restore-volume-cache-size-parameter 2025-08-14 17:22:41 +02:00
Carl Johnsen 3e10b8446a Changed the wording of the new volume cache parameter 2025-08-14 17:20:58 +02:00
Carl Johnsen 966e8b5d87 Bumped CoCoL version 2025-08-14 16:57:27 +02:00
Kenneth SkovhedeandGitHub a074b4d98c Merge pull request #6483 from duplicati/feature/handle-missing-hash
Handle a case where a missing hash would cause a crash
2025-08-14 11:13:58 +02:00
Kenneth SkovhedeandGitHub 0cd87c86af Merge pull request #6482 from duplicati/feature/improve-libicu-support
Improve dependency on libicu
2025-08-14 11:13:23 +02:00
Kenneth SkovhedeandGitHub 28ae5d966d Merge pull request #6481 from duplicati/feature/handle-trailing-nulls-in-filepaths
Handle nulls in file paths
2025-08-14 10:51:08 +02:00
Kenneth Skovhede dc554472aa Improved agent install to complete even if the agent service cannot be started automatically. 2025-08-14 10:21:23 +02:00
Kenneth Skovhede 1efe727996 Fixed permission validation issue for deb package 2025-08-14 10:20:40 +02:00
Kenneth Skovhede 35347a7161 Handle a case where a missing hash would cause a crash 2025-08-14 09:27:37 +02:00
Kenneth Skovhede 094be4a9d8 Improve dependency on libicu
Since .NET dynamically loads libicu, it is not prone to ABI breakage and can load virtually any version.

However, there is no `Depends: libicu*` option in Debian packages, so we need the explicit package version. This is prone to breaking as new Debian version bump the version number.

This PR changes the `Depends:` to `Recommends:` so `libicu` is installed if possible, but does not prevent installation.

For cases where the is no `libicu` on the system, there is now a `preinst` script which will warn if the library is missing, but not prevent installation.

The warning should only show in Docker images or similar slim contexts, as `libicu` is otherwise installed with the base system.
2025-08-12 15:34:14 +02:00
Kenneth Skovhede 94058f8ac0 Handle nulls in file paths
This PR updates the File backend to sanitize filenames returned when listing the directory. For now, the sanitization only removes trailing/leading null characters.

This fixes #6449
2025-08-12 08:36:10 +02:00
Carl Johnsen 356eb03264 Handled nullable warning in RestoreHandlerTests 2025-08-10 21:00:48 +02:00
Carl Johnsen 1a7321556e Changed the decompression ack channel type to long 2025-08-10 20:59:33 +02:00
Carl Johnsen 4091d8bbc0 Set the buffer size of the ack channel to allow for enough space for all possible in flight decompression requests 2025-08-10 20:56:55 +02:00
Carl Johnsen 4edbbda7f9 Cleaned up RestoreVolumeCache test and send an abort request on timeout (deadlock) 2025-08-10 20:56:05 +02:00
Carl Johnsen 0fd3e515da Ensured that an actively read volume in the volumemanager cannot be disposed 2025-08-10 20:55:02 +02:00
Carl Johnsen dfc92c71b1 Added more rendevouz points to allow for aborting during deadlocks 2025-08-10 20:54:13 +02:00
Carl Johnsen fa1c109ad3 Burst in Restore.FileProcessor has to be at least 1 2025-08-10 20:50:50 +02:00
Carl Johnsen 5129958f4f Changed the restore channels to use a constructor to avoid static variables 2025-08-10 20:50:02 +02:00
Carl Johnsen f85727bf3a Added explicit debug printing 2025-08-10 20:34:26 +02:00
Carl Johnsen fd94ae9f08 Added additional explicit logging 2025-08-10 07:41:29 +02:00
Carl Johnsen 9e7c37fb33 Fixed timeout logic in restore volume cache tests 2025-08-10 07:41:02 +02:00
Carl Johnsen 537ee9c4cb Final eviction should always happen, and some caching is always needed in the new restore flow 2025-08-10 07:39:22 +02:00
Kenneth SkovhedeandGitHub be60b86f8b Merge pull request #6479 from duplicati/release/canary-2.1.1.100
Version bump to v2.1.1.100-2.1.1.100_canary_2025-08-08
2025-08-09 08:36:12 +02:00
Kenneth Skovhede a1700e41e3 Version bump to v2.1.1.100-2.1.1.100_canary_2025-08-08
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.1.100_canary_2025-08-08.signatures.zip
v2.1.1.100-2.1.1.100_canary_2025-08-08 v2.1.1.100_canary_2025-08-08
2025-08-09 00:04:15 +02:00
Kenneth Skovhede db8c0ad67a Include script file in Docker builds 2025-08-09 00:00:45 +02:00
Kenneth Skovhede cfe8b1820f Prepare version 2025-08-08 20:10:51 +02:00
Kenneth SkovhedeandGitHub 3f1500048b Merge pull request #6478 from duplicati/feature/minor-cleanup
Minor cleanup
2025-08-08 20:10:28 +02:00
Kenneth Skovhede 6e53aeebb7 Minor cleanup 2025-08-08 20:10:03 +02:00