Commit Graph
10886 Commits
Author SHA1 Message Date
Kenneth Skovhede 90677fc124 Missing update 2025-02-25 15:14:15 +01:00
Kenneth Skovhede d5eba03c39 Deep signing MacOS 2025-02-25 15:07:39 +01:00
Kenneth Skovhede 66aa3cd9d6 Added support for profiles when building for different channels.
Changed the default config name to have a `duplicati` prefix.
2025-02-25 15:07:17 +01:00
Kenneth SkovhedeandGitHub 74f7768fcc Merge pull request #5982 from duplicati/feature/add-back-missing-example-script
Add back missing Windows example script.
2025-02-24 14:26:28 +01:00
Kenneth Skovhede 704485176a Clarified the Path parameter 2025-02-24 13:56:28 +01:00
Kenneth Skovhede 3bfd12bf76 Fixed rid detection 2025-02-24 13:32:26 +01:00
Kenneth Skovhede 39ba3ab89e More exact rid match 2025-02-24 13:25:47 +01:00
Kenneth Skovhede ea07ac4288 Updated build logic to use target os 2025-02-24 13:24:58 +01:00
Kenneth Skovhede 2f60574f1c Merge branch 'feature/alternate-source-provider' of github.com:duplicati/duplicati into feature/alternate-source-provider 2025-02-24 13:17:13 +01:00
Kenneth Skovhede 6238067f32 Updated logic for S3 backend, so the client implementations return the relative (non-prefixed) path 2025-02-24 13:17:08 +01:00
Kenneth SkovhedeandGitHub 35bd853f7a Merge pull request #5974 from duplicati/feature/report-listen-interface-on-start
Added listen interface to startup message
2025-02-24 13:07:34 +01:00
Kenneth SkovhedeandGitHub 4cd137130e Merge pull request #5986 from duplicati/feature/test-failed-upload
Added interuption test
2025-02-24 13:06:37 +01:00
Kenneth Skovhede 30b1cd59b8 Fixed cases where Windows paths were sent to the remote destination 2025-02-24 13:04:35 +01:00
Kenneth Skovhede 1428d8cc6f Preserve order of input sources 2025-02-24 12:53:48 +01:00
Kenneth Skovhede 26bbe6a577 Added setup step for source providers.
This enables a fail-early approach, where the remote source loads the initial results.
By storing the `IAsyncEnumerable` it is possible to not perform any additional remote calls, even with the initial probing call.

This makes it possible to detect the absence of sources, so the backup can be aborted if sources are missing.
2025-02-24 12:50:58 +01:00
Kenneth Skovhede 4e73be1806 Fixed path conversion on Windows 2025-02-21 16:25:18 +01:00
Kenneth Skovhede de622b29d0 Added source tool to launch config 2025-02-21 16:12:40 +01:00
Kenneth Skovhede 9dfe977d3f Changed logic so the source providers are now logically mounted into the source directory structure.
This fixes the restore issues as all sources will now appear as if they were originally part of the source file system.

The backend implementation has now been simplified so the backends only return names of entries with no path information.  Most backends already do this, but the S3 backends did not, so this was fixed as well.

This also clears up the interfaces, so the backend does not know about the `ISourceProviderEntry`. All mapping is done by the `BackendSourceProvider`, making it simpler to support other backends as sources.
2025-02-21 16:06:55 +01:00
Carl-Johannes JohnsenandGitHub 5aa06f3cd4 Merge pull request #5983 from carljohnsen/performance/restore-parallel-download
Performance/restore parallel download
2025-02-21 14:29:54 +01:00
Kenneth Skovhede cd512ea7dd Changed remote path prefix to > to avoid clash with literal string prefix @ 2025-02-21 13:25:00 +01:00
Kenneth Skovhede 1716d09b51 Fixed source providers for S3, CIFS, and SSH.
Made the SMBShareConnection slightly more robust.

Introduced v2 List API to S3 backend, currently it retains v1 as the default.

Changed S3 backends to not recurse, potentially making smaller listings. This option can be disabled if it breaks things.

