Synchronization between nextcloud and Buffalo TS-RXL / R5

Hi everyone, I’m new to using nextcloud.
I would like to sync all the data on my Buffalo TS-RXL / R5 NAS (very old indeed), with my Next Cloud;
Both are on the same LAN. What do you recommend for periodic synchronization? Thanks everyone in advance