Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-05-2007, 12:09 PM   #1
Registered: Oct 2003
Location: Canada
Posts: 784

Rep: Reputation: 58
Question Rsync from Server

Hello Linux Geeks, ( I say that with the utmost admiration )

I have a file/svn server at the office that I would like to auto back up every night at 2:00am. From the research I have done, rsync is the way to go. However the examples and tutorials I have read have left me with some unanswered questions so I am turning to this community for answers once more.

What I am confused about:

Do I make our office server the rsync --daemon?
On the client do I need to specify the remote directory I want to rysnc? If so why do I set that in the rsyncd.conf?
Where in the command path do I put in the local directory I want the rsync'd files to go into? (ie rsync --d '/home/backupofficefiles'
Do I need to use SSH if I'm already connected via VPN?

If those questions could be answered that would be great! Thanks guys.
Old 09-05-2007, 12:40 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
No, you don't have to have an rsync daemon going.

On the client you are running rsync from, you do need to specify the local and remote directories.. for example:
rsync -av backup@remote:/etc/ /home/backups/remote/
rsync goes over ssh, so yes.

just to check, have you read man rsync ?
Old 09-05-2007, 01:08 PM   #3
Registered: Oct 2003
Location: Canada
Posts: 784

Original Poster
Rep: Reputation: 58
I skimmed through the rsync man page. I admit, after what you posted it made more sense. I am confused why there is even an rsync daemon now... Doesn't seem like it's even needed. Do both sides of the connection require rsync?
Old 09-05-2007, 02:51 PM   #4
Registered: Oct 2003
Location: Canada
Posts: 784

Original Poster
Rep: Reputation: 58
I got it working. I was confused because I thought a rsync server was needed. But I see now that rsync is a lot like SCP with a few more bells and whistles which help keep things in sync. Instead of just merely copying files over and over writing thing, it also will delete local files to make it match the remote machine.


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
rsync using proxy server bigsmile Linux - Networking 2 11-07-2006 03:38 AM
rsync & server load bigtl Linux - General 2 11-06-2006 03:09 PM
Rsync server vs rsync over ssh humbletech99 Linux - Networking 1 10-18-2006 12:10 PM
Server mirroring ? rsync Bluesuperman Linux - Networking 3 04-25-2006 10:12 PM
Server duplication with Rsync... capstone737 Member Success Stories 0 03-15-2003 09:59 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:10 PM.

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