Added support for relative paths in the SSH backend.
2025-02-21 13:20:52 +01:00
Kenneth Skovhede 5a4fcaa6d7 Added tool to work with remote sources 2025-02-21 11:51:45 +01:00
Carl Johnsen 98e572714d Added a comment about downloaders in the teardown of BackendManager.Handler 2025-02-21 10:08:21 +01:00
Carl Johnsen 7612b5cce3 Ensured proper synchronization of operations in BackendManager.Handler 2025-02-21 10:07:41 +01:00
Carl Johnsen c164181ec2 BackendManager.GetOperation's were unintentionally still synchronized. 2025-02-21 10:07:09 +01:00
Carl-Johannes JohnsenandGitHub c41b001794 Merge pull request #5260 from duplicati/feature/add-test-data-generator
Added tool to generate test data
2025-02-20 13:56:20 +01:00
Kenneth SkovhedeandGitHub 63162341b4 Merge pull request #5985 from duplicati/feature/fix-cors-preflight
Fixed CORS preflight
2025-02-20 13:50:57 +01:00
Kenneth Skovhede 655f5ef635 Added interuption test
This adds a test with a failed upload.

The failed upload is done in parallel, so (at least) one of the uploads succeeeds and one upload fails.

The backup then errors, but a subsequent backup continues without errors and creates a synthetic filelist.

Also refactored the DeterministicErrorBackend to not use magic strings.
And made it actually deterministic.
2025-02-20 11:00:28 +01:00
Kenneth Skovhede def7327b21 Fixed CORS preflight
This fixes the CORS preflight by allowing the preflight requests to be sent without being authenticated.
Without this fix all CORS requests would fail due to the access token not being included in preflight requests.
2025-02-20 10:51:10 +01:00
Carl Johnsen ef6d708d3a Added degree of parallelism as a commandline option to the test data generator 2025-02-20 09:23:47 +01:00
Carl Johnsen eacd46dcd8 Added parallel execution to the test data generator 2025-02-20 09:00:07 +01:00
Kenneth Skovhede 80d60c0982 Fix Uri ToString()
Fixed a case where an extra leading slash would be removed when converting a parsed Uri back to a string.
2025-02-19 22:23:53 +01:00
Carl Johnsen beefbf2a46 Removed some unused variables from the BackendManager 2025-02-19 16:12:58 +01:00
Carl Johnsen 9919d86e9b Updated VolumeDownloader to use the new BackendManager.GetDirectAsync() method 2025-02-19 16:12:42 +01:00
Carl Johnsen 374741fc6d Added BackendManager.GetDirectAsync(), which downloads a file without decrypting it 2025-02-19 16:11:55 +01:00
Kenneth Skovhede a9f328ae95 Add back missing Windows example script.
This adds back the missing `run-script-example.bat`.

It also makes the output conditional, so the Windows builds get the `.bat` and others get the `.sh` version.
2025-02-19 16:11:37 +01:00
Carl Johnsen 2c06820281 Made the BackendManager.GetOperations' decryption methods static and public so the restores VolumeDecryptor can use the same code. 2025-02-19 16:09:32 +01:00
Carl Johnsen e2e930b2d7 Reworked BackendManager.Handler to handle multiple downloads in parallel 2025-02-19 15:55:59 +01:00
Carl Johnsen 864ce59c4a Reworded pending uploads to active to better reflect that the uploads are in progress 2025-02-19 15:55:13 +01:00
Kenneth Skovhede b1488dae0c Switched to vssadmin for listing VSS enabled drives 2025-02-19 15:48:00 +01:00
Kenneth Skovhede bf80845292 Fixed a rare startup error 2025-02-19 15:46:22 +01:00
Kenneth Skovhede 36ba547a92 Added the @ prefix to backend paths 2025-02-19 14:20:03 +01:00
Kenneth Skovhede cf5b4bb24d Added support for Wmic based Windows VSS snapshots.
Refactored code a bit to be easier to understand.
2025-02-19 14:00:14 +01:00
Kenneth SkovhedeandGitHub 5635d30482 Merge pull request #5979 from Alex-Heard/doubleclickfix
Prevent Double Click opening multiple windows
2025-02-18 22:37:58 +01:00
Kenneth SkovhedeandGitHub 88f91b5b9e Removed extra sln file 2025-02-18 22:33:47 +01:00
Kenneth Skovhede ac603a4d8f Renamed SourceFolders to SourceEntries as it can contain files as well 2025-02-18 22:32:37 +01:00
Kenneth Skovhede 73d0ad905f Fixed USN support 2025-02-18 22:12:37 +01:00
marceloduplicatiandGitHub dbcd2932f7 Merge pull request #5981 from marceloduplicati/feature/ci-add-b2
Adding B2 to CI
2025-02-18 15:35:55 -03:00
Marcelo C. def60a7e70 Adding B2 to CI
- Added B2 Test
- Updated ReadMe with backends status and variables
2025-02-18 15:34:22 -03:00
Kenneth Skovhede 12d0c9710d Added additional fix for VSS 2025-02-18 17:17:16 +01:00