How and what to backup automatically from Openhab running in a docker on Ubuntu to Synology

I‘m using duplicati since two years without any problem. See here for my solution.