Commit Graph
12817 Commits
Author SHA1 Message Date
Kenneth Skovhede 4e8569b0eb Added SFTP tests to live backend tests 2025-12-04 19:48:44 +01:00
Kenneth SkovhedeandGitHub 9bd6a083dd Merge pull request #6663 from duplicati/feature/pre-guard-for-detached-files
Pre-execution check for RemoveRemoteVolumes
2025-12-03 14:57:44 +01:00
Kenneth SkovhedeandGitHub 465cc45693 Merge pull request #6665 from duplicati/feature/add-no-script-to-msi
Added NOSCRIPT feature to MSI
2025-12-03 14:56:32 +01:00
Kenneth SkovhedeandGitHub e3da40aa69 Merge pull request #6662 from duplicati/feature/fix-wrong-option-type
Change the Windows Eventlog option type.
2025-12-03 14:19:36 +01:00
Kenneth SkovhedeandGitHub ebf0301539 Merge pull request #6664 from duplicati/feature/cleanup-playwright
Fixed an issue with playwright commandline args for the server
2025-12-03 14:19:09 +01:00
Kenneth Skovhede b0c172c646 Fixed an issue with upgrades where the installer would attempt to stop the service with the users permissions and not the elevated permissions.
This splits the stop into CheckService and StopService, so they can run in different contexts.
2025-12-03 14:14:51 +01:00
Kenneth Skovhede e51500ddd5 Added NOSCRIPT feature to MSI
This PR adds an MSI property that can be set with `NOSCRIPT=true`.

Setting the property will disable scripting in the MSI and thus prevent starting/stopping running services.

Also made the stop-service script non-critial, so it is possible to install the MSI even if the script fails to start or returns an error.
2025-12-03 13:00:34 +01:00
Kenneth Skovhede 2f9c5cfb47 Fixed an issue with playwright commandline args for the server 2025-12-03 11:35:54 +01:00
Kenneth Skovhede 7322c46861 Pre-execution check for RemoveRemoteVolumes
This PR adds a check before entering the RemoveRemoteVolumes that checks if there are dangling FilesetEntry records when calling the function.

This makes it possible to figure out if the problem is created by the RemoveRemoteVolumes code, or an already existing problem in the database.

Also added a few tests that check that the condition is correctly detected.
2025-12-03 11:34:30 +01:00
Kenneth SkovhedeandGitHub d4951720a7 Merge pull request #6658 from duplicati/feature/support-extended-import-in-server-util
Added support for settings override in imports
2025-12-03 10:36:08 +01:00
Kenneth Skovhede f4df272a0b Change the Windows Eventlog option type.
Before this PR the Windows Eventlog option was incorrectly typed as a boolean but was intended to be the log name.

This was confusing and caused a warning in the log that the option was incorrectly parsed.
2025-12-03 10:34:58 +01:00
Kenneth SkovhedeandGitHub 54e054acd3 Merge pull request #6657 from greyxr/restore-with-new-passphrase
Allow RecoveryTool decompress command to reencrypt with new passphrase
2025-12-02 20:42:02 +01:00
Kenneth SkovhedeandGitHub 677ad761ad Merge branch 'master' into restore-with-new-passphrase 2025-12-02 20:41:54 +01:00
Kenneth SkovhedeandGitHub a5b312d773 Merge pull request #6659 from duplicati/feature/fix-debug-builds-without-signing
Fixed an issue with building when signing is auto-disabled, but not e…
2025-12-02 20:39:42 +01:00
Kenneth Skovhede 78c2487fb9 Fixed an issue with building when signing is auto-disabled, but not explicitly disabled. 2025-12-02 20:39:06 +01:00
Kenneth Skovhede 1e4a1d3df3 Added support for settings override in imports
This PR adds the option to provide additional settings when importing a backup.

The ServerUtil has been expanded to support passing in the target url and backup passphrase when importing a backup.

Also clarified wording around the import passphrase as there are (at least) two passphrases related to imports.

