LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-24-2008, 01:01 AM   #1
blancs
Member
 
Registered: Mar 2005
Posts: 49

Rep: Reputation: 15
would rsync be the best solution for this?


I run a few game servers and they all run local banlists of cheaters. I would like to make them all sync up so that any changes to that file on any server will sync with the rest. currently i have one server wput and the other wget and replace the file every hour, that however restricts me to only editing the file on one server. would rsync be the best solution for this?
 
Old 09-24-2008, 02:13 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
rsync only "syncs up" files from one server to another. The difference is that it does it more efficiently that copying all files, and all parts of large files - just those parts of data which are different between the two servers are transmitted.

It sounds like what you need to some sort of distributed merge system. I would go about it by choosing "master" server to pull files from all the other servers, write a custom program to merge all these together into a master list, and then push them back out to the other servers.

The fetching of the partial files and pushing out of the new merged file could be done using rsync, although it has quite a large memory overhead when there are a lot of files, so if you don't have a massive amount of data, you might be better off just using scp or something like that.
 
  


Reply


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
Why use an enterprise software solution vesus a diy (home made) solution checkmate3001 Linux - Server 1 12-16-2007 03:24 PM
Need help with rsync ryanlum Linux - General 6 09-16-2007 10:51 PM
More Rsync help please wh33t Linux - Software 4 09-06-2007 01:41 PM
Rsync server vs rsync over ssh humbletech99 Linux - Networking 1 10-18-2006 01:10 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 03:49 PM


All times are GMT -5. The time now is 10:09 AM.

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