Here’s a guide which describes how to set up a dedicated Raspberry Pi + large USB hard disk, with secure SFTP-only access, as a dedicated storage backend for Duplicacy clients:
https://docs.jeelabs.org/projects/backup/
It’s still work-in-progress, but all the essential steps have been documented.
Enjoy,
-jcw