Commit Graph
10886 Commits
Author SHA1 Message Date
Carl Johnsen 88846251b1 Restoring a symlink that already exists triggers an overwrite of the file, which should count towards number of files restored. 2025-01-06 08:14:32 +01:00
Carl Johnsen 1bea0f3696 Restored empty files should count towards the restoration file count. 2025-01-05 12:46:08 +01:00
Carl Johnsen e88b16dd86 Add assertions to verify untouched files during restore operations 2025-01-05 12:28:08 +01:00
Carl Johnsen 5b7314621c Reduced test file size to speed up the test. File size shouldn't matter too much here. 2025-01-05 12:17:16 +01:00
Carl Johnsen 193b5a8e64 Extended the 5825 test to verify finding an already restored but timestamp retargeted file. 2025-01-05 12:15:43 +01:00
Carl Johnsen 4cd565d592 Added handling of already restored timestamp-retargeted files 2025-01-05 12:09:38 +01:00
Carl Johnsen b759b4564d Added docstrings to new functions 2025-01-05 12:09:04 +01:00
Carl Johnsen 85ddeaba51 Fixed old assertion message in restore test 2025-01-05 11:54:38 +01:00
Carl Johnsen 23aefd51c9 Add unit test for Issue #5825 Restore behavior with overwrite option 2025-01-05 11:52:12 +01:00
Carl Johnsen eb64320a49 Changed the reporting of restored files to match the legacy restore's reporting. 2025-01-05 11:51:52 +01:00
Carl Johnsen 637bfcefc8 Forgot to check whether the file exists 2025-01-05 11:25:19 +01:00
Carl Johnsen eba477c271 Added handling of the 'overwrite' option in the new restore flow 2025-01-05 10:44:08 +01:00
Carl Johnsen f76bf90e68 Added additional dry run logging 2025-01-05 10:43:23 +01:00
Carl Johnsen 8e92754efd VerifyLocalBlocks now keeps track of internally verified blocks for logging 2025-01-05 10:43:01 +01:00
Carl Johnsen be99f03bac VerifyLocalBlocks wasn't respecting dry run properly 2025-01-05 10:41:33 +01:00
Carl Johnsen a14d29da93 Modified VerifyTargetBlocks to also return the blocks that were verified. 2025-01-05 10:40:14 +01:00
Carl Johnsen a7507fb765 Simplified variable assignment 2025-01-05 10:35:50 +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