Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: edb on March 18, 2005, 04:07:54 PM

Title: Rsync to non-SME server running rsync
Post by: edb on March 18, 2005, 04:07:54 PM
I want to use rsync from my SME 6.0.1 box to another Linux box over our private network.
I basically want to mirror the server over to the other box but I am having trouble with the syntax of the commands.
My syntax is as follows:

rsync -r /my/directory/to/copy/* 192.168.1.200::server/directory/to/copy/to

Here is the error I get:
[root@mail root]# rsync -r -av /plus/* 192.168.1.200::sharename/server1
building file list ... done
rsync: read error: Connection timed out
rsync error: error in rsync protocol data stream (code 12) at io.c(354)
[root@mail root]#

I can do it no problem from a Windows computer, running Sync2NAS:
 
http://sync2nas.sourceforge.net/

Can anyone tell me what I'm doing wrong? Thanks

Ed
Title: Rsync to non-SME server running rsync
Post by: edb on March 23, 2005, 04:53:48 PM
Anyone have any ideas?
Title: Rsync to non-SME server running rsync
Post by: edb on March 23, 2005, 07:01:44 PM
Turns out it was a bad NIC on the receiving rsync server.
Title: sync2nas
Post by: jmvelez on March 24, 2005, 11:05:36 PM
what did you do on smeserver for it to work.  I read that you need to add a rsync.conf.  Can you post it

Thank you
Title: Rsync to non-SME server running rsync
Post by: edb on March 24, 2005, 11:15:44 PM
Because I am using my SME box as the client and backing up to a non-SME Linux box running rsyncd I didn't have to do anything except enter the right commands at the SME server prompt.

rsync -R -av /home/* rsync_server_IP::share/your_dir_name