update file in two server , how to sync it.
I have two linux server , there are some files under a path ( eg. /tmp/files ) in both server , everything are the same in this path .
The files always to be update , if I would like the files automatically sync to another server once it is updated , so that all files always are the same , would advise what can I do ? thanks |
Hi,
Are the files being updated on one server only, or on both? If you need one way sync, look at the rsync command. For two way sync you might be able to use csync (https://www.csync.org/) or Unison (https://www.cis.upenn.edu/~bcpierce/unison/). |
i have good experiences with unison. also has a graphical user interface.
|
All times are GMT -5. The time now is 03:01 PM. |