LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-01-2010, 09:21 AM   #1
BiFo
LQ Newbie
 
Registered: Aug 2010
Posts: 11

Rep: Reputation: 0
Syncrinzation Software


Hi.
I'm looking for a Syncronizacion Softwares (running as a daemon) to do a unidirectional syncronization of some files/folders from a lot of servers to one central server.

As there are a lot of servers i want a software that only needs to be installed on the central server and pulls the files/folders from the other servers.

rsync and unison need to be installed on both machines and syncronize the files/folder by sending them from al the servers to the central server(its no the central server the one who pulls the files/folder from the other servers), so they dont work for what i want.

żDo anyone know any other?

Thanks in advance.

Bye!


PD: Sorry for my poor English.
 
Old 09-01-2010, 09:56 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668
rsync may already be installed on all your servers as it is a fairly basic utility in Linux.

If you can't use that then it seems you'd be stuck trying to script something with scp (assuming you have ssh/scp access to the servers). It is not designed for checking whether things already exist though like rsync and unison do so it will eat up your bandwidth.

One way around that might be to run an ssh command to get simply a listing of the files on the remote host with key attributes then do a listing on the master (local) host and diff the two lists to get a list of files to scp from remote to local. This would be somewhat convoluted and unnecessary if you can use rsync. If it were me I'd work out installing rsync to save time.
 
Old 09-01-2010, 09:59 AM   #3
goldenbarb
Member
 
Registered: Aug 2010
Distribution: Fedora, Centos, Debian
Posts: 49

Rep: Reputation: 7
Yes, I think rsync is the best way for that.
 
Old 09-01-2010, 11:56 AM   #4
BiFo
LQ Newbie
 
Registered: Aug 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Hi.
A user from another forum (HROAdmin26) give me the answer. I can use rsync in both directions (to send or tu pull):
Quote:
Task: Synchronize a local directory with a remote directory

$ rsync -r -a -v -e "ssh -l jerry" --delete openbsd.nixcraft.in:/webroot/ /local/webroot

Task: Synchronize a remote directory with a local directory

$ rsync -r -a -v -e "ssh -l jerry" --delete /local/webroot openbsd.nixcraft.in:/webroot
 
Old 09-01-2010, 12:58 PM   #5
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668
Right - but it still requires rsync to exists on both hosts. In your original post you implied that rsync doesn't exist on the remote hosts and in my reply I suggested that it probably does.
 
  


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
Is there a software audit tool in Linux to count number of times software is run? MikeyCarter Linux - Software 2 12-30-2009 10:27 AM
LXer: Free software vs. software-as-a-service: Is the GPL too weak for the Web? LXer Syndicated Linux News 0 05-29-2008 07:50 AM
LXer: Free software group challenges educational software patent LXer Syndicated Linux News 0 01-26-2007 09:21 AM
LXer: Software reuse and DSO -- breaking the rules of embedded software development LXer Syndicated Linux News 0 04-20-2006 03:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:08 PM.

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
Open Source Consulting | Domain Registration