The problem could be the way you used the directory. I don't know Sync specifically, but DEVONtech don't recommend storing the databases in directories which will be synced. Rather you are supposed to set up the system to use whatever sync API is available, which presumably makes sure files are internally self-consistent before syncing. It's a while since I set it up, but that's how I did it with WebDAV to my NextCloud server.