Duplicati •
Duplicati is a service that can encrypt and backup your important data to remote backup services to give you security and peace of mind.
Overview
Duplicati is a service that can encrypt and backup your important data to remote backup services to give you security and peace of mind.
- Securely uploads your encrypted files to remote services such as Dropbox, OneDrive, Backblaze, and IDrive e2.
- Perform scheduled incremental backups that only uploads new or changed files.
- Receive updates through various channels when your backups are complete.
Media
Screenshots
Duplicati v2.1.0.4_stable_2025-01-31
Setup & Configuration
We need to install the service through Portainer and configure any necessary settings.
Preparation
There are some things we need to do in preparation to install this service.
Volumes
Persistent Data
This is where the service will store its own application data and ensures we can quickly update the service image.
Ensure your user has permissions to access the folder.
Source Folders
This service will need access to the folders where you store the files you are backing up.
Ensure your user has permissions to access the folder.
Environment
PUID
This is the numeric ID of the user account on Debian. If you are unsure, open a terminal and run:
id -u
PGID
This is the numeric ID of the user account's group on Debian. If you are unsure, open a terminal and run:
id -g
Passwords
Keep these securely stored in a password manager, such as VaultWarden.
SETTINGS_ENCRYPTION_KEY
This is the secure phrase that will be used for encrypting your files and the service database.
It is important to use secure, randomly generated password.
You can use a random alphanumeric string from a password manager, or open the terminal and run the command:
tr -dc 'A-Za-z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' </dev/urandom | head -c 32; echo
This pulls a random string from the 'urandom' device, removes unwanted characters and trim it to an appropriate length.
DUPLICATI__WEBSERVICE_PASSWORD
This is the password for logging into the web interface.
It is important to use secure passphrase that is easy-to-remember.
Installation
The service can be installed through the Portainer web interface.
Learn about creating a new stack.
Docker Compose
Use the following code to install the service:
---
services:
duplicati:
image: lscr.io/linuxserver/duplicati:latest
container_name: duplicati
network_mode: bridge
environment:
- PUID=0
- PGID=0
- TZ=America/Vancouver
- SETTINGS_ENCRYPTION_KEY=
- DUPLICATI__WEBSERVICE_PASSWORD=
volumes:
# Persistent Data
- /srv/duplicati:/config
# Backup Source
- /:/home:ro
ports:
- 8200:8200
restart: unless-stopped
Updating
Re-Deploy the Stack
This service has been optimized for running in Docker thanks to LinuxServer.io.
This allows you to re-deploy the stack through Portainer to download the latest updates.
User Manual
Development
This software is released under the MIT license.
You can learn more about how to contribute to Duplicati through their documentation.
Resources
Official
- Official Documentation
- Official Forum
- Official GitHub Repository
- Official Website
- Wikipedia Entry
- Installation Guide