Kenneth Skovhede a7ef8e42f2 Lock permissions on datafolder
This PR is a security hardning change and will break some setups.

The hardning is done to ensure the datafolder is not compromised and particularly that it is not maliciously seeded.

The changes now **requires** that the datafolder is locked down with exact permissions, or Duplicati will refuse to use it. This is a change to prior functionality where the folder would simply be locked down if it was not already locked.

Previously, a file named `insecure-permissions.txt` could be placed in the folder to instruct Duplicati not to set permissions. With this change that file is no longer supported.

The only way to opt-out of the permission check is to supply `--allow-insecure-datafolder` or the environment variable `DUPLICATI__ALLOW_INSECURE_DATAFOLDER`. Once either of those are set, Duplicati will no longer check permissions and accept folders with other permissions.

The setting can be applied to `preload.json`, but the file needs to be in a trusted location, which is either the directory with the binaries or the file pointed to by `DUPLICATI_PRELOAD_SETTINGS`. The setting cannot be placed in a `preload.json` file that is in an insecure folder as the folder is not read if the permissions are not correct.

The previous paths `/usr/local/share/Duplicati/preload.json` and `C:\ProgramData\Duplicati\preload.json` are no longer supported as they cannot be guaranteed to be locked down.

A `preload.json` in the datafolder is still supported, provided the folder passes the permission check (or the `--allow-insecure-datafolder` is passed to the executable).

For most users, this should not cause any problems as Duplicati has been locking down the folders, so they should be correctly locked down already.

The configuretool has been updated with a `secure-datafolder` command that can be used to force the correct permissions on a folder, in case the folder did not have the correct permissions.

For some Docker setups it may not be possible to set the permissions and the check will fail. These setup will need to apply `DUPLICATI__ALLOW_INSECURE_DATAFOLDER=true` in the image to run without the protections.
2026-07-10 15:03:32 +02:00
2026-06-27 16:48:10 +02:00
2025-11-14 15:05:39 +01:00
2019-12-08 18:22:59 -08:00
2026-07-10 15:03:32 +02:00
2026-06-08 13:16:17 +02:00
2026-07-02 11:37:37 +02:00
2026-06-04 20:09:04 +02:00
2026-04-30 13:03:24 +02:00
2026-07-02 11:32:54 +02:00
2025-11-14 15:05:39 +01:00
2025-11-14 15:05:39 +01:00
2026-07-02 11:32:54 +02:00
2024-08-14 13:52:53 -04:00
2025-05-22 15:28:59 +02:00
2025-05-23 08:12:55 +02:00

Duplicati

English | 中文 | 日本語

Store securely encrypted backups on cloud storage services!

Backers on Open Collective Sponsors on Open Collective Build Status on Travis-CI Coverage Status License Gurubase

Duplicati is a free, open-source backup client that securely stores encrypted, incremental, and compressed backups on cloud storage services and remote file servers. It supports:

   Amazon S3, IDrive e2, Backblaze (B2), Box, Dropbox, FTP, Google Cloud and Drive, MEGA, Microsoft Azure and OneDrive, Rackspace Cloud Files, OpenStack Storage (Swift), Storj DCS, SSH (SFTP), WebDAV, Tencent Cloud Object Storage (COS), Aliyun OSS, and more!

Duplicati is licensed under the MIT license and is available for Windows, macOS, and Linux.

Download

Click here to download the latest Duplicati release.

The beta release will automatically notify you of updates and allows you to upgrade with a single click (or command in the terminal). For even more bleeding edge access, check the latest releases or choose another update channel in the UI or on the commandline.

All releases are GPG-signed with the public key 3DAC703D. The latest signature file and ASCII signature file are available on the Duplicati download page.

Support

Duplicati is supported by an active community and you can reach them via our forum.

We also provide a comprehensive Duplicati manual, which you can contribute to.

Features

  • Duplicati uses AES-256 encryption (or GNU Privacy Guard) to secure all data before uploading.
  • Only initial backup is with full contents, all additional backups are differential to save bandwidth and storage
  • Built-in scheduler ensures backups stay up-to-date automatically.
  • An integrated updater notifies you of new releases.
  • Encrypted backups can be transferred to destinations like FTP, WebDAV, SSH (SFTP), Amazon S3, and more.
  • Flexible backup options: back up folders, specific file types (e.g., documents or images), or use custom filters.
  • Available as a user-friendly application or a command-line tool.
  • Supports backing up open or locked files using Volume Snapshot Service (VSS) on Windows or Logical Volume Manager (LVM) on Linux.
  • Advanced options for filters, deletion rules, transfer settings, bandwidth limits, and more.

Why Use Duplicati?

Keep your data safe, store it remotely, and back it up regularly! Many backup solutions fail to meet these essential requirements, but Duplicati excels at all three:

  • Keep your data safe: Duplicati uses strong encryption to ensure your data remains private. With a secure password, your backup files are safer on a public web server than unencrypted files at home.
  • Store your backup remotely: Protect your data from local disasters like fires by storing backups on remote servers. Duplicati supports incremental backups, making it efficient to use distant storage destinations.
  • Backup regularly: Outdated backups are as good as no backups. Duplicati's built-in scheduler ensures your backups are always current. It also uses compression and incremental backups to save storage and bandwidth.

Contributing

Reporting Bugs

We use GitHub for bug tracking. Please search existing issues before creating a new one: https://github.com/duplicati/duplicati/issues.

Contributing Translations

Want to help translate Duplicati? Contributions are welcome on Transifex: https://explore.transifex.com/duplicati/duplicati/.

Contributing Code

Instructions for setting up your development environment and building Duplicati are available in the documentation. Pull requests for bug fixes or improvements are highly appreciated.

Looking for something to work on? Check out minor change issues or UI-related issues.

Thank you to all our contributors:

Backers

Thank you to all our backers! 🙏

Sponsors

A special thanks to our sponsors for supporting this open-source project:

Languages
C# 93.7%
JavaScript 2.7%
HTML 1.4%
Less 0.7%
Python 0.5%
Other 0.8%