Commit Graph
203 Commits
Author SHA1 Message Date
Carl-Johannes JohnsenandGitHub 476774640a Merge pull request #5991 from carljohnsen/performance/restoreopt2 2025-02-28 13:03:25 +01:00
Carl Johnsen c5ebf4fa71 Added the restore channel depth option 2025-02-25 16:19:04 +01:00
Carl Johnsen 123c12e2c3 Whitespace 2025-02-25 16:18:13 +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 610f3b47d1 Update reporting module (#5910)
* Updated reporting values.

The reporter module can now emit the following extra values:
- operating-system
- installation-type
- destination-type
- next-scheduled-run

When running from the built-in scheduler, it will automatically set `--next-scheduled-run` so it is applied to the reporting data.

* Implemented an improved machine name reader.
This fixes #5907

* Added a guard against sending too much of the destination url as the destination.

* Fixed reading Windows Machine name

* Removed extra Windows logic as it has no effect
2025-01-28 08:56:42 +01:00
Kenneth SkovhedeandGitHub d99f74ed94 Rewrite the backend manager. (#5896)
* Rewrite the backend manager.

This creates a new more logic backend manager that handles all backend operations.

For each top-level operation, there is now a single backend manager instance that is passed to sub-commands.

The internals of the backend manager are now rewritten to use async logic instead of threading.

The design uses a single task runner that dispatches operations and honors concurrent settings and limits from one place.

The logic for each operation has been moved into a separate files/classes to make it easier to understand each operation.

This fixes #5804

* Fixed a few issues with not awaiting tasks

* Fixed not creating empty databases

* Fixed an issue with hashes not being recorded on download

* Reworked the download logic to avoid attempting to decrypt the file if it has been modified.

* Review fixes

* Renamed db collector to better reflect the purpose.

* Review fixes
2025-01-28 08:54:50 +01:00
Kenneth SkovhedeandGitHub 9464caf622 Feature/update license 2025 (#5851)
* Fixed some minor whitespace issues

* Updated all copyright to 2025
2025-01-07 09:40:39 +01:00
Carl Johnsen a566d1a49f Merge remote-tracking branch 'upstream/master' into fileprocessors 2024-12-23 06:45:43 +01:00
Kenneth SkovhedeandGitHub ff1b2b7990 Simplified task control (#5753)
* Simplified task control by having all logic in a single class and using async control mechanism
* Fixed the tests
* Made the marking of a backup partial explicitly communicated if the enumeration process is stopped.
* Added support for pausing active transfers
* Introduced transfer token to abort operations.
* Updated the way LiveControl is emitting events.
* Retains the paused state of the server across reboots, this fixes #5760.
* Reworked the way throttle speeds are propagated through LiveControls.
* Added option to pause transfers in the UI.
* Removed throttle settings from the LiveControls class so it is exclusively handled by the ApplicationSettings.
* Removed `thread-priority` as it does not work at all when tasks are used.
* Fixed the stop dialog and API to only support stop and abort.
* Removed unused variables
2024-12-18 08:27:59 +01:00
Kenneth Skovhede 20a6973ffd Updated documentation for --synchronous-upload.
This fixes #4207
2024-12-17 12:13:34 +01:00
Kenneth Skovhede 5363bf0d96 Implemented read-write timeout.
This fixes #5725
2024-12-10 22:12:20 +01:00
Carl Johnsen caeb119a5b Removed incorrect hints about default parameters 2024-12-10 06:08:02 +01:00
Carl Johnsen 95887b5841 Set the default cache eviction ratio to be 4gb.
Also set the default value to be parsed from a string.
2024-12-10 06:02:51 +01:00
Carl Johnsen 345701576c Merge branch 'master' into performance/restoreopt 2024-12-05 12:33:30 +01:00
Kenneth Skovhede f5cabd4c7f Remove --use-block-cache
The option has no effect.
This closes #3566
The block cache was added originally to work around perceived slow hash table lookups in the database.
By having an in-memory dictionary, lookups would be much faster.
It has no effect on disk wear, as the lookups are read-only.
The impact of such a cache was measured to be minimal with recent versions of SQLite.
2024-12-04 10:06:49 +01:00
Carl Johnsen 76240550ed Add preallocation option for restored files and update related documentation 2024-12-03 09:10:36 +01:00
Carl Johnsen 7aa19f851e Add configurable volume downloaders for restore process 2024-12-02 15:16:21 +01:00
Carl Johnsen 533088684b Consistent naming of decryptors 2024-12-02 15:12:50 +01:00
Carl Johnsen cdf0c28fd8 Added internal profiling as an option. Currently only implemented in the restore process. 2024-11-29 05:49:03 +01:00
Carl Johnsen c26c54c5f7 Fixed naming inconsistencies in the new restore options 2024-11-25 15:17:10 +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
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
Kenneth Skovhede a72bf27aa3 Merge remote-tracking branch 'origin/master' into feature/add-secret-provider 2024-11-05 11:48:30 +01:00
Carl Johnsen 8927dbb81a Added the commandline option for controlling the CPU intensity 2024-11-01 13:32:18 +01:00
Kenneth Skovhede 4b84135622 Merge remote-tracking branch 'origin/master' into feature/add-secret-provider 2024-10-24 16:11:41 +02:00
Kenneth Skovhede 34d13a20e2 Initial version of the external secret provider 2024-10-24 16:06:59 +02:00
Kenneth Skovhede f251d34b57 Implemented support for including the machine hostname in reports for simpler identification. 2024-10-16 16:22:47 +02:00
Kenneth Skovhede 91ea81f537 Added commandline option to toggle locks 2024-10-08 09:35:00 +02:00
Kenneth SkovhedeandGitHub d60bbeb215 Merge pull request #5428 from luixxiul/Strings.cs
Remove conjugation from Strings.cs files
2024-08-14 21:27:25 +02:00
Suguru Hirahara 778c04e681 Fix the wrong description of DisableOnBatteryLong 2024-08-14 05:20:36 -04:00
Suguru Hirahara 0a9425b944 Remove remaining conjugation 2024-08-13 10:16:20 -04:00
Suguru Hirahara 786c1ea625 Change 'DisableStreamingLong' to clarify the description 2024-08-13 08:09:18 -04:00
Suguru Hirahara d84bbfb571 Change 'Does not' and 'Don't' 2024-08-13 08:09:12 -04:00
Suguru Hirahara ee44ca23c5 Remove conjugation - Main/Strings.cs 2024-08-13 08:08:42 -04:00
Suguru Hirahara 0115c7d718 Remove conjugation - disable 2024-08-13 08:08:35 -04:00
Suguru Hirahara aebf9f9614 Remove conjugation - specify 2024-08-13 08:07:52 -04:00
Suguru Hirahara 14a2114c71 Remove conjugation 2024-08-13 08:07:10 -04:00
Kenneth SkovhedeandGitHub e902623609 Merge pull request #5409 from luixxiul/Strings-builtin
Add 'Use this option to ...' to strings
2024-08-12 16:15:19 +02:00
Suguru Hirahara eb93d1cc5b Revert some of the changes 2024-08-07 02:48:56 -04:00
Suguru Hirahara dd0bd401f9 Replace 'this option can be used to' with the common expression 'use this option to' 2024-08-06 12:09:11 -04:00
Suguru Hirahara 630468f785 Replace "property" with "option" 2024-08-06 11:56:17 -04:00
Suguru Hirahara d4e883ff1f Make strings for deprecated options consistent 2024-08-05 04:23:48 -04:00
Suguru Hirahara 04c79a94b3 Update string 'VerboseDeprecated' as --log-lebel has also been deprecated 2024-08-05 04:23:40 -04:00
Suguru Hirahara be16025bf9 Update the strings on Main/Strings.cs to have them followed other instances 2024-07-31 05:15:07 -04:00
Suguru Hirahara b5a066752a Replace 'Using this flag' with 'Using this option' 2024-07-31 03:35:54 -04:00
Suguru Hirahara d870394af8 Fix a typo 2024-07-31 01:53:15 -04:00
Suguru Hirahara 3c85de4781 Split sentences on Main/Strings.cs 2024-07-31 01:53:08 -04:00
Suguru Hirahara 2d3285e7ec Change ', use this option' to '. Use this option' 2024-07-31 01:52:54 -04:00