I need to keep a production and failover web server's files in sync. Generally, this means pushing all changes from production to failover. However, if the failover server is used, we will need to push changes back to production when it comes back online. I am currently testing out your tool as well as Syncrify. SFFS seems to be a more polished product with a more robust feature set, so I'm hoping you can help me out!
I have installed SFFS on the production server with the following profile settings -
Left - local files
Right - unc path to failover server files
Copying in both directions
Realtime on (including deletes)
I am assuming this is the best way to accomplish what I'm looking for?
To test, I add a file on failover and it's copied back to local. Then, I add a file on local and it's copied to failover. Great, so far. Now I delete both files on local side. Sometimes it will push one of the files back from failover to local. I have not changed that file. Inspecting the log file, it seems that the issue is with the system time being different on the 2 machines. The failover machine is about 1m30s ahead of production.
Is there a good way to handle differing system times? I'm not sure I can guarantee we will keep these 2 machines clocks identical. Maybe your app could create a file on the right side and check it's creation time, thus allowing you to calculate an offset?
I look forward to your thoughts. Thanks!