💾 Setup Duplicati — Encrypted Cloud Backup

Deploy Duplicati on Ubuntu with Docker — a free, open-source backup solution that stores encrypted, incremental, compressed backups to cloud storage (S3, B2, Google Drive, OneDrive) or local targets.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install script — Duplicati running in one command.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/backup/duplicati/duplicati-ubuntu.sh
chmod +x duplicati-ubuntu.sh
sudo bash duplicati-ubuntu.sh

Tutorial Steps

1 Download & Run the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/backup/duplicati/duplicati-ubuntu.sh
chmod +x duplicati-ubuntu.sh
sudo bash duplicati-ubuntu.sh

2 Access the Web UI

Open your browser and navigate to the Duplicati interface:

http://<your-server-ip>:8200

3 Configure a Backup Job

Click "Add backup" → give it a name → set an encryption passphrase to protect your data. Choose a source folder on your server (e.g. /home, /var/www, /etc) that you want to back up.

4 Set Your Backup Destination

Choose where backups are stored. Duplicati supports Amazon S3, Backblaze B2, Google Drive, OneDrive, SFTP, FTP, and local paths. Enter your credentials and click "Test connection" to verify.

5 Set a Schedule & Run

Configure how often backups run (daily, weekly, etc.) and set retention rules. Click "Save" then "Run now" to take your first backup immediately.

Ports Used

PortPurpose
8200Duplicati Web UI