Commit Graph
419 Commits
Author SHA1 Message Date
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]andGitHub 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
Carl Johnsen fd30700253 Set default parameters and reduced the amount of exposed parameters to the remotesynchronizationmodule 2026-01-08 15:28:41 +01:00
Carl Johnsen 52b38579b7 Added remote synchronization as a module 2026-01-08 14:44:26 +01:00
Carl Johnsen 590b42137e Removed whitespace 2026-01-08 14:41:48 +01:00
Carl Johnsen 50f18dca84 Moved ResultSerialization from builtin modules to a shared library 2026-01-08 14:34:11 +01:00
Kenneth Skovhede 7ea545d454 Added cloudflare to list of safe domain names 2026-01-06 10:10:48 +01:00
Kenneth Skovhede 0e68f53473 Added Internxt S3 hostnames 2025-12-12 12:04:13 +01:00
Kenneth Skovhede 6d9826df06 Initial implementation of write-support for SecretProviders
This updates the MacOS secret provider to use PInvoke for a more stable API than the secrets tool that was used before.
2025-11-30 23:01:57 +01:00
Kenneth Skovhede ef649f3926 Updated reporting to include more details
This PR updates the reports sent to include a more detailed OS version string, similar to what is used by the usagereporter and systeminfo call.

It also reports parts of the destination hostname, if using S3 and the host is a known public cloud. This is done to avoid leaking internal hostnames or actual bucket names, but still provide some way to identify what storage service is used.
2025-11-28 12:04:47 +01:00
Kenneth Skovhede 5620c083d8 Fixed some 9.0.6 refs 2025-11-14 17:08:19 +01:00
Kenneth Skovhede 1ea74a3c63 Updated to .NET10 2025-11-14 15:05:39 +01:00
Kenneth Skovhede ca829acb31 Make --send-mail-password a password option
Prior to this PR the password was not treated as a password, but a string.
2025-11-02 16:47:56 +01:00
Kenneth Skovhede 67c3039814 Updated example script docs 2025-10-15 12:00:04 +02:00
Svend Roperos c1e22faa03 fix: make string.Split calls explicit to resolve ambiguous overloads 2025-09-04 20:14:52 +02:00
Svend Roperos c261d3a550 feat: add server selections on MSSQL 2025-09-04 20:14:52 +02:00
Kenneth SkovhedeandSvend Roperos 9322c732fa Fixed the regex for MSSQL path matching 2025-09-04 20:14:52 +02:00
Kenneth SkovhedeandSvend Roperos 0d57f2ceea Rewrote HyperV and MSSQL parser to support paths under each instance.
This also cleans up the filters slightly, so the logic for "first match" still holds.

If an item is excluded, and subfolders are also automatically excluded.
2025-09-04 20:14:52 +02:00