Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-26-2016, 01:25 AM   #1
Registered: Jan 2016
Posts: 40

Rep: Reputation: Disabled
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 ?

Old 02-26-2016, 02:30 AM   #2
Registered: Jan 2012
Location: South Africa
Posts: 497

Rep: Reputation: 188Reputation: 188

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 ( or Unison (
Old 02-27-2016, 02:25 AM   #3
LQ Addict
Registered: Dec 2013
Posts: 5,314

Rep: Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204
i have good experiences with unison. also has a graphical user interface.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update-rc.d and Services not in Sync metallica1973 Ubuntu 2 11-19-2010 08:57 AM
Debian file sync from Win2000 FTP server twentyninehairs Linux - Networking 3 07-16-2007 08:56 AM
Changing file attributes automatically on update to a server madtinkerer Programming 3 11-16-2006 06:13 PM
emerge sync (update portage) flebber Linux - Software 10 03-20-2006 06:38 PM
Yum Update complains of missing file to do update, but file exists! davidas Linux - Newbie 0 03-28-2004 11:14 AM

All times are GMT -5. The time now is 03:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration