Commit Graph
6297 Commits
Author SHA1 Message Date
Kenneth Skovhede 2bb31d8273 Update to use destination restore path to avoid leaking credentials in the log 2026-01-29 20:22:09 +01:00
Kenneth SkovhedeandGitHub 4745aa464b Merge branch 'master' into feature/add-office-365-backup 2026-01-29 20:11:29 +01:00
Kenneth SkovhedeandGitHub 046c175362 Merge pull request #6735 from duplicati/feature/fix-issue-6552
Handle missing blocks on recreate
2026-01-29 20:08:20 +01:00
Kenneth SkovhedeandGitHub 4d36711769 Merge pull request #6726 from duplicati/feature/fix-dry-run-2
Fixed dry-run command
2026-01-29 20:06:17 +01:00
Kenneth SkovhedeandGitHub 55ab419891 Merge pull request #6721 from duplicati/feature/support-gcs-object-locking
Added support for locking files on GCS
2026-01-29 20:05:29 +01:00
Kenneth SkovhedeandGitHub 26f7dd8586 Merge branch 'master' into feature/add-office-365-backup 2026-01-29 20:04:42 +01:00
Kenneth SkovhedeandGitHub 47829034c1 Update ResultClasses.cs
Removed #nullable as the file is not properly nullable annotated
2026-01-29 16:08:44 +01:00
Kenneth SkovhedeandGitHub d1b7cb3767 Update ResultInterfaces.cs
Removed #nullable as the file is not properly nullable annotated
2026-01-29 16:08:14 +01:00
Kenneth Skovhede e269912c2b Fixed correct scope for locks with GCS 2026-01-29 15:44:11 +01:00
WhiteElephantIsNotARobotandClaude a1a22efafa Add RestorePath property to restore results
This adds the output folder path to the restore log/results, addressing
issue #6698. When performing a restore, especially long-running ones,
users may forget where files were restored to. This change ensures the
restore path is included in the JSON output.

Changes:
- Added RestorePath property to IRestoreResults interface
- Added RestorePath property to RestoreResults class
- Set RestorePath in RestoreHandler at the start of the restore operation

When no custom restore path is specified (files restored to original
locations), RestorePath will be null. Otherwise, it contains the
absolute path where files were restored.

Co-Authored-By: Claude (mimo-v2-flash) <noreply@anthropic.com>
2026-01-29 14:32:01 +00:00
Kenneth SkovhedeandGitHub 29adda9552 Merge pull request #6734 from duplicati/feature/improve-commandline-execute
Minor fixes for better experience when running a command and the data…
2026-01-28 21:05:50 +01:00
Kenneth Skovhede fa6be206ef Handle missing blocks on recreate
This PR handles a case where the `dindex` files may reference non-existing `dblock` files. In this case the recreate may register missing (and unused) blocks in the `DeletedBlock` table, which will later cause issues if the blocks are attempted used.

The fix is to remove missing blocks before the cleanup so there is no entry that references the missing volumes.

This fixes issue #6552
2026-01-28 21:03:03 +01:00
Kenneth Skovhede 015176a2f8 Fix not crashing when requesting lock-info on a destination that does not support it. 2026-01-28 18:07:18 +01:00
Carl-Johannes JohnsenandGitHub 6b02116bed Merge pull request #6708 from carljohnsen/feature/automatic-321
Feature/Automatic 3-2-1 backup
2026-01-28 17:21:33 +01:00
Kenneth Skovhede 0f61698238 Minor fixes for better experience when running a command and the database is in an incorrect version 2026-01-28 15:37:41 +01:00
Kenneth SkovhedeandGitHub 1616341df7 Merge branch 'master' into feature/fix-dry-run-2 2026-01-28 15:20:35 +01:00
Kenneth SkovhedeandGitHub 1a19b6aa9b Merge pull request #6728 from duplicati/feature/issue-6538
Fixed issue with missing log
2026-01-28 15:20:04 +01:00
Kenneth SkovhedeandGitHub e79d30731c Merge pull request #6724 from duplicati/feature/add-soft-delete
Added a soft-delete feature
2026-01-28 15:19:49 +01:00
Kenneth SkovhedeandGitHub 6299837860 Merge branch 'master' into feature/fix-dry-run-2 2026-01-28 14:43:33 +01:00
Kenneth SkovhedeandGitHub 39400dc83a Merge pull request #6729 from duplicati/feature/fix-issue-6366
Improved query for purge broken files
2026-01-28 14:41:37 +01:00
Kenneth SkovhedeandGitHub 2cb0ddceb3 Merge pull request #6730 from duplicati/feature/fix-missing-event-on-data-update
Fixed a missing event on settings update
2026-01-28 11:49:02 +01:00
Kenneth SkovhedeandGitHub 1805f2ef15 Merge branch 'master' into feature/issue-6538 2026-01-28 11:12:11 +01:00
Carl Johnsen fc5f065934 Configured the handlebars templating to use invariant culture 2026-01-28 11:03:08 +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 6d2187fe41 Moved strings to a resource file and called localization methods on them before returning. 2026-01-28 10:14:35 +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 e585a62798 Added note on the dangers of reflection based dependencies. 2026-01-28 05:25:50 +01:00
Kenneth Skovhede ff92837677 Fixed a missing event on settings update
When updating the server settings, the server would not emit the new settings on save, causing the UI to be inconsistent if websocket is active.

