Commit Graph
1704 Commits
Author SHA1 Message Date
Kenneth Skovhede d08431059a Add an auth timeout to the Duplicati backend
On the first connection attempt, the autentication can be a bit slower due to the setup, causing it to time out. This PR adds a specific timeout for authentication so the calls do not time out.
2026-06-16 10:01:03 +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 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 4d569c51e4 Added read-only testing to backends
This PR adds a flag to the test method so we can choose to test for read-only access (needed for restore) or read-write (needed for backups).

Additionally, this PR fixes a logic bug in that the BackendSourceProvider would not actually test the connection, but just check the placeholder element returned (which is always returned). With this PR the backend's ListAsync command is tested fully.

Also renamed the methods on ISourceProvider to have the `...Async` prefix.

This replaces #6939
2026-06-03 17:27:34 +02:00
Kenneth Skovhede 56d5bd51e4 Switched from bit manipulation for directory flags to using the HasFlag method for easier readability. 2026-06-03 14:38:49 +02:00
Nick Rawlins 6967a869e5 Fix SMB source listing misclassifying directories as files 2026-05-28 23:30:37 +01:00
Kenneth SkovhedeandGitHub d0ddf1716c Merge pull request #6821 from redmars27/movistarCloud
Movistar cloud
2026-05-22 11:01:49 +02:00
Kenneth SkovhedeandGitHub 0d53a0f2a0 Merge pull request #6928 from duplicati/feature/update-duplicati-backend
Update Duplicati-backend
2026-05-21 13:56:29 +02:00
Kenneth Skovhede c3ad6fb697 Fixed timeout logic to guard all Http calls 2026-05-21 12:48:42 +02:00
Kenneth SkovhedeandGitHub a60bb1757d Merge branch 'master' into movistarCloud 2026-05-21 11:11:44 +02:00
Kenneth Skovhede e896548656 Update Duplicati-backend
Updated the Duplicati backend to support direct backups where the storage server returns keys to an AWS compatible storage and lets the client communicate directly with the storage.

The gateway mode is stil supported.
2026-05-21 11:09:50 +02:00
Kenneth Skovhede 09106aa977 Fix OneDrive timeout
This removes a built-in HTTP timeout of 100s that is applied to all requests.

Since Duplicati sometimes need more than 100s to transfer a file, this could cause problems.

Duplicati already handles timeouts, but this timeout was happening regardless of Duplicati's other timeouts.
2026-05-20 15:27:33 +02:00
redmars27 f741647477 cleaning up comments 2026-05-16 23:37:00 +02:00
redmars27 cd1870b314 remove --root-folder-path to use standard path offered by the URL config 2026-05-16 23:32:16 +02:00
redmars27 4a309dc4ba Honor DefaultWaitForValidation. Another alternative could be to add to Library.Utility.Utility.ParseBoolOption a default behavior like other methods 2026-05-16 21:27:50 +02:00
redmars27 d8c88fee64 Adding a warning on the logs if file is not uploaded with status=U within deadline 2026-05-16 20:52:54 +02:00
Kenneth SkovhedeandGitHub 0508afde1c Merge branch 'master' into movistarCloud 2026-05-15 09:44:07 +02:00
Kenneth Skovhede d6917b0e9c Update Mega S4 endpoints 2026-05-14 09:07:49 +02:00
Kenneth Skovhede 55c2ebf6c7 Deprecate old SharePoint
This PR deprecates the `mssp` and `od4b` backends as they stopped working when the APIs were turned off.

The upgrade path is to use `sharepoint` instead (which used to be named "SharePoint v2").

This PR also adds a small amount of metadata to modules so they can be marked as "untested" or "deprecated", and the configuration for marking modules has been set up in `BackendModules.cs`.

The backends that we currently cannot test (usualy due to not having public signups) are now marked as untested.
2026-05-13 13:30:39 +02:00
Kenneth Skovhede 475f846ff7 Fixed rename to send correct fields 2026-05-13 08:45:23 +02:00
Kenneth Skovhede 535817603c Add Drime Cloud backend
This PR adds a new backend for Drime Cloud.

There is currently an issue with the rename API so the backend will fall back to download+upload+delete if the soft-delete feature is enabled in the general Duplicati options (soft-delete on the backend works).

Implementation supports both username+password login or API key.

