Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
My Duplicati Stack
---
version: "2.1"
services:
duplicati:
image: linuxserver/duplicati
container_name: duplicati
environment:
- PUID=998 # this should match the ouput of `id -u admin` on the CLI
- PGID=100 # this should match the ouput of `id -g admin` on the CLI
- TZ=America/New_York
volumes:
- /srv/ssd/Config/Duplicati:/config #Duplicati Config Files, for consisency across re-deployments
- /srv/ssd/Config:/Config #WHATT to Backup
- /srv/ssd/Databases:/Databases #What TO Backup
- /srv/ssd/Files:/Files #What to BACKUP
- /home:/Home
ports:
- 8200:8200 # port for the web interface
restart: unless-stopped
@jg3
Copy link
Author

jg3 commented May 31, 2021

@jg3
Copy link
Author

jg3 commented Jun 1, 2021

Backup Job 1/2 for backing up configs, databases, & home

mono /app/duplicati/Duplicati.CommandLine.exe backup "s3s://mcpi-backup/mcpi-jg3?s3-server-name=s3.amazonaws.com&s3-location-constraint=us-east-1&s3-storage-class=STANDARD&s3-client=aws&auth-username=ZZZZZZZZZZZZZZZZZZZZ" /Config/ /Databases/ /Home/ --backup-name=bu2s3 --dbpath=/config/WBJHVJDHIT.sqlite --encryption-module=aes --compression-module=zip --dblock-size=50mb --retention-policy="1W:1D,4W:1W,12M:1M" --exclude-files-attributes=hidden --disable-module=console-password-input 

@jg3
Copy link
Author

jg3 commented Jun 1, 2021

Backup Job 2/2 forr backing up Files

 mono /app/duplicati/Duplicati.CommandLine.exe backup "s3s://mcpi-backup/mcpi-jg3/files?s3-server-name=s3.amazonaws.com&s3-location-constraint=us-east-1&s3-storage-class=STANDARD&s3-client=aws&auth-username=ZZZZZZZZZZZZZZZZZZZZ" /Files/ --backup-name=Files-to-S3 --dbpath=/config/TBQYYXHTME.sqlite --encryption-module=aes --compression-module=zip --dblock-size=500MB --retention-policy="1W:1D,4W:1W,12M:1M" --exclude-files-attributes=hidden --disable-module=console-password-input 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment