Commit Graph
12815 Commits
Author SHA1 Message Date
Kenneth Skovhede 263ad400a7 Upload coverage reports even if tests fail 2025-12-02 10:39:16 +01:00
Kenneth Skovhede 7243d4d52e Fixed failing test 2025-12-02 09:55:11 +01:00
Kenneth Skovhede 11ab702db0 Fixed FilePovider secret tests 2025-12-02 09:54:26 +01:00
Kenneth Skovhede 61b7659a20 Better handling of empty file for file-based 2025-12-02 09:54:03 +01:00
Kenneth Skovhede c73f1880ba Fixed some code coverage, and prevented regular unittests from running the secret provider tests 2025-12-02 09:53:37 +01:00
Kenneth Skovhede 55a839fc4c Added test containers for the HC vault tests 2025-12-01 22:39:37 +01:00
Kenneth Skovhede 95a119547e Added support for Service Account Json for GCS secrets 2025-12-01 22:35:33 +01:00
Kenneth Skovhede c13c394801 Fixed issue with Azure secret provider not working without a bogus username 2025-12-01 22:07:07 +01:00
Kenneth Skovhede e093672e99 Fixed AWS secret provider 2025-12-01 22:05:35 +01:00
Kenneth Skovhede 9fd9c425f7 Promoted notfound values to UserInformation exceptions 2025-12-01 15:39:21 +01:00
Kenneth Skovhede ead7b06c05 Better docs and output 2025-12-01 15:33:15 +01:00
Kenneth Skovhede 695d190b91 Updated to allow IsSupported to be async 2025-12-01 15:29:24 +01:00
Kenneth Skovhede 212d6b1148 Fixed getting a better default support result for pass
Better output on info command
Fixed delay on IsSupported for libSecret
2025-12-01 15:14:20 +01:00
Kenneth Skovhede 1053fa340a More work on default==login 2025-12-01 15:03:36 +01:00
Kenneth Skovhede 8b122f8adf Fixed build issue 2025-12-01 14:51:31 +01:00
Kenneth Skovhede 95da807beb Initialize default providers when returning
Fixed an issue with creating a collection.

Made the default collection an alias for "login" if the system does not do this automatically
2025-12-01 14:48:31 +01:00
Kenneth Skovhede 418636bc18 Don't report libsecret as supported if there is no display 2025-12-01 13:43:17 +01:00
Kenneth Skovhede b1ad696987 Added timeout detection on libSecret 2025-12-01 13:40:31 +01:00
Kenneth Skovhede 5f8a5bded6 Report supported status for secret provider 2025-12-01 13:38:41 +01:00
Kenneth Skovhede 8ac2273f21 Added OS markers to avoid accessing providers from unsupported OS.
Updated Pass provider to probe for pass via path searching.

Changed `IsSupported` to a method because it could take a while to evaluate
2025-12-01 13:21:44 +01:00
Kenneth Skovhede d6bde80062 Added support for automatically creating collections with libsecret 2025-12-01 12:46:02 +01:00
Kenneth Skovhede c670d74ff9 Updated tests to only pass in a single URL.
Updated tests to clean up after running
2025-12-01 09:24:57 +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 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 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
Kenneth SkovhedeandGitHub 8ca2b68b21 Merge pull request #6636 from duplicati/dependabot/npm_and_yarn/npm_and_yarn-3c67cbb9cd
Bump js-yaml from 4.1.0 to 4.1.1 in the npm_and_yarn group across 1 directory
2025-11-15 11:04:44 +01:00
Kenneth SkovhedeandGitHub 2632ba8164 Merge pull request #6625 from duplicati/bugfix/restore-deadlock-timer-better-start
Bugfix/Better starting time for restore deadlock detection.
2025-11-15 11:04:25 +01:00