Duplicati installieren
# Debian/Ubuntu
wget https://github.com/duplicati/duplicati/releases/latest/download/duplicati_2.x.x.x_all.deb
apt install ./duplicati*.deb
# Systemd-Service
systemctl enable --now duplicati
# Web-UI: http://localhost:8200
# Passwort beim ersten Start setzen!
# Windows: Installer von duplicati.com
# macOS: .dmg von duplicati.com
Backup-Job einrichten (Web-UI)
Duplicati Web-UI (http://localhost:8200):
"Add backup" → Configure a new backup
Schritt 1: Allgemein
Name: "Server-Backup-S3"
Beschreibung: "Taegliches Backup nach Backblaze B2"
Schritt 2: Backup-Ziel
Storage Type: S3 Compatible
Server: s3.eu-central-003.backblazeb2.com
Bucket Name: mein-backup-bucket
Key ID: B2-Key-ID
Application Key: B2-Application-Key
WICHTIG: Verschluesselung!
Encryption: AES-256 (Built-in, default)
Passphrase: sicheres-passwort-hier
Schritt 3: Quelldaten
Source: /etc, /home, /var/lib/postgresql, /opt
Schritt 4: Schedule
Automatically run backups: Yes
Repeat: Every Day at 03:00
Schritt 5: Options
Remote volume size: 50 MB
Backup retention: Delete all backups but:
- 1 per week for 3 months
- 1 per month for 1 year
Duplicati CLI
# Backup per CLI (fuer Scripting/Automation)
duplicati-cli backup "s3://mein-bucket/?s3-server-name=s3.eu-central-003.backblazeb2.com&auth-username=KEY-ID&auth-password=APP-KEY" /etc /home --passphrase="mein-verschluesselungs-passwort" --backup-name="server-backup"
# Dateien auflisten
duplicati-cli list "s3://mein-bucket/..." --passphrase="..."
# Wiederherstellen
duplicati-cli restore "s3://mein-bucket/..." --passphrase="..." --restore-path=/tmp/restore
Duplicati Monitoring
Duplicati bietet:
- E-Mail-Benachrichtigungen (nach Job)
- Duplicati.CommandTool fuer Monitoring
E-Mail konfigurieren:
Settings → Default Options:
--send-http-url=https://ntfy.sh/mein-kanal
--send-http-verb=POST
--send-http-result-output-format=Json
Oder E-Mail:
[email protected]
--send-mail-subject=Backup %OPERATIONNAME%
--send-mail-body=%PARSEDRESULT%
FAQ
Ist Duplicati auch fuer 1 TB Daten geeignet?
Ja, aber fuer sehr grosse Mengen kann die Performance limitiert sein. Ab 1 TB lieber Restic oder BorgBackup (effizienter). Duplicati ist ideal fuer 1-100 GB.
Fazit
Duplicati ist das einfachste Einstiegs-Backup-Tool fuer KMU: GUI, viele Cloud-Backends und gute Verschluesselung ohne Kommandozeilen-Kenntnisse.
Backup-Tool fuer KMU in Heidelberg, Mannheim und der Rhein-Neckar-Region. Beratung anfragen.