Commit Graph
10886 Commits
Author SHA1 Message Date
Carl Johnsen 7ee174b6f8 Execute the blockcount check and decrement in a single SQL statement 2024-11-25 09:33:32 +01:00
Carl Johnsen 27c4f93af2 The FileProcessor bursts as much as possible by default 2024-11-25 08:53:27 +01:00
Carl Johnsen ebac24ce04 Rather than specifying multiple guids for a restore, use the one that the restore database has. 2024-11-25 08:52:51 +01:00
Kenneth SkovhedeandGitHub ea922923f2 Merge pull request #5697 from duplicati/feature/support-click-on-trayicon
Added click event handler to tray-icon.
2024-11-24 09:16:57 +01:00
Kenneth SkovhedeandGitHub 8bad6e60f0 Merge pull request #5696 from duplicati/feature/fix-silent-upgrade-error
Fix MSI /quiet upgrade error
2024-11-24 09:16:29 +01:00
Kenneth Skovhede 249bb96af8 Added click event handler to tray-icon.
(Does not work on OSX).
2024-11-22 17:07:56 +01:00
Kenneth Skovhede 9de6869e5b Added support for restarting the Windows Service, if it is running. 2024-11-22 16:54:06 +01:00
Carl Johnsen 5625c4c1ce Add configurable options for scaling the number of restore file processors, decryptors, and decompressors 2024-11-22 16:53:16 +01:00
Kenneth Skovhede 711fab94af Fixed MSI upgrade issue.
This changes the removal order to avoid duplicate entries being installed.

