I have installed Minio S3 server on my unraid and I have tried Duplicati, but it is very very slow.
I found another S3 client, CloudBerry to be much faster (its not a free program if you want client side encryption), it supports a lot of cloud services too, but only buisnies versions that is too expencive for me
It is a neat program, there is an docker for it too.