This fixes #6640
2025-12-02 10:26:45 +01:00
David Kartchner b7a25263e8 Updated RecoveryTool help text to mention --new-passphrase option 2025-12-02 02:24:51 -07:00
David Kartchner 5113d0e989 added an option to supply a new passphrase for reencryption with RecoveryTool recompress command 2025-12-02 02:24:06 -07:00
Kenneth SkovhedeandGitHub 7c6804aa52 Merge pull request #6651 from duplicati/feature/fix-aliyun-bug
Fixed a bug in AliyunOSS backend with timeouts
2025-12-01 20:36:25 +01:00
Kenneth SkovhedeandGitHub 0b1dded873 Merge pull request #6655 from duplicati/feature/fix-startup-delay
Fixed startup delay not working
2025-12-01 20:35:25 +01:00
Kenneth SkovhedeandGitHub 51061273c1 Merge pull request #6654 from duplicati/feature/update-ssh-net
Updated SSH.NET to version 2025.1.0
2025-12-01 20:35:08 +01:00
Kenneth Skovhede 95d194803b Forcing BouncyCastle to be updated 2025-12-01 17:05:51 +01:00
Kenneth Skovhede 6a2af13a5c Fixed startup delay not working
This PR fixes a race during startup, where it was possible for the scheduler to start before the runner was paused, such that tasks could be started, even if the server was supposed to be paused.

This also fixes a more direct issue where the state was not updated during startup, so the UI could look paused, but the runner was active and accepting tasks.

This fixes #6634
2025-12-01 17:01:52 +01:00
Kenneth Skovhede 3f6b1384d8 Updated SSH.NET to version 2025.1.0
This is related to #4675
2025-12-01 12:12:08 +01:00
Kenneth SkovhedeandGitHub 9d71f56ab7 Merge pull request #6652 from duplicati/feature/report-s3-hosts
Updated reporting to include more details
2025-11-28 13:51:13 +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 e9d1630751 Updated list of known hosts 2025-11-28 12:04:47 +01:00
Kenneth SkovhedeandGitHub c52d7decc6 Merge pull request #6648 from duplicati/feature/support-scheme-prefixed-hostnames-for-s3
Add support for scheme in url for S3
2025-11-27 15:45:44 +01:00
Kenneth SkovhedeandGitHub 3d7e848049 Merge pull request #6647 from duplicati/feature/support-exclude-attributes
Added support for exclusion of files based on xattrs
2025-11-27 15:45:19 +01:00
Kenneth Skovhede 756c98b5f5 Fixed a bug in AliyunOSS backend with timeouts 2025-11-27 15:44:01 +01:00
Kenneth SkovhedeandGitHub 89790f0c5e Merge pull request #6645 from duplicati/feature/add-support-for-supplementary-groups
This adds support for supplementary groups on Linux.
2025-11-21 11:30:01 +01:00
Kenneth SkovhedeandGitHub 358175a3bc Merge pull request #6646 from duplicati/feature/support-rabata.io
Added support for Rabata.io as an S3 provider
2025-11-21 11:26:06 +01:00
Kenneth Skovhede a9f3dc1137 Add support for scheme in url for S3
This adds support for supplying a url for the hostname which will also toggle the default SSL setting.

Removed providers MyCloudyPlace and dinCloud as they appear to no longer operate.
2025-11-21 11:23:27 +01:00
Kenneth Skovhede 5e9c608588 Added support for Rabata.io as an S3 provider 2025-11-21 11:01:38 +01:00
Kenneth Skovhede e1b9015a85 Added support for exclusion of files based on xattrs
This PR adds detection of exclusion attributes on files and folders. If a file or folder has an exclusion extended attribute, the file or folder is excluded from the backup.

The option `--disable-backup-exclusion-xattr` can be used to revert to the previous behavior where the xattrs were not checked.

This has the biggest impact on MacOS where it will not perform like other backup software and avoid files that are marked as excluded from backup.

