Special Offers: Up to 75% OFF on Hostinger & High-RAM Contabo Cloud VPS available this month.Compare Plans

How to Configure Duplicati Encrypted Backups on Linux VPS to Contabo Storage & S3

Alex Vance
Alex VanceCloud Infrastructure Architect
November 20, 2026
•
14 min read
•
4.8 / 5.0
Transparency Notice: This article contains affiliate links to hosting providers like Hostinger and Contabo. If you purchase through our links, we may earn a commission at zero extra cost to you. We only recommend products we personally benchmark and test. Read full disclosure.
How to Configure Duplicati Encrypted Backups on Linux VPS to Contabo Storage & S3
Best Hardware Value for TechsNo Contract Surcharges + High RAM

Contabo High-Performance Cloud VPS

Massive 4 vCPU cores, 8GB RAM, and 32TB monthly traffic. Ideal for Linux developers.

German Engineering & Data Centers
8 Strategic Global Locations
Fast NVMe Storage Array
Full Root & SSH Console Access
Starts From
$5.50 / mo
Special Affiliate Pricing
Claim Discount Now
Official Partner Link • Verified Safe
Quick Answer & Key Takeaways
Updated November 20, 2026 • Lab Score 4.8/5.0

Protect your server files and databases against ransomware and accidental deletion. Learn how to configure Duplicati with AES-256 encryption on Linux VPS.

  • Client-side AES-256 bit encryption ensures backup targets cannot read your files or databases
  • Block-level incremental deduplication saves up to 80% of storage and network bandwidth
  • Intuitive web interface to configure schedules, view backup history, and restore individual files

The Critical Rule of Zero-Trust Offsite Backups

Server snapshots provided by hosting companies are convenient, but they represent a single point of failure: if your hosting account is compromised, suspended due to a billing error, or suffers a datacenter catastrophe, those internal snapshots are lost. Furthermore, unencrypted database snapshots sent to third-party cloud storage violate client privacy agreements.

Duplicati is a free, open-source backup client that securely stores encrypted, incremental, deduplicated backups on remote storage targets (Contabo Storage VPS via SFTP/WebDAV, MinIO, AWS S3, Backblaze B2, or Google Drive). Data is encrypted locally with military-grade AES-256 encryption before transmission.

Step 1: Deploy Duplicati with Docker Compose

Create a dedicated directory for Duplicati on your Linux VPS:

mkdir -p /opt/duplicati && cd /opt/duplicati
nano docker-compose.yml

Paste the following compose configuration, mounting the root folders you wish to safeguard:

services:
  duplicati:
    image: lscr.io/linuxserver/duplicati:latest
    container_name: duplicati
    environment:
      - PUID=0
      - PGID=0
      - TZ=UTC
    volumes:
      - ./config:/config
      - ./backups:/backups
      - /var/www:/source/var_www:ro
      - /etc:/source/etc:ro
      - /opt:/source/opt:ro
    ports:
      - "127.0.0.1:8200:8200"
    restart: unless-stopped

Start Duplicati:

docker compose up -d
docker compose ps

Step 2: Nginx SSL Reverse Proxy & Web Protection

Route HTTPS traffic to Duplicati's web console on port 8200:

cat << 'EOF' > /etc/nginx/sites-available/backup.conf
server {
    server_name backup.yourdomain.com;

    location / {
        proxy_pass http://127.0.0.1:8200;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}
EOF

ln -s /etc/nginx/sites-available/backup.conf /etc/nginx/sites-enabled/
nginx -t && systemctl reload nginx
certbot --nginx -d backup.yourdomain.com --non-interactive --agree-tos -m admin@yourdomain.com

Step 3: Configuring a Backup Job to Contabo Storage VPS

Navigate to https://backup.yourdomain.com, set a master web password, and click Add Backup:

  1. General: Enter a job name (e.g., Production Server Full Archive) and define a strong AES-256 encryption passphrase.
  2. Destination: Select SFTP (SSH).
    • Server: Enter your Contabo Storage VPS IP address.
    • Port: 22
    • Path: /backups/production-vps/
    • Credentials: Enter your Contabo Storage VPS SSH username and password/key.
  3. Source Data: Expand /source and check var_www, etc, and opt.
  4. Schedule: Select Run automatically every day at 3:00 AM.
  5. Options: Set volume block size to 50MB and retention policy to Smart backup retention (keeps 1 backup for the last 7 days, 1 for the last 4 weeks, and 1 for the last 12 months).

The Contabo Storage VPS Advantage

Contabo Storage VPS plans offer 800GB to 3.2TB of raw disk storage for under $10 to $17/month. Pairing Duplicati with a Contabo Storage VPS gives you terabytes of private offsite backup storage with zero per-gigabyte egress fees.

Step 4: Testing Disaster Restoration

A backup is only as good as its restore test. Under Duplicati's Restore menu, you can browse any snapshot date, select individual configuration files or folders, and restore them directly to their original location or export them as a zip file in seconds.

Frequently Asked Questions (FAQ)

Can Duplicati also back up directly to S3-compatible object storage?

Yes! In addition to SFTP, Duplicati natively supports Contabo Object Storage, Cloudflare R2, Backblaze B2, and Amazon S3 with client-side AES-256 encryption.

Summary

With Duplicati running automated AES-256 encrypted backups to Contabo Storage VPS, your data remains mathematically secure, ransomware-proof, and instantly recoverable.

Video Walkthrough & Official References

How to Use Docker Compose to Manage Containers on Linux VPS • syncbricks

Watch on YouTube

Editorial Verdict: Pros & Cons

What We Love (Pros)

  • Client-side AES-256 bit encryption ensures backup targets cannot read your files or databases
  • Block-level incremental deduplication saves up to 80% of storage and network bandwidth
  • Intuitive web interface to configure schedules, view backup history, and restore individual files

Drawbacks (Cons)

  • Large multi-gigabyte initial backups can take several hours depending on upstream VPS network pipe
Best Hardware Value for TechsNo Contract Surcharges + High RAM

Deploy Your Contabo Cloud Server

Includes 4 vCPU Cores, 8GB RAM, 50GB NVMe SSD, and 32TB Outbound Traffic.

German Engineering & Data Centers
8 Strategic Global Locations
Fast NVMe Storage Array
Full Root & SSH Console Access
Starts From
$5.50 / mo
Special Affiliate Pricing
Claim Discount Now
Official Partner Link • Verified Safe
Alex Vance

Written by Alex Vance

Cloud Infrastructure Architect

Alex and the ServerCraft engineering lab run routine benchmarks on over 25 web hosting providers, maintaining strict objectivity and reproducibility.

Recommended Next Reads