Running UrBackup as a Docker container

  • I'm trying to install UrBackup https://hub.docker.com/r/uroni/urbackup-server using Portainer


    My stack looks like this:

    When I deploy the stack, I get errors from UrBackup about not being able to write to the /backup directory, so I tried the following change in the volume's sections above:


    YAML
    volumes:
    - /srv/dev-disk-by-uuid-d361dfc8-2d6b-47e0-82f9-c259cf88b4ab/docker/urbackup/database:/var/urbackup
    - /srv/dev-disk-by-uuid-d361dfc8-2d6b-47e0-82f9-c259cf88b4ab/docker/urbackup:/backups

    Notice that the /backup docker path is now a absolute path instead of a shared folder on the mergerfs poll


    The approach above worked but not sure if it is optimal as the backup files will be stored there and will change over time. Alse, I'd like to add more disks to the pool in the future, adding more storage (now I only have 4TB).


    Would it be a permissions problem on the pool? I'm running Docker with 'dockeruser' (PID: 1000, UID: 100)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!