Commit Graph
3253 Commits
Author SHA1 Message Date
Carl Johnsen 5845174b05 Expanded hashes into variables instead of an array 2026-04-24 14:13:27 +02:00
Carl Johnsen 1361a282ec Added length to the S3 backends PUT operation to allow uploading non-seekable streams 2026-04-24 09:47:11 +02:00
Carl Johnsen 0148b24f9a Added forwarding of precomputed hash values to the AWS S3 backend 2026-04-23 17:08:31 +02:00
Carl Johnsen ceda2fa0ee Made the overloads of GetAsync and PutAsync call the same core implementation 2026-04-23 16:56:19 +02:00
Carl Johnsen dacecc3398 Made the LightWeightBackendManager public so it can be instantiated outside of the main library 2026-04-23 16:32:11 +02:00
Carl-Johannes JohnsenandGitHub 46bc349349 Merge pull request #6858 from carljohnsen/feature/rsync-destination-quota-check
Feature/Remote synchronization destination quota check
2026-04-23 16:01:02 +02:00
Carl Johnsen 575c15b64f Added better handling when the LightWeightBackendManager fails to instantiate a backend, not just cast it. 2026-04-23 08:35:41 +02:00
Carl Johnsen afeb15e1f2 Added destination space check to the remote synchronization runner. 2026-04-23 08:29:00 +02:00
Kenneth Skovhede a28b122901 Fixed empty file issue
This PR fixes an issue where backups of an empty file could prevent the backups running after a database recreate.

The issue would not prevent restore or backup, but in the case the user decided to rebuild the database, empty files could in some cases trigger the database consistency validation and prevent backups from running on the recreated database.

