Error running first backup

I am getting an error when I try to run a backup for the first time.

One or more errors occurred. (Access to the path “/backups/” is denied.

Deployed Duplicati using portainer stack, copy below:

version: “2.1”
image: linuxserver/duplicati
container_name: duplicati
- PUID=998
- PGID=100
- TZ=America/Los_Angeles
- /srv/dev-disk-by-uuid-018cf3c8-2dbd-41bf-b824-4abde93cc700/Config/Duplicati:/config #Config Files
- /srv/dev-disk-by-uuid-018cf3c8-2dbd-41bf-b824-4abde93cc700/Backups:/BackupStorage #Backup Storage
- /srv/dev-disk-by-uuid-018cf3c8-2dbd-41bf-b824-4abde93cc700/Config:/ConfigBackup #What to Backup
- /srv/dev-disk-by-uuid-018cf3c8-2dbd-41bf-b824-4abde93cc700/Databases:/DatabaseBackup #What to Backup
- 8200:8200
restart: unless-stopped

Can anyone help please,
Thanks ronj

I don’t see anything mapped to /backups in your container. That may mean Duplicati is trying to write backup files into the container itself, which would be bad.

But beyond that, note that the linuxserver duplicati image runs Duplicati as a limited user by default. So you’ll need to make sure it has read and write access were appropriate. (The official duplicati docker image runs Duplicati as root by default, so it has access to everything.)