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.
Grab the automated bash script from GitHub to follow along with the video.
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/backup/duplicati/duplicati-ubuntu.sh
chmod +x duplicati-ubuntu.sh
sudo bash duplicati-ubuntu.sh
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/backup/duplicati/duplicati-ubuntu.sh
chmod +x duplicati-ubuntu.sh
sudo bash duplicati-ubuntu.sh
Open your browser and navigate to the Duplicati interface:
http://<your-server-ip>:8200
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.
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.
Configure how often backups run (daily, weekly, etc.) and set retention rules. Click "Save" then "Run now" to take your first backup immediately.
| Port | Purpose |
|---|---|
| 8200 | Duplicati Web UI |