One file server with folders for each project.
One employee working from home that needs the files to be on a local NAS since the connection isn't good enough to work via VPN. So, a few project folders will be copied to the NAS.
The problem is that other employees might work on the file server copy during the day, which means that both the local copy and the NAS copy might be updated.
Each night these files should be synchronized where the following rules apply:
- If a file has been changed on the local server both not on the NAS, the file should be copied to the NAS
- If a file has been changed on the NAS but not the local server, the file gets copied from the NAS to the server
- If a file has been changed on both the server and the NAS the file from the NAS wins, not matter what.
Is there any sync tool with this functionality built in? The NAS has FTP support and the sync will be initiated by the server. Can rsync do this? It's the conflict handling that I'm a bit unsure about how to deal with...
EDIT: Version control is an option, but the very last one...