Kenneth Skovhede
15f21a5dc1
Minor style updates and some doc updates
2026-04-22 14:35:20 +02:00
Kenneth Skovhede and GitHub
e21ceea015
Merge branch 'master' into fix/maintenance-write-path-config-persistence
2026-04-21 16:42:57 +02:00
Kenneth Skovhede and GitHub
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 Skovhede and GitHub
e821b72bf2
Merge branch 'master' into fix/maintenance-write-path-config-persistence
2026-04-17 12:34:19 +02:00
Kenneth Skovhede and GitHub
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 Johnsen and GitHub
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
aureliandevel and GitHub
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
aureliandevel
ccf39670d1
Fix persisted write-path option restore for maintenance and recompress ( #6824 )
2026-04-04 14:37:31 +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
Kenneth Skovhede
ec6e32be39
Fixed usage of filelist filter
2026-03-14 18:26:37 +01:00
Kenneth Skovhede
a01a7ff5f7
Fixed filtering to return a null delegate when not filtering
2026-03-14 13:56:26 +01:00
Kenneth Skovhede
84cc4005b1
Fix restore without local db
...
This fixes a bug where restoring with `--no-local-db` and `--version=0` would fail because the database consistency check sees that data is missing.
The missing data is intentional in this case, as we deliberately recreate a partial database.
The PR adds a test for this scenario and fixes the validation to allow for the partial database. Additionally, the partial database is marked as such, in case it is not correctly deleted after the restore.
2026-03-14 12:02:53 +01:00
Carl Johnsen
c679e77f95
Merge branch 'master' into feature/full-disk-mac
2026-03-05 19:21:57 +01:00
Carl Johnsen
afbecbc7f0
Do not catch abort exceptions
2026-03-05 12:20:54 +01:00
Kenneth Skovhede
9bd4d228f3
Minor polish to the new restore flow
...
This PR adds explicit validation to the size parameters so we ensure that we throw a meaningful error message instead of fail on some later step.
This also fixes an error in an exception message. Should the error scenario ever trigger, it would previously show incorrect data or cause out-of-bounds error instead of the intended error message.
2026-03-04 14:44:09 +01:00