Commit Graph
674 Commits
Author SHA1 Message Date
Kenneth SkovhedeandGitHub a15c3262be Merge branch 'master' into fix-regexp-combine 2025-04-30 16:14:17 +02:00
Kenneth SkovhedeandGitHub 349a6e55fb Merge pull request #6217 from duplicati/feature/add-test-for-4988
Added a test for #4988
2025-04-30 16:09:00 +02:00
Kenneth SkovhedeandGitHub 9b3328daef Merge pull request #6210 from duplicati/feature/improve-backup-listing-speed
Improve backup listing speed for restore
2025-04-30 12:47:13 +02:00
Kenneth Skovhede 5fbd561a8f Added a test for #4988
This PR adds a test that replicates issue #4988.

Since the test now passes, the issue is solved.

This fixes #4988
2025-04-30 12:40:23 +02:00
Kenneth Skovhede 62a3ca9b91 Added tests for 5066
This adds tests the issue described in #5066.

The issue was already fixed, so the tests were verified rolling back the offending query.

This closes #5066
2025-04-29 17:10:49 +02:00
Kenneth Skovhede a3bc9b80ca Implemented 4 new list methods that are optimized for a single operation 2025-04-29 10:03:57 +02:00
Kenneth Skovhede 32f44a1ea7 Fixed issues with compile after merges 2025-04-25 17:21:39 +02:00
Kenneth SkovhedeandGitHub af9465d8e3 Merge pull request #6187 from duplicati/feature/fix-throttle-speeds
Fixed throttle support
2025-04-25 15:36:44 +02:00
Kenneth SkovhedeandGitHub 2837a105ee Merge pull request #6186 from duplicati/feature/add-sqlite-cache-value
Added option to set the SQLite page cache
2025-04-25 14:45:43 +02:00
Kenneth SkovhedeandGitHub da02a93978 Merge branch 'master' into feature/fix-throttle-speeds 2025-04-25 13:58:53 +02:00
Kenneth SkovhedeandGitHub 1bbe04a782 Merge branch 'master' into feature/add-sqlite-cache-value 2025-04-25 13:58:24 +02:00
Kenneth Skovhede 04b98b4be6 Added tests to database tool 2025-04-25 12:30:26 +02:00
Kenneth Skovhede ba298df915 Added an upgrade command to the database tool 2025-04-25 12:30:03 +02:00
Kenneth Skovhede f88635717d Merge remote-tracking branch 'origin/master' into feature/fix-throttle-speeds 2025-04-24 21:49:11 +02:00
Kenneth Skovhede 46f5efd178 Merge branch 'master' into feature/support-glacier-style-non-readable-files 2025-04-23 22:37:31 +02:00
Kenneth SkovhedeandGitHub 171eb1bb12 Merge branch 'master' into feature/add-sqlite-cache-value 2025-04-23 16:34:55 +02:00
Kenneth Skovhede edca083cc9 Extended tests to ensure they cover what they are supposed to cover 2025-04-23 15:40:06 +02:00
Kenneth SkovhedeandGitHub 0c4fffa6ce Merge branch 'master' into feature/add-sqlite-cache-value 2025-04-23 15:25:00 +02:00
Kenneth Skovhede 3ed195d821 Updated tests 2025-04-23 11:49:06 +02:00
Kenneth Skovhede f393c00030 Fixed throttle support
This moves the throttle support to the StreamUtil throttled stream, which allows multiple streams to share a throttle value, such that the throttle setting is applied to the entire communication from Duplicati, and not for each connection.

This also cleans up a bit in the progress reporting, where the backend manager now keeps track of the "active" transfer and only emits progress on that. Once it finishes, a new transfer is promoted a "active".
2025-04-22 22:54:48 +02:00
Kenneth Skovhede 0a7a1cd689 Added option to set the SQLite page cache
This adds an extra option to allow setting the SQLite page cache size as a regular option.

Prior to this commit it was only possible to set the SQLite page cache size via environment variables.

The option to use environment variables is preserved, and as options from the environment variable are applied after the new setting, environment variables take precedence.

The default value for the new option is to use 1% of the system memory for the page cache. For the restore process, a connection per worker may be made which defaults to half the number of cores, so the maximum amount of memory is 1% * half the CPU cores.

This is just the upper limit, and SQLite may choose not to use all of it.