Upper-cased the upgrade code as that is what WiX does.
2024-11-22 16:52:48 +01:00
Carl Johnsen fe6f91dc9a Add option for using legacy restore method 2024-11-22 16:40:54 +01:00
Carl Johnsen 5436b2f9f5 Add eviction ratio option for restore cache management 2024-11-22 16:32:53 +01:00
Carl Johnsen de24a9f15a Added the option to control the size of the data block cache during restore 2024-11-22 16:24:27 +01:00
Carl Johnsen 0cd9374bed Added comments and docstrings 2024-11-22 15:26:04 +01:00
Kenneth SkovhedeandGitHub a2c08cc84e Merge pull request #5686 from duplicati/feature/cleanup-ftp-error-handling
Refactoring the FTP backend
2024-11-22 13:01:51 +01:00
Kenneth SkovhedeandGitHub 1eb73349da Merge pull request #5694 from duplicati/feature/re-introduce-crashlog
Added the missing crashlog feature.
2024-11-22 13:01:26 +01:00
Carl Johnsen 890fa2ce52 Add copyright notices 2024-11-22 11:47:07 +01:00
Carl Johnsen 43a392f139 The tempfiletable name is also required externally from the database. 2024-11-22 11:26:25 +01:00
Carl Johnsen 7094786e23 Removed unnessecarily complex nested ternary statements. 2024-11-22 11:26:01 +01:00
Carl Johnsen c798910658 If the target file already exists and is verified, do nothing more 2024-11-22 11:25:35 +01:00
Carl Johnsen 393cfcf5b2 Broken files tracker wasn't initialized 2024-11-22 11:24:55 +01:00
Carl Johnsen c79793dbe2 Using the field result rather than passing it as an argument 2024-11-22 11:09:47 +01:00
Carl Johnsen 1fc3212144 Added logging of the local and remote files thay may fail during restoration 2024-11-22 11:09:17 +01:00
Carl Johnsen 8a1bf22e27 Shutting down and cleaning up the block directory could be done in an incorrect order where some task was trying to access the removed table.
Disposing has now been moved to after all of the accessors have finished.
2024-11-22 07:05:20 +01:00
Kursat AktasandGitHub a6cf13a12a Introducing Duplicati Guru on Gurubase.io 2024-11-21 23:43:17 +03:00
Carl Johnsen 8c4f5cebf0 The size of the channels are being used by the FileProcessor so that it knows how much it can burst requests. 2024-11-21 20:57:01 +01:00
Carl Johnsen b18504864f Changed to simple using statement on metadatastorage 2024-11-21 20:56:12 +01:00
Carl Johnsen 7717f32e77 Added tracking of errors on remote files during restoration 2024-11-21 20:55:20 +01:00
Kenneth Skovhede 2a8f12890b Fixed compile issue 2024-11-21 20:27:07 +01:00
Kenneth Skovhede 7e479788d7 Added the missing crashlog feature.
The crashlog feature was lost during the removal of the auto-updater.
This commit adds it back, in a slightly different way.
2024-11-21 20:23:42 +01:00
Carl Johnsen cacc5d18a0 Added tracking of errors of local files during restoration 2024-11-21 15:14:29 +01:00
Kenneth SkovhedeandGitHub c5324886da Merge pull request #5693 from duplicati/feature/only-run-tests-on-pr
Feature/only run tests on push
2024-11-21 14:42:29 +01:00
Kenneth Skovhede 30c80696c7 Linting, use double quotes in yml files 2024-11-21 14:41:22 +01:00
Kenneth Skovhede 00eb61362b Only run tests on PRs 2024-11-21 14:41:01 +01:00
Kenneth Skovhede c915b70697 Added support for ftp/aftp treating url paths as before the update 2024-11-21 14:37:25 +01:00
Kenneth Skovhede 9dadd514bf Inverted the flag for relative paths, as that is more compatible with the previous library. 2024-11-21 13:13:44 +01:00
Carl Johnsen 916d35e928 Added logic for utilizing the original data when restoring, if it matches the hashes in the database. 2024-11-21 10:39:48 +01:00
Carl Johnsen 1cbed23603 Ordering by file size ensures that we start with the files that'll take the longest 2024-11-21 10:38:47 +01:00
Kenneth SkovhedeandGitHub 8df659662d Merge pull request #5689 from duplicati/feature/fix-remote-control-timeouts
Fixed the no-response timeout to follow the heartbeat interval.
2024-11-21 09:36:52 +01:00
Carl Johnsen b9a4b8c934 Moved local file verification to its own function 2024-11-21 07:19:13 +01:00
Kenneth Skovhede 56ff961b0d Removed the latest-v2.js as it is no longer used. 2024-11-20 17:25:03 +01:00
Carl Johnsen d109bf5db1 The FileProcessor now verifies whether the target file has already been restored. 2024-11-20 16:33:33 +01:00
Kenneth Skovhede 6c3735fc56 Fixed the no-response timeout to follow the heartbeat interval. 2024-11-19 22:20:46 +01:00
Kenneth Skovhede 72676fa360 Merge remote-tracking branch 'origin/master' into feature/cleanup-ftp-error-handling 2024-11-19 13:55:34 +01:00
Kenneth Skovhede 5712264e6a Updated some parsing to be simpler.
Changed the strategy to use absolute paths for all operations, to avoid cases where a silent reconnect would end up in a different folder.
Add backwards compatible option to use CWD style relative operations.
Added support for detecting the SSL certificate hash when there is a certificate error.
2024-11-19 13:55:23 +01:00
Carl Johnsen 9955647768 Changed the bursting strategy of the FileProcessor to fill up the pipeline, and then issue a new request after every response 2024-11-19 11:34:10 +01:00
Carl Johnsen 0d7b9403c9 The SleepableDictionary now keeps track of which blocks to restore, so that it only caches the blocks that needs to be cached. 2024-11-19 10:35:57 +01:00
Carl Johnsen 09132cd509 Changed the VolumeDownloader to use prepared statements 2024-11-19 10:34:13 +01:00
Carl Johnsen 4d368f5a17 Changed the FileProcessor to use prepared statements 2024-11-19 10:33:50 +01:00
Carl Johnsen 878780dfe4 Added Database.ExecuteReaderEnumerable for prepared statements 2024-11-19 10:32:54 +01:00
Kenneth Skovhede 2828729a59 Changed logic for how error messages are constructed 2024-11-19 06:52:17 +01:00