This fixes #6822
2026-04-22 14:08:40 +02:00
Carl Johnsen 6fc38b2940 Exposed GetQuotaInfoAsync through the lightweight backend manager. 2026-04-22 06:09:29 +02:00
Kenneth SkovhedeandGitHub 56f9c65f9e Merge pull request #6849 from carljohnsen/bugfix/remote-sync-shouldtrigger-trycatch
Bugfix/Remote synchronization ShouldTrigger try/catch guard
2026-04-21 15:50:00 +02:00
Carl Johnsen 7ce54a615c Moved ShouldTrigger check inside the try/catch to prevent failure of one destination to result in all failing. 2026-04-21 10:11:39 +02:00
Kenneth SkovhedeandGitHub c54a278050 Merge pull request #6844 from duplicati/feature/copyright-bump-2026
Updated copyright year to 2026 across the project
2026-04-17 12:34:06 +02:00
Kenneth Skovhede c0f40e19ca Updated copyright year to 2026 across the project 2026-04-16 15:21:24 +02:00
Carl Johnsen 77c95a9a21 ArrayPool buffer sizes can be bigger than the requested size 2026-04-16 11:08:58 +02:00
Carl Johnsen 1e853573c2 Added missing .ConfigureAwait() 2026-04-16 11:08:35 +02:00
Carl Johnsen a2e76b0a8e Merge branch 'master' into performance/backup-arraypool 2026-04-16 10:13:26 +02:00
Carl Johnsen 9a4a75e0f9 Removed redundant removal from cache_last_touched list 2026-04-14 09:58:54 +02:00
Carl Johnsen d58cafccc4 Fixed leaking of cache_last_touched when cache_max = 0 2026-04-14 08:14:04 +02:00
Carl Johnsen 987c4750f9 Changed to check the cache_size variable as that keeps track of cache consumption. 2026-04-13 15:12:43 +02:00
Carl Johnsen 916d1ecf41 Move logging to before the actions and added spacing. 2026-04-13 15:07:45 +02:00
Carl Johnsen 825623be55 Moved adding element to volume cache into its own method to ensure all steps has been taken. 2026-04-13 15:07:19 +02:00
Carl Johnsen 77a8a8b4d2 The sw_cache_lru timer wasn't being emitted with --internal-profiling=true 2026-04-13 14:39:53 +02:00
Carl Johnsen 781ad6b7d1 Added blank line to disconnect TODO and comment 2026-04-13 14:39:17 +02:00
Carl Johnsen f746b3b276 Have evict_lru return the volume id so that the caller doesn't depend on how it works internally. 2026-04-13 14:38:57 +02:00
Carl-Johannes JohnsenandGitHub 82e0d5e005 Merge pull request #6809 from carljohnsen/bugfix/remote-synchronization-module-fixes
Bugfix/remote synchronization module fixes
2026-04-12 21:40:47 +02:00
Carl Johnsen 4ae9ab7089 Undo wrangling related to when remote synchronization was a module 2026-04-12 18:23:24 +02:00
Carl Johnsen dd6234771b Added a remote synchcronization handler 2026-04-12 08:11:42 +02:00
Carl Johnsen b514961685 Moved remote synchronization to be part of the Main library instead of a seperate library 2026-04-12 08:10:29 +02:00
aureliandevel 4efb7fdd3c Merge branch 'feature/restore-volume-caching-revision' of https://github.com/aureliandevel/duplicati into feature/restore-volume-caching-revision 2026-04-10 08:21:23 +10:00
aureliandevel 7e4ac31502 Refactor restore process: remove internal profiling logging and update cache size tracking in VolumeManager 2026-04-10 08:21:02 +10:00
aureliandevelandGitHub a8017d0503 Merge branch 'duplicati:master' into feature/restore-volume-caching-revision 2026-04-04 17:00:07 +11:00
aureliandevel ee3dbcd97a Merge branch 'feature/restore-volume-caching-revision' of https://github.com/aureliandevel/duplicati into feature/restore-volume-caching-revision 2026-04-04 16:43:34 +11:00
aureliandevel d760e1381a Add restore volume cache profiling summaries 2026-04-04 16:10:05 +11:00
Carl Johnsen 8c022b63dc Replacement strings for Regex.Replace cannot contain dollar signs followed by a number, as that is also being parsed. 2026-03-25 13:42:32 +01:00
Carl Johnsen b59707c8e2 The remote synchronization runner now reports to the results directly. 2026-03-23 11:42:27 +01:00
Carl Johnsen 0817b60509 Rather than re-emitting the same results, don't emit the results until after the modules have run. 2026-03-23 09:22:32 +01:00
Carl Johnsen 8116eaa438 Added remote synchronization results to the main backup results. 2026-03-23 09:01:38 +01:00
Carl Johnsen e575d0db0f Removed whitespace 2026-03-23 08:59:27 +01:00
Carl Johnsen 4ed6de1967 Moved buffer allocation outside of while loop in SpillCollector 2026-03-23 06:53:42 +01:00
Carl Johnsen a67cc2e019 Removed whitespace 2026-03-23 06:52:46 +01:00
Carl Johnsen c9f2b76b72 Changed the DataBlock and StreamBlockSplitter to use ArrayPool instead of new byte[] 2026-03-23 06:52:34 +01:00
Carl Johnsen b19bfcccc7 Changed to tempfile rather than tempstream in remote synchronization as backends and wrapping streams close the underlying streams on dispose, leading to temporary data being deleted occassionally and on errors. 2026-03-20 14:53:36 +01:00
Carl Johnsen 9fd53c99c4 Updated the progress information that's sent to the UI during remote synchronization to reflect the progress on the overall destinations 2026-03-20 13:27:28 +01:00
Carl Johnsen 534bda7166 Added progress tracking to the remote synchronization module to the UI 2026-03-20 09:00:52 +01:00
Carl Johnsen 5046edef49 Re-write the results after running the modules to elevate any errors or warnings emitted by a module to be part of the main results through logging. 2026-03-20 04:39:26 +01:00
Carl Johnsen 21d52ea793 Changed from a reflection based approach to a type safe one.
This is done by making the operation update class public so they can be accessed outside of the main library, and the progress updater is passed down from the controller.
2026-03-20 04:38:16 +01:00
Carl Johnsen 29a8a0ad5f Added a remote synchronization phase 2026-03-18 15:44:40 +01:00
Carl Johnsen 1201a8344d Removed whitespace 2026-03-18 15:36:10 +01:00
Kenneth Skovhede 6a82da0e81 Fix null versions array 2026-03-14 19:17:51 +01:00