Kenneth Skovhede
49f08bdbbe
Fixed an issue with HyperV parsing failing if the filter string was null
2026-06-12 18:08:25 +02:00
Kenneth Skovhede
ee371c7413
Handle script modified filter
...
This PR fixes a bug where a script could write a new filter, but the filter was never applied to the backup.
This also fixes an issue where the filter string was not available in scripts or emails, except on the initial call.
This PR updates the logic so the `run-script-after` and `run-script-post-backup` also have access to the filter string, if needed for reporting or other.
This fixes #5143
2026-06-09 16:29:02 +02:00
Kenneth Skovhede
39636c6364
Added post-backup script
...
This PR adds a new `--run-script-post-backup` option that allows running a script after the main backup operation has completed, but before locking, compacting and verification is done.
The use for this is intended for cases where you want to stop or pause some service, run a backup, and then resume the service. Prior to this PR you would need to wait for the entire backup operation to complete, but with the new option you can resume as soon as the source data is no longer needed.
2026-05-01 07:06:12 +02:00
Kenneth Skovhede
41c11735d5
Nump MailKit + MimeKit
...
This PR updates MimeKit and MailKit to version 4.16.0.
This closes #6846
2026-04-21 14:52:40 +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
Kenneth Skovhede
8485e67a54
Fixed nullable warnings
2026-04-13 13:57:11 +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
14eaa7e4cc
Removed the remote synchronization module
2026-04-12 08:11:12 +02:00
Carl Johnsen
b59707c8e2
The remote synchronization runner now reports to the results directly.
2026-03-23 11:42:27 +01:00
Carl Johnsen
4b98b50a7d
Reset the progress bare on the start of each secondary destination.
2026-03-23 09:22:51 +01:00
Carl Johnsen
8116eaa438
Added remote synchronization results to the main backup results.
2026-03-23 09:01:38 +01:00
Carl Johnsen
e2f903aa10
Added missing docstrings
2026-03-20 15:32:09 +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
b7503687bb
Better and more high resolution progress display during running the remote synchronization module
2026-03-20 12:28:58 +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
407dcbaa59
The remote synchronization runner now reports its progress to the UI
2026-03-20 04:49:14 +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
11e5bcdf30
Errors produced during the remote synchronization are now added to the results.
2026-03-18 16:15:30 +01:00
Carl Johnsen
f02082d462
Update the remote synchronization phase using reflection
2026-03-18 15:49:23 +01:00
dependabot[bot] and GitHub
f4f30447c7
Bump the nuget group with 1 update
...
Bumps MimeKit from 4.12.0 to 4.15.1
---
updated-dependencies:
- dependency-name: MimeKit
dependency-version: 4.15.1
dependency-type: direct:production
dependency-group: nuget
- dependency-name: MimeKit
dependency-version: 4.15.1
dependency-type: direct:production
dependency-group: nuget
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-05 23:29:17 +00:00
Kenneth Skovhede
4c9983f677
Added Selectel to list of S3 providers
2026-02-06 14:22:39 +01:00
Carl Johnsen
41408a1c12
Post merge fixes
2026-01-28 10:36:29 +01:00
Carl Johnsen
8d6122ee41
Merge branch 'master' into feature/automatic-321
2026-01-28 10:30:19 +01:00
Carl Johnsen
741526c417
Forward the backup options as src options for the remote synchronization module
2026-01-28 10:22:39 +01:00
Carl Johnsen
8fa514f940
Made the default keys of the rsync json be parsed in kebab-case, and added a test for the sync-on-warnings flag
2026-01-28 09:54:32 +01:00
Carl Johnsen
dc6383d9d4
Coverted from explicit json parsing to record based parsing
2026-01-28 09:11:08 +01:00
Carl Johnsen
a76b80a4f6
Moved the recording of the rsync to after the operation has completed succesfully
2026-01-28 05:36:31 +01:00
Carl Johnsen
87070bf6c7
Changed to use the utility timeparser instead of the generic .NET one
2026-01-28 05:33:49 +01:00
Carl Johnsen
c5feceb5e9
Renamed schedule to interval
2026-01-28 05:30:42 +01:00
Carl Johnsen
f211ccee9a
Added helper functions for parsing the remote synchronization json parsing for simplification and to handle nullable warnings.
2026-01-19 15:10:47 +01:00
Carl Johnsen
5b1290d18f
On Windows, the same log should be used, as multiple processes cannot write to the same file
2026-01-15 07:35:38 +01:00
Carl Johnsen
7346030120
ShouldTrigger didn't have the initial trigger when counting as it should have
2026-01-13 06:49:54 +01:00
Carl Johnsen
ef20138cd5
Src isn't available until later in the process
2026-01-13 06:48:03 +01:00
Carl Johnsen
ac8acee257
cacked tests
2026-01-12 14:21:53 +01:00
Andy Bodnar
e85f3a0c58
Implement Handlebars templating engine for reports ( #6280 )
...
This adds a new Template result format that uses Handlebars.Net for
flexible report customization. Users can now create fully customized
reports using Handlebars syntax, replacing the limited token-based
approach.
Features:
- New Template export format with Handlebars support
- Built-in templates: default, email, html, slack
- Custom template support via file path or inline content
- Helper functions for formatting: formatSize, formatDuration,
formatDate, eq, statusClass, eachProperty
- Full access to result data, log lines, and exceptions
2026-01-11 14:35:09 -07:00
Carl Johnsen
51031a8d71
Added the option to disable remote synchronization when the backup ran with warnings
2026-01-09 12:10:42 +01:00
Carl Johnsen
87dd0cd756
Incorrect indices passed to the remote synchronization module should not record anything in the database, but should instead emit a warning to the log
2026-01-09 10:56:55 +01:00
Carl Johnsen
7021036d98
Ensured that default schedules are explicitly added to the collections in RemoteSynchronizationModule.cs
2026-01-09 10:51:29 +01:00
Carl Johnsen
51d9c2c36d
Syntactic updates
2026-01-09 10:50:09 +01:00
Carl Johnsen
177272ecd9
Merge branch 'master' into feature/automatic-321
2026-01-08 20:55:31 +01:00
Carl Johnsen
d428c4174d
Database operations were reporting erros
2026-01-08 20:27:28 +01:00
Carl Johnsen
e7f7960624
Removed unused variable
2026-01-08 19:24:33 +01:00
Carl Johnsen
d583f6092a
Added support for multiple destinations to the RemoteSynchronizationModule
2026-01-08 19:23:38 +01:00
Carl Johnsen
31714a2ff1
Changed the database operations of the RemoteSynchronizationModule to match those of the main librarys database operations
2026-01-08 19:03:40 +01:00
Carl Johnsen
5d37c8587e
Added schedules to the RemoteSynchronizationModule
2026-01-08 18:38:52 +01:00
Carl Johnsen
8378e65d97
Indented a loop
2026-01-08 15:46:52 +01:00
Carl Johnsen
6d2e83698d
Added docstrings
2026-01-08 15:46:41 +01:00
Carl Johnsen
6c00cda7f2
Removed whitespace
2026-01-08 15:45:05 +01:00