Hi, I’m running duplicati in docker using Caprover one click apps (one-click-apps/public/v4/apps/duplicati.yml at master · caprover/one-click-apps · GitHub). I’m trying to backup other docker volumes, but I am running into permission issues, where duplicati can’t access the contents of var/lib/docker/volumes
. How do I give it permission to access this folder?
Hi @AhsanSarwar45 welcome to the forum.
This is a bit Docker specific, so I found this SO thread that explains how to grant the permissions.
That uses the linuxserver duplicati image, which uses restrictive PUID and PGID values. You could try changing those to 0
, or use the main duplicati docker image instead of linuxserver. The main project image already runs duplicati with root level permissions.
Thanks, setting PUID and PGID to 0 worked.
1 Like