This fixes #6178
2025-04-22 14:26:46 +02:00
Kenneth SkovhedeandGitHub 0e2e474721 Merge pull request #6168 from duplicati/feature/capture-failing-ci-test
Added logging to catch CI-only failure
2025-04-16 14:11:32 +02:00
Kenneth SkovhedeandGitHub bff95cb3d3 Merge pull request #6158 from duplicati/feature/more-sqlite-tests
Added SQLite tests
2025-04-16 08:06:49 +02:00
Kenneth Skovhede 49cb6f01fb Added logging to catch CI-only failure 2025-04-16 08:05:38 +02:00
Kenneth Skovhede e392658e35 Fixed multiple retention settings in delete.
The delete call would select the same fileset multiple times if multiple retention options were present.

This fixes the selection to a distinct set.
This fixes #6127
2025-04-15 12:13:47 +02:00
Kenneth Skovhede 6e18f7a4d9 Added SQLite tests
Fixed the temporary db value list
2025-04-14 11:24:13 +02:00
Kenneth Skovhede f0f68dfebf Fix locale-sensitive time parsing
On some locales, odd strings would parse as valid full dates, causing relative dates to be incorrectly calculated.

This commit fixes the issues and revisits the DST aware calculations with more tests.
2025-04-08 23:38:36 +02:00
Kenneth Skovhede 11a233c20a Merge commit '4a6bf8aa019d86cc9a10eefa55aced14e8a13128' into feature/improve-block-reuse 2025-04-06 09:25:10 +02:00
Kenneth Skovhede 1095850965 Reworked the way deleted blocks are detected.
This should have a much lower performance impact.
2025-04-06 08:41:59 +02:00
Kenneth Skovhede cfad020ef2 Merge commit '61892a40d9aff663da86eda273505970268f6384' into feature/improve-block-reuse 2025-04-06 08:36:24 +02:00
Kenneth SkovhedeandGitHub 15c2079cdc Merge branch 'master' into feature/improve-compact-block-use-check 2025-04-06 08:28:03 +02:00
Kenneth Skovhede 2deb147e71 Fixed change stats and added a test 2025-04-05 22:58:10 +02:00
Kenneth Skovhede 52fc144580 Merge branch 'master' into feature/improve-compact-block-use-check 2025-04-04 14:41:58 +02:00
Kenneth Skovhede c3e0f7369e Added comment 2025-04-03 22:27:13 +02:00
Kenneth Skovhede 7369ecfbfb Slightly easier to read numbers 2025-04-03 21:35:16 +02:00
Kenneth Skovhede d55ac02d3f Added tests for better coverage 2025-04-03 21:05:22 +02:00
Kenneth Skovhede 36b8308d67 Added delays to make tests more stable 2025-04-03 17:21:05 +02:00
Kenneth Skovhede 2006556778 Fixed some more nullable support in the database layer 2025-04-03 15:46:20 +02:00
Kenneth Skovhede 9e2ac7c716 Fixed tests 2025-04-03 13:58:54 +02:00
Kenneth Skovhede 496d1ebbef Commented in check 2025-04-01 16:38:38 +02:00
Kenneth Skovhede cd9d6a52eb Reproduce tests for #4693 2025-04-01 16:38:11 +02:00
Kenneth Skovhede d24e9df13b Added tests for zip64 2025-03-31 13:26:25 +02:00
Carl Johnsen 79059e288a Added comments about why Archive is excluded for now 2025-03-26 15:51:27 +01:00
Carl Johnsen fc2d55bfc5 The CI still appends Archive - trying to ignore it if it's set. 2025-03-26 15:51:15 +01:00
Carl Johnsen 4ae9f16476 Sanity testing by omitting the Archive attribute during testing. 2025-03-26 15:05:21 +01:00
Carl Johnsen abdffed7d9 Trying to mitigate attributes set on the original files before performing the backup, which it seems like the CI is doing. 2025-03-26 14:21:40 +01:00
Carl Johnsen a4cf24e854 Merge branch 'master' into bugfix/restore-folder-metadata 2025-03-26 12:07:27 +01:00
Carl Johnsen 049f330412 The 'everyone' user is not available on all versions of Windows 2025-03-26 09:20:29 +01:00
Carl Johnsen ec35d58f3b Added additional information to the asserts for debugging.
The asserts related to the OS specific folder and file are the same, because their line number reflects where they failed.
2025-03-26 06:20:45 +01:00
Carl Johnsen 5961ff6894 Changed to consistently use the same variables for comparison 2025-03-26 06:17:51 +01:00