This happened primarily when saving advanced options.
2026-01-27 21:40:13 +01:00
Kenneth Skovhede c765a5658b Improved query for purge broken files
This PR improves the query used to calculate the size of removed files when issuing the purge-broken-files command.

This PR also adds the option `--reduced-purge-statistics` which will fully skip the size calculation, in the event the query is still performing poorly.

This fixes #6366
2026-01-27 21:15:50 +01:00
Kenneth Skovhede bb2be7966e Fixed issue with missing log
When an error occurred, the log would be written to the database, but the transaction would then be rolled back, causing the log to disappear.

This adds explicit commit to the log when handling error cases.

This fixes #6538
2026-01-27 21:08:36 +01:00
Kenneth SkovhedeandGitHub 5eef7ea9df Merge branch 'master' into feature/fix-filen-mfa-login 2026-01-27 21:05:52 +01:00
Kenneth SkovhedeandGitHub c8283fe299 Merge branch 'master' into feature/add-office-365-backup 2026-01-27 20:44:45 +01:00
Kenneth SkovhedeandGitHub 029f76154b Merge branch 'master' into feature/support-gcs-object-locking 2026-01-27 20:41:33 +01:00
Kenneth SkovhedeandGitHub a16ea9c39c Merge branch 'master' into feature/fix-dry-run-2 2026-01-27 20:41:16 +01:00
Kenneth Skovhede a986a13abf Fixed dry-run command
This PR adds fixes to honor the --dry-run option to avoid surprises when running an operation.

This fixes #6573
This closes #6581
2026-01-27 15:01:34 +01:00
Kenneth Skovhede 14f7ec0ec5 Added dispose checks in debug mode to ensure we do not attempt to use a disposed index writer by accident. 2026-01-27 14:15:12 +01:00
Kenneth Skovhede 8996955dc1 Added a soft-delete feature
This PR adds an option to give a soft-delete prefix. If the prefix is set, files are renamed instead of actually being deleted. For backends that support life-cycle rules, this can be used to provide protection agains accidental deletion.

The intended use is that the client credentials do not have permissions to delete files, but can rename files. When a file is soft-deleted, it is then renamed and no longer "visible" to Duplicati. The destination can then have lifecycle rules that deletes files with the designated prefix after a set interval, or by another service that has permissions to actually delete files.
2026-01-27 14:10:31 +01:00
Kenneth Skovhede 26fd92f17a Attempt to fix a race in unittests 2026-01-26 17:22:40 +01:00
Kenneth Skovhede 9780096fe3 Added support for locking files on GCS 2026-01-26 16:50:08 +01:00
Kenneth Skovhede a39ed1f0ff Fixed login with MFA on Filen.io 2026-01-26 15:52:40 +01:00
Kenneth Skovhede c0dd3ccea2 Fixed another failing test 2026-01-26 14:58:58 +01:00
Kenneth Skovhede 732b4e3989 Implemented support for the Test operation on sourceProvider and restoreDestinationProvider 2026-01-25 11:57:09 +01:00
Kenneth Skovhede e9af50f9ac Added minor code cleanup
- Added missing cultureinformation on some date/time strings
- Added a check if a file exists to avoid an exception when probing for datafolder files
- Fixed a string that should be a constant
- Fixed a dirseparator append
- Fixed places where the exception message was logged into the log message itself creating double data
2026-01-23 11:43:59 +01:00
Kenneth SkovhedeandGitHub 7a05afef69 Merge branch 'master' into feature/add-office-365-backup 2026-01-23 11:40:42 +01:00