This fixes #6393
2025-11-21 10:59:28 +01:00
Kenneth Skovhede cfaec4d400 This adds support for supplementary groups on Linux.
This fixes #6556
2025-11-21 09:35:11 +01:00
Kenneth SkovhedeandGitHub 52d913202c Merge pull request #6644 from duplicati/release/canary-2.2.0.101
Release/canary 2.2.0.101
2025-11-20 16:03:23 +01:00
Kenneth Skovhede 65ea37a841 Version bump to v2.2.0.101-2.2.0.101_canary_2025-11-20
You can download this build from:

Binaries: https://updates.duplicati.com/canary/?version=2.2.0.101

Signature file: https://updates.duplicati.com/canary/duplicati-2.2.0.101_canary_2025-11-20.signatures.zip
v2.2.0.101_canary_2025-11-20 v2.2.0.101-2.2.0.101_canary_2025-11-20
2025-11-20 15:50:45 +01:00
Kenneth Skovhede 0d55faf962 Bump ngclient 2025-11-20 13:51:00 +01:00
Kenneth Skovhede b072f18d53 Updated localizations 2025-11-20 13:49:28 +01:00
Kenneth SkovhedeandGitHub 0c8d074dd6 Merge pull request #6643 from duplicati/feature/bump-ngclient-174
Bump ngclient to 0.0.174
2025-11-20 13:36:41 +01:00
Kenneth Skovhede c198957083 Bump to 0.0.175 2025-11-20 13:27:15 +01:00
Kenneth Skovhede 8f0d7054d6 Updated tests to match new UI 2025-11-20 13:26:50 +01:00
Kenneth Skovhede 43f544b6ac Bump ngclient to 0.0.174 2025-11-20 12:48:49 +01:00
Kenneth SkovhedeandGitHub b5397e72e1 Merge pull request #6632 from duplicati/feature/timeouts-for-azure-blob-storage
Added override for AzureBlobStorage's internal timeout handling.
2025-11-20 11:06:27 +01:00
Kenneth SkovhedeandGitHub 64727c2eaa Merge pull request #6638 from duplicati/feature/support-macos-photos-source
Added support for Photos on MacOS
2025-11-20 10:46:37 +01:00
Kenneth SkovhedeandGitHub 2cb885e965 Merge pull request #6642 from duplicati/feature/update-uplink-net
Bump Uplink.NET to latest
2025-11-20 10:45:27 +01:00
Kenneth Skovhede 57b288f204 Bump Uplink.NET to latest
This is related to #5793
2025-11-20 08:58:59 +01:00
Kenneth Skovhede b7b7c4b9de Treat macOs and Linux distinctly for future use 2025-11-17 17:18:04 +01:00
Kenneth Skovhede 3b695cf065 Added support for Photos on MacOS
This PR adds detection of the MacOS Photos folder, and intercepts reads and replaces them with PhotoKit calls.
With this, it is possible to make backups of all MacOS Photos, even if they are not stored locally.

The previous versions would just make a backup of the on-disk structure, which was not guaranteed to contain all photos, but instead has various indexing for finding photos, and may contain some original photos.

The option `--photos-handling` controls how Duplicati now deals with the Photos folder. The options are:
- `LibraryOnly`: Same as before, just treat it as a folder
- `PhotosOnly`: Ignore the folder contents and just back up the actual photos
- `PhotosAndLibrary` (default): Make a backup of the photos and the library on-disk. This may cause images to be stored twice, but de-duplication will usually limit the storage increase.

The option `--photos-library-path` can be used to point to the on-disk Photo library that should be handled, in case the auto-detection does not pick it up. If this does not point to a valid Photoslibrary, or the path is not being backed up, no special handling will be done.

Note that the restore is not restoring into Photos itself, but instead restores into a sub-folder in the Photolibrary that is called `dup_backup`. To get the photos out after a restore, one needs to right-click the Photolibrary folder, and choose "Show package contents" and then the `dup_backup` folder is revealed.

This is done to keep all photos in the same folder, but avoid messing with the structure of the on-disk Photolibrary.

A future update could allow restoring back into Photos, and metadata is captured for each image to eventually allow this.

This fixes #6381
2025-11-17 17:12:10 +01:00