Commit Graph
10476 Commits
Author SHA1 Message Date
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
Carl Johnsen d3f6bd4b2b Added preliminary remote sync tool 2025-01-17 08:57:02 +01:00
marceloduplicatiandGitHub 99ee234640 Primary functionality implemented for CIFS (#5780)
* Primary functionality implemented for CIFS

This will add CIFS support to Duplicati.

One of the advantages is that the resource does not need to be mounted as the backend connects and authenticates directly to the resource via TCP/or Netbios over TCP.

The authentication supported is domain/username/password. At present integrated Windows authentication is not supported.

This implementation relies on SMBLibrary library (https://github.com/TalAloni/SMBLibrary).

* Fixes to XML documentation

* Implementing single CIFS connection + Fix on PutAsync

Single CIFS connection to avoid re-authentication on every operation.
Fix to PutAsync which only because apparent after file sizes were larger than _smb2Client.MaxWriteSize

* Adding CI tests for CIFS

The CI test for CIFS is self contained, requiring no environment variables. Also updated README.
2025-01-06 14:22:23 +01:00
Kenneth SkovhedeandGitHub 2a757dea0f Quota check disabled fix (#5843)
The QuotaCheck is done in two places, and only one place was checking if the quota check was supposed to be disabled.
This adds the check in the other place.
2025-01-06 14:21:53 +01:00
Carl-Johannes JohnsenandGitHub 8079aa81aa Merge pull request #5840 from carljohnsen/bugfix/restore-missing-folder
Bugfix/Restore missing folder
2025-01-06 10:41:39 +01:00
Kenneth SkovhedeandGitHub 40e28f170e Added help button to login (#5839)
Added a help button to the connection dialog.
Added a help link to the login dialog.
Added a help link to the signin dialog.
2025-01-06 09:13:17 +01:00
Carl Johnsen 85ddeaba51 Fixed old assertion message in restore test 2025-01-05 11:54:38 +01:00
Carl Johnsen 83d1617984 Fixed the IO calls to also work on Windows 2025-01-03 23:27:35 +01:00
Carl Johnsen 1157f7c7bd Update RestoreHandlerTests to expect warning for non-created restore folder 2025-01-03 21:38:03 +01:00
Carl Johnsen 52018db0bb Added handling and warning throwing for when the folder for restored files aren't created properly 2025-01-03 20:48:58 +01:00
Carl Johnsen ec001e7e73 Added a test to capture issue #5826 2025-01-03 20:34:45 +01:00
Kenneth SkovhedeandGitHub 2cbf62d02b Update Storj options and docs (#5838)
This introduces a few constants in favor of multiple strings with the same value.
The supported arguments in the module have been augmented to better report possible values and default values.
The options parser has been updated to work better with CLI where the options are not default filled.
2025-01-03 17:21:00 +01:00
Kenneth SkovhedeandGitHub 228a472b07 Changed Sia redundancy to decimal (#5837) 2025-01-03 17:20:37 +01:00
Kenneth SkovhedeandGitHub d0924c3e01 Auto-select version for OpenStack (#5836)
This adds a check to see if the give url contains the standard `/v3` suffix, and if so selects the v3 protocol.
2025-01-03 17:20:19 +01:00
Kenneth SkovhedeandGitHub c70b593fed Corrected documentation for OpenStack (#5835)
The region was not described correctly.
2025-01-03 17:19:57 +01:00
Kenneth SkovhedeandGitHub 78da4527be Removed unused region from Aliyun (#5833) 2025-01-03 14:08:29 +01:00
Carl-Johannes JohnsenandGitHub 832af1069f Merge pull request #4785 from snamds/SlowBigRestore
Improved restore performance
2025-01-03 11:40:58 +01:00
Carl Johnsen 198e4d8e6e Refactor SQL query formatting 2025-01-03 11:06:49 +01:00
Carl Johnsen 661a73ff2a Merge remote-tracking branch 'upstream/master' into SlowBigRestore 2025-01-03 10:11:50 +01:00
Kenneth SkovhedeandGitHub 2fac31bd60 Clean Azure Blob options (#5829)
This removes Azure Blob options that has been deprecated for years.
The option `--azure-blob-container-name` was not used, so it was removed as well.
2025-01-02 18:51:00 +01:00
Kenneth SkovhedeandGitHub 6fdb01b52a This commit ensures the client connects on first use, instead of relying on the library to connect. (#5828) 2025-01-01 14:06:35 +01:00
Kenneth SkovhedeandGitHub 358f713841 Version bump to v2.1.0.104-2.1.0.104_canary_2024-12-31 (#5823)
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.0.104_canary_2024-12-31.signatures.zip
2024-12-31 18:42:35 +01:00
Kenneth SkovhedeandGitHub 31503ea595 Added option to log FTP diagnostics data to regular log (#5821) v2.1.0.104_canary_2024-12-31 2024-12-31 16:47:28 +01:00
Kenneth SkovhedeandGitHub fe401da509 Release/canary 2.1.0.103 (#5822)
* Trimmed the changelog

* Version bump to v2.1.0.103-2.1.0.103_canary_2024-12-21

You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.0.103_canary_2024-12-21.signatures.zip
2024-12-31 16:41:53 +01:00
Kenneth SkovhedeandGitHub ba645ddb5f Clean up options for file backend (#5820)
This removes unsupported arguments from non-windows clients, so the reported options fit what is supported.
2024-12-31 16:37:07 +01:00
Kenneth SkovhedeandGitHub bc6114323f Workaround for multi-backend. (#5815)
* Workaround for multi-backend.

There is currently an issue with creating the BackendManager which has a backend instance. This instance is not used by the uploader, so they will create new instances.
The BackendManager instance can then time out, but is used later.

This commit will allow the uploader to "borrow" the instance from the backend manager, so only a single instance is needed.

This is not a clean fix, but doing so requires a full rewrite of the backend manager and uploader, so the controller creates a single instance of the manager, which is then used for all operations.

This would allow the backend manager to keep track of instances across all requests.

* Improved reuse after shutdown
2024-12-28 21:25:49 +01:00
Kenneth SkovhedeandGitHub 7f40ec46db Removed the captcha. (#5816)
This commit removes the Captcha support, and replaces with a copy-paste-able safeguard in the UI.
2024-12-28 20:03:52 +01:00
Kenneth SkovhedeandGitHub d940af1f64 Fixed TrayIcon disconnecting. (#5819)
This fixes a problem where the exception was not correctly detected causing the token to not be re-obtained.

This fixes #5818
2024-12-28 20:02:21 +01:00
Kenneth SkovhedeandGitHub 22bdcecfd4 Fixed a minor race where the thread could start before the worker is initialized. (#5817) 2024-12-28 19:58:20 +01:00
Kenneth SkovhedeandGitHub 8f853cfa7f Google drive and GCS do not work with timeout (#5812) 2024-12-26 10:42:58 +01:00
marceloduplicatiandGitHub 06d73b1c0d Adding pCloud tests to CI (#5814)
Additionally fixing debug messages of other tests.
2024-12-26 10:42:09 +01:00
Kenneth SkovhedeandGitHub 394b876985 Enable noop daemon for FTP (#5813)
This fixes an issue with timeouts on large file.
2024-12-26 10:41:06 +01:00
Kenneth SkovhedeandGitHub f526d39ae9 Updated translations (#5807)
* Updated translations
* Synced translations
2024-12-26 10:40:39 +01:00
Carl-Johannes JohnsenandGitHub 8025f27087 Merge pull request #5010 from gpatel-fr/fileprocessors
add simultaneous file processors
2024-12-23 07:33:07 +01:00
Carl Johnsen 6afe959c56 Changed the default number of file processors to match the other concurrent counts 2024-12-23 06:50:24 +01:00
Carl Johnsen ec55580f5c Updated the call signature of FileBlockProcessor.Run() to match the new format 2024-12-23 06:49:04 +01:00
Carl Johnsen a566d1a49f Merge remote-tracking branch 'upstream/master' into fileprocessors 2024-12-23 06:45:43 +01:00
Kenneth SkovhedeandGitHub de27ada7b2 The server does not take an argument (#5808) 2024-12-23 00:26:13 +01:00
Kenneth SkovhedeandGitHub 54476403fe Trimmed the changelog (#5806)
* Trimmed the changelog

* Version bump to v2.1.0.103-2.1.0.103_canary_2024-12-21

You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.0.103_canary_2024-12-21.signatures.zip
2024-12-22 20:27:38 +01:00
Kenneth SkovhedeandGitHub 161b5708d4 Added missing timeouts to uploads. (#5803)
* Added missing timeouts to uploads.

Since much of the BackendManager is replicated into the BackendUploader, this code needs to be updated as well.

* Fixed namespace issue
v2.1.0.103_canary_2024-12-21
2024-12-20 21:03:48 +01:00
Kenneth SkovhedeandGitHub 447c2b3238 Feature/improve ci testing (#5781)
* Added options to insert delays in backend tester

* Added wait delays to Azure and GoogleDrive to see it the CI is more stable with small delays

* Added more debug output to the backend tester

* Fixed dropbox reporting OAuth quota errors, when it is likely Dropbox API quota errors

* Implemented exception detection on AzureBlob backend

* Also showing sleep times in output

* Fixed a bug with the dropbox quota response

* Fixed error message to report correct number of files

* Fixed suppressed warning
2024-12-20 16:10:08 +01:00
Kenneth SkovhedeandGitHub 68627c06bf Feature/alternate windows eventlog (#5784)
* Improved Windows Eventlog support.

Added support for logging to a different log with a Log:Source format.
Backwards compatible by treating "Source" as "Application:Source", where "Source" is default "Duplicati".

* Changed default log-level for eventlog to `Warning`.
This fixes #5770

* Fixed issue where checking for event log would crash the process.
Changed default log to `Duplicati` (was `Application`).
New default source names for service, agent and server.

* Reverted windows log-level back to information, now that there is a separate log for it

* Using "Duplicati 2" as the log name because "Duplicati" may be registered as a source name.

* Attempt to stop service before uninstalling

* Added additional diagnostics messages

* Fixed bug with starting the agent as a service

* Default to not use WindowsService for Agent as it requires permissions to create the event log

* Reduced log message levels for ongoing communication in agent

* Prevent double-logging from agent into Windows EventLog

* Made the agent log under a separate log source name
2024-12-20 16:09:42 +01:00
Carl-Johannes JohnsenandGitHub 77af6a1401 Merge pull request #5801 from carljohnsen/bugfix/disruptiontest-filesetfiles-filter 2024-12-20 14:22:25 +01:00
Carl Johnsen 4b0033d8e8 Fixed bug where if the parent folder contained the name "10", the DisruptionTests.FilesetFiles test would fail 2024-12-20 08:23:32 +01:00
Kenneth SkovhedeandGitHub 0023dfd19f Removed the use of WebClient in MicrosoftGraphBackend in favor of HttpClient. (#5799) 2024-12-19 22:40:18 +01:00
Kenneth SkovhedeandGitHub 8593887184 Rename OneDrive v2 (#5795)
* Change displayname of OneDrive v2

Since OneDrive v1 is removed, there is no need to name the current backend `v2`.

* Renamed everything but the protocol key
2024-12-19 22:38:35 +01:00
Kenneth SkovhedeandGitHub b69d9ae37b Fixed a thread crash on stop (#5798) 2024-12-19 22:37:44 +01:00
Kenneth SkovhedeandGitHub cd6dae5a87 Made read-write-timeout a short time interval (#5800) 2024-12-19 22:37:20 +01:00
Kenneth SkovhedeandGitHub 86f3f6b178 Fixed issues with timeout in msgraph (#5790)
* Fixed issues with timeout in msgraph

Fixed a place where the cancellation token was not applied.

Fixed a problem with msgraph not sending correct DNS information.

Fixed a problem with msgraph downloading the entire file before streaming it, bypassing throttle and tripping the timeout.

Added `ITimeoutExemptBackend` to selectively disable timeouts for backends that do not support it.

Updated the backendmanager to support `ITimeoutExemptBackend`.

Updated the backendmanager to abort as soon as a timeout happens.

* Updated BackendTester to use the `TimeoutObservingStream` and support the `--read-write-timeout` setting.

Updated backend tester code to use `var`

* Fixed a bug reading the `read-write-timeout`

* Updated to using constants with names instead of `-1`.
2024-12-19 09:31:06 +01:00