LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-26-2010, 07:01 PM   #1
Lauffray
LQ Newbie
 
Registered: Jan 2010
Location: Canada
Distribution: Fedora
Posts: 2

Rep: Reputation: 0
Post Rsync server over SSH on Fedora 12


Hello,
New to linux servers and to LQ

I'm trying to set up my trusty Fedora box, with rsync over ssh to backup my windows machines at home and I need help configuring the rsync server (I'm using DeltaCopy as the rsync client on the windows side)
I tried a few dry runs but it seems windows can't see the linux box, the rsync job just hangs for ever and never does anything
I should mention that ssh works fine.

here's a sample from my rsyncd.conf (192.168.0.50 is the windows machine)
1 max connections = 2
2 log file = /var/log/rsync.log
3 timeout = 300
4
5 [jerome]
6 comment = Backup test
7 hosts allow = 192.168.0.50/50
8 path = /opt3/photo/
9 read only = yes
10 list = yes
11 uid = root
12 gid = root
13 auth users = jerome
14 secrets file = /etc/rsyncd.secrets


[linux-server][/] ~> ps -ef | grep xinetd
root 8204 1 0 19:50 ? 00:00:00 xinetd -stayalive -pidfile /var/run/xinetd.pid

Am i forgetting something, ports that need opening? some other daemon i have to configure first?

Thanks !
 
Old 02-26-2010, 07:14 PM   #2
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
I didn't know you could do this with windows? Then I found this info:

http://www.gaztronics.net/rsync.php
http://aplawrence.com/Unixart/backup_rsync.html
 
Old 02-26-2010, 08:31 PM   #3
Lauffray
LQ Newbie
 
Registered: Jan 2010
Location: Canada
Distribution: Fedora
Posts: 2

Original Poster
Rep: Reputation: 0
I followed the tutorial at gaztronics and seems to work alright until i invoke rsync from the client (windows) then i get this

rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/packagi
ng/rsync-3.0.7-1/src/rsync-3.0.7/io.c(601) [sender=3.0.7]


Googling it didn't return very useful results, the FAQ at rsync says that something might be killing the connection halfway through, good luck figuring out what though
 
Old 02-26-2010, 09:08 PM   #4
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Well I guess that best fix would be to replace windows with Linux
 
  


Reply

Tags
backup, daemon, fedora, rsync, server, ssh


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 server with ssh transport ! jimmyjiang Linux - Software 8 03-29-2012 05:39 AM
SAMBA server with external USB trying to use rsync over SSH Iatros Linux - Newbie 2 02-24-2009 12:59 PM
Is there a way to allow a user to rsync files to my server without being able to SSH abefroman Linux - Security 1 12-08-2007 06:42 PM
rsync, SSH server on a different port digen Linux - Server 3 03-09-2007 12:34 AM
Rsync server vs rsync over ssh humbletech99 Linux - Networking 1 10-18-2006 12:10 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration