Commit Graph
283 Commits
Author SHA1 Message Date
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 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 cfaec4d400 This adds support for supplementary groups on Linux.
This fixes #6556
2025-11-21 09:35:11 +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
2025-11-20 15:50:45 +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
Kenneth Skovhede 0d61eae192 Fixed a probe version number 2025-11-14 17:39:17 +01:00
Kenneth Skovhede 123ad98236 Bumped a few packages 2025-11-14 16:57:47 +01:00
Kenneth Skovhede cd7f11bd81 Fix up package versions 2025-11-14 16:52:22 +01:00
Kenneth Skovhede 1ea74a3c63 Updated to .NET10 2025-11-14 15:05:39 +01:00
Kenneth Skovhede 028b322145 Version bump to v2.2.0.100-2.2.0.100_canary_2025-11-05
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.2.0.100_canary_2025-11-05.signatures.zip
2025-11-05 14:01:37 +01:00
Kenneth Skovhede b0ce1d70e3 Prepare for build 2025-11-04 22:15:35 +01:00
Kenneth Skovhede a062295477 Fix naming issue for release builder
This fixes #6572
2025-10-31 11:10:18 +01:00
Kenneth Skovhede ce1b5aaeb3 Version bump to v2.1.1.105-2.1.1.105_canary_2025-10-10
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.1.105_canary_2025-10-10.signatures.zip
2025-10-10 23:52:35 +02:00
Kenneth SkovhedeandGitHub c23e164f4e Merge pull request #6544 from duplicati/release/canary-2.1.1.104
Release/canary 2.1.1.104
2025-10-10 21:48:20 +02:00
Kenneth Skovhede a61639c841 Fixed logic for release builder
If the user supplies --resume-from-upload, this now implies that the build folder should not be deleted
2025-10-08 10:12:54 +02:00
Kenneth Skovhede a47e979d9e Version bump to v2.1.1.104-2.1.1.104_canary_2025-10-03
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.1.104_canary_2025-10-03.signatures.zip
2025-10-03 15:14:48 +02:00
Kenneth Skovhede a180613279 Version bump to v2.1.1.103-2.1.1.103_canary_2025-09-25
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.1.103_canary_2025-09-25.signatures.zip
2025-09-25 17:17:46 +02:00
Kenneth Skovhede 36c72ec646 Version bump to v2.1.1.102-2.1.1.102_canary_2025-09-23
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.1.102_canary_2025-09-23.signatures.zip
2025-09-23 15:32:25 +02:00
Kenneth Skovhede 6dde15c567 Version bump to v2.1.1.101-2.1.1.101_canary_2025-08-19
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.1.101_canary_2025-08-19.signatures.zip
2025-08-19 12:45:40 +02:00
Kenneth Skovhede 1c266110e0 Upgrade to latest libicu in Docker, and switch to libssl3t64 2025-08-19 11:02:31 +02:00
Kenneth Skovhede dc554472aa Improved agent install to complete even if the agent service cannot be started automatically. 2025-08-14 10:21:23 +02:00
Kenneth Skovhede 1efe727996 Fixed permission validation issue for deb package 2025-08-14 10:20:40 +02:00
Kenneth Skovhede 094be4a9d8 Improve dependency on libicu
Since .NET dynamically loads libicu, it is not prone to ABI breakage and can load virtually any version.

However, there is no `Depends: libicu*` option in Debian packages, so we need the explicit package version. This is prone to breaking as new Debian version bump the version number.

This PR changes the `Depends:` to `Recommends:` so `libicu` is installed if possible, but does not prevent installation.

For cases where the is no `libicu` on the system, there is now a `preinst` script which will warn if the library is missing, but not prevent installation.

The warning should only show in Docker images or similar slim contexts, as `libicu` is otherwise installed with the base system.
2025-08-12 15:34:14 +02:00
Kenneth Skovhede a1700e41e3 Version bump to v2.1.1.100-2.1.1.100_canary_2025-08-08
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.1.100_canary_2025-08-08.signatures.zip
2025-08-09 00:04:15 +02:00
Kenneth Skovhede db8c0ad67a Include script file in Docker builds 2025-08-09 00:00:45 +02:00
Kenneth Skovhede cfe8b1820f Prepare version 2025-08-08 20:10:51 +02:00
Kenneth Skovhede 39ea5a2a46 Fixed using assembly name 2025-08-08 13:15:19 +02:00
Kenneth Skovhede 1aa496923e Fixed version checks 2025-08-08 12:49:18 +02:00
Kenneth Skovhede cff8073b64 Fix after renames in SharpAESCrypt 2025-08-07 23:17:18 +02:00
Kenneth SkovhedeandGitHub ba7bee397c Merge branch 'master' into 0nbrsf-codex/find-outdated-packages 2025-08-07 10:48:59 +02:00
Kenneth Skovhede c1bef62d8b Bumped AWSSDK libraries to be in sync 2025-08-07 10:47:35 +02:00
Kenneth Skovhede 079f492812 Update Docker images
This updates Docker images to support UID/GID overrides, faling back to running as root.

This also fixes the images to be actually allow executing the binaries as described in the README by adding them to the PATH environment variable.

The README file was overhauled to fix some outdated content and include the new UID/GID override feature.
2025-08-05 13:02:56 +02:00
Kenneth Skovhede c980e67ba1 Version bump to v2.1.0.125-2.1.0.125_canary_2025-07-15
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.0.125_canary_2025-07-15.signatures.zip
2025-07-15 17:39:11 +02:00
Kenneth Skovhede 42a3d98c72 Added more preload 2025-07-11 22:14:59 +02:00
Kenneth Skovhede d68b91c71b Version bump to v2.1.0.124-2.1.0.124_canary_2025-07-11
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.0.124_canary_2025-07-11.signatures.zip
2025-07-11 22:09:08 +02:00
Kenneth Skovhede c3d539b721 Preload S3 libraries 2025-07-11 20:33:00 +02:00
Kenneth Skovhede 52805dd397 Version bump to v2.1.0.123-2.1.0.123_canary_2025-07-09
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.0.123_canary_2025-07-09.signatures.zip
2025-07-09 18:08:36 +02:00
Kenneth Skovhede 1587a67ce5 Version bump to v2.1.0.122-2.1.0.122_canary_2025-07-07
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.0.122_canary_2025-07-07.signatures.zip
2025-07-07 19:54:52 +02:00
Kenneth Skovhede 422c085ecf Version bump to v2.1.0.121-2.1.0.121_canary_2025-07-07
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.0.121_canary_2025-07-07.signatures.zip
2025-07-07 15:39:54 +02:00
Kenneth Skovhede 6502017c57 Merge remote-tracking branch 'origin/master' into feature/vanara-vss-backup 2025-07-03 17:09:30 +02:00
Kenneth SkovhedeandGitHub 5ff613b5da Merge pull request #6360 from carljohnsen/performance/mssqlite-async
Performance/Asynchronous database backend
2025-07-03 11:07:26 +02:00
Kenneth Skovhede 98deb8c576 Update support for VSS
This updates VSS to default use Vanara in favor of AlphaVSS which is no longer maintained.

The build for Vanara requires targeting `net8.0-windows7.0`, which will cause significant build overhead and complexity for cross platform builds.
To counter this, the setup is to have a single project, `Duplicati.Library.WindowsModules`, that is targeting `net8.0-windows7.0`.
The output from this project is then hoisted into the TrayIcon project for Windows builds so the files are available when debugging on Windows.
A top-level dummy executable project is added to ensure the project always builds.
The built modules are then loaded with reflection when requested.

With the use of Vanara there is now also support for using BackupRead to read files without making a VSS snapshot.
With BackupRead, it is possible to read locked files, but it still requires the SeBackupPrivilege as VSS does as well.

Unfortunately, the `vssapi.dll` file is not shipped for Arm64 on Windows, so even with Vanara this will not work, and only WMIC is supported on Arm64.
A workaround is to run Duplicati with x64 emulation if more advanced VSS features are needed (HyperV and MSSQL support).

This PR also updates options and filters out unsupported options for each operating system, so options that are not supported by the current OS are not reported and will give warnings if they are used, as opposed to just being ignored.

The release builder project has been updated to exclude the unused project, and purge unwanted outputs.
2025-07-01 16:32:19 +02:00
Kenneth Skovhede 2d45ef44ee Version bump to v2.1.0.120-2.1.0.120_canary_2025-06-24
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.0.120_canary_2025-06-24.signatures.zip
2025-06-25 00:39:50 +02:00
Carl Johnsen 09d79512bc Handled package / assembly version mismatch due to revision numbers 2025-06-23 13:31:05 +02:00
Carl Johnsen b729a1929a SQLite no longer has to be manually patched 2025-06-23 13:30:46 +02:00
Carl Johnsen e536c73be2 Removed whitespace 2025-06-23 13:30:28 +02:00
Carl Johnsen 46499033b8 Exchanged one of the known packages in the ReleaseBuilder to expect Microsoft.Data.Sqlite instead of the old SQLite package. 2025-06-23 10:28:25 +02:00
Carl Johnsen a3d2ffbcd0 Removed whitespace 2025-06-23 10:27:35 +02:00
Kenneth Skovhede 1842f59cec Added descriptions for Apple usage
This adds various access description items, so macOS will prompt the user to grant access in some cases.
2025-06-12 16:33:21 +02:00