Files larger than 5MiB are uploaded with multipart uploads.
2026-05-07 22:50:54 +02:00
redmars27 4df45ede58 Separate read and write stream timeouts in download file 2026-04-30 10:58:25 +02:00
redmars27 54e83a4131 Added missing project reference 2026-04-30 10:39:54 +02:00
redmars27 6cceb5f574 remove public IEnumerable<IFileEntry> List() method as is no longer needed. 2026-04-30 10:24:59 +02:00
redmars27 cf95c33491 improve createfolderasync exception by adjusting the type according to copilot suggestion 2026-04-30 10:04:13 +02:00
redmars27 a4507f0504 Adjusting variable name after copilot comments: From clientID to device_id 2026-04-27 14:27:39 +02:00
redmars27andGitHub cf37dbb195 Merge branch 'duplicati:master' into movistarCloud 2026-04-27 12:28:39 +02:00
Carl Johnsen 5845174b05 Expanded hashes into variables instead of an array 2026-04-24 14:13:27 +02:00
Carl Johnsen dfd2e90e56 Removed whitespace 2026-04-24 09:47:21 +02:00
Carl Johnsen 1361a282ec Added length to the S3 backends PUT operation to allow uploading non-seekable streams 2026-04-24 09:47:11 +02:00
Carl Johnsen 01e13672ee Made the Duplicati storage backend send along precomputed hashes. 2026-04-23 17:09:01 +02:00
Carl Johnsen 0148b24f9a Added forwarding of precomputed hash values to the AWS S3 backend 2026-04-23 17:08:31 +02:00
Carl Johnsen fb89d9899e Allow derived classes to override FileBackend ProtocolKey and GetQuotaInfoAsync 2026-04-23 08:32:12 +02:00
Carl Johnsen b587d92e4b Removed whitespace 2026-04-23 08:31:15 +02:00
Kenneth Skovhede c0f40e19ca Updated copyright year to 2026 across the project 2026-04-16 15:21:24 +02:00
Kenneth Skovhede 57e0fea929 Updated to fir style of existing backends 2026-04-16 15:03:11 +02:00
redmars27 8f354b1ddf Cleaning up 2026-03-30 15:18:06 +02:00
redmars27 36afe20781 Enable MovistarCloud as backend 2026-03-30 14:56:26 +02:00
Kenneth Skovhede 668dabfc94 Add Hetzner and DigitalOcean regions
This PR adds the known regions from DO and Hetzner to the config output from S3Config
2026-03-12 11:20:46 +01:00
Kenneth SkovhedeandGitHub 8cf2154037 Merge pull request #6768 from duplicati/feature/add-google-workspace-backup
Add support for Google Workspace backup
2026-02-20 08:56:40 +01:00
Kenneth Skovhede 1acf24a78f Merge remote-tracking branch 'origin/master' into feature/add-google-workspace-backup 2026-02-15 10:36:13 +01:00
Kenneth Skovhede d7a97915a1 Make service-account-json a password 2026-02-15 10:26:21 +01:00
aureliandevel 30fa7e8958 fix(s3): preserve port in endpoint and fix path validation 2026-02-15 17:22:03 +11:00
Kenneth SkovhedeandGitHub 18c12b66c3 Merge pull request #6753 from duplicati/feature/check-temp-space
Check free temporary space
2026-02-06 15:56:29 +01:00
Kenneth Skovhede 4c9983f677 Added Selectel to list of S3 providers 2026-02-06 14:22:39 +01:00
Kenneth Skovhede 05ea1dfafe Check free temporary space
This PR adds checks for free temporary space when starting the server and when restoring.

On systems that have limited space in the temp folder a warning will now be shown.

This is intended to capture issues on some Docker systems where /tmp is mounted in memory instead of being disk backed.

It will also detect the issue on other systems that are space constrained.
2026-02-06 10:37:27 +01:00
Kenneth Skovhede 0f806c1a3a Improve WebDAV SSL certs
This PR now checks for the SSL certificate and the UI will offer to pin the certificate if this is not a trusted certificate.

Also, the sourceproviders and restoredestinationproviders now actually invoke the `Test` method when being tested.
2026-02-03 14:57:11 +01:00
Kenneth SkovhedeandGitHub 1b1719e924 Merge pull request #6718 from duplicati/feature/add-office-365-backup
Add office 365 backup and restore
2026-02-01 13:12:44 +01:00
Kenneth Skovhede 1e7afbd49e Fixed issues with paths on Windows with remote sources 2026-01-31 12:15:55 +01:00
Kenneth Skovhede 1ee46e85a1 Disable renaming for iDrivee2 due to errors after rename 2026-01-30 15:38:46 +01:00