Commit Graph
10563 Commits
Author SHA1 Message Date
Carl Johnsen 186a1659db Add global options to the Remote Synchronization tool 2025-01-28 14:47:46 +01:00
Carl Johnsen 3d194e8da5 Reworded confirm commandline option description 2025-01-28 14:39:29 +01:00
Carl Johnsen ae94cc6a73 Remote synchronization flavortext 2025-01-28 14:31:40 +01:00
Carl Johnsen 1c8985b7e9 Add confirmation option to Remote Synchronization Tool 2025-01-28 14:31:20 +01:00
Carl Johnsen 2c727ab132 Add retention option to Remote Synchronization Tool 2025-01-28 14:23:00 +01:00
Carl Johnsen ae58d65de3 Add force option to Remote Synchronization Tool 2025-01-28 13:25:51 +01:00
Carl Johnsen bcdc9f0af8 Add retry option to Remote Synchronization Tool 2025-01-28 11:23:16 +01:00
Carl Johnsen 5939f033a6 Set default values for dry run and verify options 2025-01-28 11:18:32 +01:00
Carl Johnsen f169e145f4 Add verify option to Remote Synchronization Tool for post-copy validation 2025-01-28 11:17:59 +01:00
Carl Johnsen 552f9747e2 Modified ToolTests.GenerateTestData to use async/await for improved performance 2025-01-28 09:49:22 +01:00
Carl Johnsen 2df0710d7e Added the capability to forward multiple tokens to an option 2025-01-28 09:48:51 +01:00
Carl Johnsen 6993969dde Implement dry run option in the Remote Synchronization Tool 2025-01-27 21:26:06 +01:00
Carl Johnsen b025c9af01 Added passing all of the commandline options to the inner run method 2025-01-27 21:25:18 +01:00
Carl Johnsen c0f4146ba7 Changed the rsync unit test to use the test folders and generate test data 2025-01-27 10:06:49 +01:00
Carl Johnsen 3c62fb7e39 Preliminary rsync tool test implemented. 2025-01-27 09:53:48 +01:00
Carl Johnsen 42d54a47f7 Formatting 2025-01-27 08:37:32 +01:00
Carl Johnsen 4e5282ccfd After a rename, the original file should be deleted. 2025-01-27 08:35:48 +01:00
Carl Johnsen 54736ff449 Remove redundant System. 2025-01-27 08:34:58 +01:00
Carl Johnsen 0e291bbeab Reuse memorystream when applicable 2025-01-27 08:34:41 +01:00
Carl Johnsen 71376b156f Changed to use async when available 2025-01-27 08:30:12 +01:00
Carl Johnsen f64d090fda Added preliminary commandline argument parsing to remote synchronization 2025-01-22 09:37:28 +01:00
Carl Johnsen af69436a1e Added preliminary unittest for the remote synchronization tool 2025-01-22 06:10:43 +01:00
Carl Johnsen a2b13b1805 Add copyright notice and licensing to the remote synchronization tool 2025-01-21 15:22:04 +01:00
Carl Johnsen 3b2836ce7a Merge remote-tracking branch 'upstream/master' into feature/rsync_tool 2025-01-21 15:21:01 +01:00
Carl Johnsen ce3583c388 Add additional TODO comments for future enhancements 2025-01-21 15:18:32 +01:00
Carl Johnsen d97e9073f4 Add rename functionality to remote synchronization tool 2025-01-21 15:16:59 +01:00
Carl Johnsen 3d93c4885b Implement file deletion functionality in remote synchronization tool 2025-01-21 15:16:42 +01:00
Carl Johnsen 7b64f0da92 Added functions for verifying the file list 2025-01-21 15:14:50 +01:00
Carl-Johannes JohnsenandGitHub 298c26b6ff Merge pull request #5886 from carljohnsen/bugfix/restore-fileprocessor-read
Bugfix/restore fileprocessor read
2025-01-20 10:34:49 +01:00
Carl Johnsen fcb41ebec9 Added TODO comments in the rsync tool 2025-01-20 07:58:39 +01:00
Carl Johnsen 85833a2ff5 Added a copy function to the rsync tool 2025-01-20 07:58:21 +01:00
marceloduplicatiandGitHub 2836e904fd Fix encoding on export backup configuration filename (#5888)
Fix for issue:
https://github.com/duplicati/duplicati/issues/5884
2025-01-17 15:14:01 +01:00
Kenneth SkovhedeandGitHub aa75334f35 Release/canary 2.1.0.107 (#5887)
* Bump ngclient to latest

* Version bump to v2.1.0.107-2.1.0.107_canary_2025-01-17

You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.0.107_canary_2025-01-17.signatures.zip
2025-01-17 15:13:17 +01:00
Carl Johnsen 628684a2f7 Added the correct PR number to the new test 2025-01-17 12:34:52 +01:00
Carl Johnsen 35bf86799b Added a unit test for restore of a partial file 2025-01-17 12:29:11 +01:00
Carl Johnsen fe7cb13fde Fixed issue with stream not being open in the correct mode during restore 2025-01-17 12:27:05 +01:00
Carl Johnsen 0861bc0a73 Added FileOpenReadWrite function 2025-01-17 12:26:03 +01:00
Carl Johnsen d3f6bd4b2b Added preliminary remote sync tool 2025-01-17 08:57:02 +01:00
Kenneth SkovhedeandGitHub 045c6b9147 Feature/adjust pcloud exception (#5883)
* Fixed pCloud exception type

Changed pCloud exception to `FileMissingException` (was `FileNotFoundException`)

* Fixed a label in tests
v2.1.0.107_canary_2025-01-17
2025-01-16 22:21:16 +01:00
marceloduplicatiandGitHub 08f231dd74 Fixes to timeouts on WebDav (#5878)
* Removing timeout from Webdav

The timeout will be controlled externally by the TimeoutObservingStream and or the cancellation token.

Timeout for List set to default of 10 minutes

Since filesystems may take quite sometime to list large number of files, the timeout was set to a high value.

Previous timeout of 30 seconds was triggering in a case reported by user.

Timeout for CreateFolder and DeleteAsync was kept to default of 30 seconds.

Minor formmating/refactoring was done.

* Removing timeout from Webdav

The timeout will be controlled externally by the TimeoutObservingStream and or the cancellation token.

Timeout for List set to default of 10 minutes

Since filesystems may take quite sometime to list large number of files, the timeout was set to a high value.

Previous timeout of 30 seconds was triggering in a case reported by user.

Timeout for CreateFolder and DeleteAsync was kept to default of 30 seconds.

Minor formating/refactoring was done.

* Fixes to Integrated Authentication

This is a fix to the webdav when using integrated authentication, the hint for the underlying issue was found on an old [thread] (https://github.com/dotnet/wcf/issues/2923). By setting up a vm environment with Windows 2022 Server+IIS/Webdav it was possible to reproduce the [issue](https://github.com/duplicati/duplicati/issues/5872) and fix it.

Change to validation script is to avoid the requirement of filling the username when integrated authentication is true.
2025-01-16 16:29:40 +01:00
marceloduplicatiandGitHub 5e477e7e87 Migrate from HttpWebClient to HttpClient with async/await + Refactoring (#5875)
Modernize HTTP client implementation across backend services by:
- Replace legacy HttpWebClient with modern HttpClient
- Implement proper async/await patterns throughout the codebase
- Add cancellation token support for improved request handling
- Refactor related code for better maintainability

This change is part of our broader initiative to modernize the codebase
and improve its resilience through proper asynchronous operations.
2025-01-16 16:29:16 +01:00
Kenneth SkovhedeandGitHub edd69bfd59 Improve cancel robustness 2 (#5882)
* Attempt to avoid comitting transaction without any queries being made

* Guard internal logic
2025-01-16 16:01:54 +01:00
Kenneth SkovhedeandGitHub 58bf21306a Improve S3 logic for permission tests (#5879) 2025-01-16 14:28:20 +01:00
Kenneth SkovhedeandGitHub 32a6588209 Added warning for volume size (#5877)
This adds a warning text if the user selects a very large or very small value for the `dblock-size`.

Currently "large" is over 2GiB and "small" is less than 5MiB
2025-01-16 14:27:40 +01:00
Kenneth SkovhedeandGitHub 52a73c3418 Fixed issue 5845 (#5880)
* Fixed issue 5845

This commit introduces the test that makes the error.

* Fixed query cleaning up duplicates, in the case that where a block has multiple valid source candidates.

* Reduced number of replicas for the test
2025-01-16 14:27:15 +01:00
Kenneth SkovhedeandGitHub a49af70af0 Checking if the UI channel is disposed. (#5874) 2025-01-16 13:26:12 +01:00
Kenneth SkovhedeandGitHub 15856fd46f Fixed 2 compile warnings (#5873) 2025-01-14 19:42:50 +01:00
Kenneth Skovhede fb1d15fb9d Avoid optimize after vacuum 2025-01-14 19:42:03 +01:00
Kenneth SkovhedeandGitHub 6bbd64a655 Fixed nullability warnings in Utility.cs (#5861)
* Fixed nullability warnings in `Utility.cs`

* Fixed a number of nullability issues and warnings

* More nullable fixes

* Fixed the overwrite issue

* Fixed additional nullability issues

* Removed additional nullability issues

* More nullability fixes and added some xmldoc

* Added more xmldocs and removed an unused argument

* Removed more warnings
2025-01-14 14:03:48 +01:00
Kenneth SkovhedeandGitHub 2190653ee8 Version bump to v2.1.0.106-2.1.0.106_canary_2025-01-11 (#5867)
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.0.106_canary_2025-01-11.signatures.zip
2025-01-13 22:19:57 +01:00