[Help] Backing up Nextcloud with Duplicati (Docker)
I would like to back up my nextcloud data using duplicati, but I absolutely can‘t figure out how to give Duplicati access to the Nextcloud volume. Both are running fine in separate Docker containers. I can’t figure out how to properly mount the volume, below is my current compose for duplicati. Do I need to mount the volume as source? Does it need to be declared or mapped separately?
<span style="color:#323232;">---
</span><span style="color:#323232;">version: "2.1"
</span><span style="color:#323232;">services:
</span><span style="color:#323232;"> duplicati:
</span><span style="color:#323232;"> image: lscr.io/linuxserver/duplicati:latest
</span><span style="color:#323232;"> container_name: duplicati
</span><span style="color:#323232;"> environment:
</span><span style="color:#323232;"> - PUID=1000
</span><span style="color:#323232;"> - PGID=1000
</span><span style="color:#323232;"> - TZ=XXX
</span><span style="color:#323232;"> - CLI_ARGS= #optional
</span><span style="color:#323232;"> volumes:
</span><span style="color:#323232;"> - /path/to/appdata/config:/config
</span><span style="color:#323232;"> - /path/to/backups:/backups
</span><span style="color:#323232;"> - /path/to/source:/var/lib/docker/volumes/073ac2751cd65ffd84750e578c38482905c3c7e4851a8cbb0bbbc5c33a285e84
</span><span style="color:#323232;"> ports:
</span><span style="color:#323232;"> - 8200:8200
</span><span style="color:#323232;"> restart: unless-stopped
</span>