In this specific case, wouldn’t running a rsync starting from your NAS to the Discourse server backup folder work very well for you?
Have you checked the guides like