rsync backup not working

Jon Miller jlmiller at mmtnetworks.com.au
Sat Mar 4 02:01:08 GMT 2006


I'm using rsync 2.63 on a NetWare 6.5 server backing up various volumes to a SLES 9 server.
My script that I'm using on the NW server is:
# Rsync synchronisation of APPS
rsync -rRutzvP --volume=apps: ./ 192.168.1.252::SCA/apps

# Rsync synchronisation of DATA
rsync -rRutzvP --volume=Data: ./ 192.168.1.252::SCA/Data

# Rsync synchronisation ofGWMAIL
rsync -rRutzvP --volume=GWMAIL: ./ 192.168.1.252::SCA/GWMAIL

# Rsync synchronisation of HSOFT
rsync -rRutzvP --volume=HSvol: ./ 192.168.1.252::SCA/HSvol

# Rsync synchronisation of SYS Volume
rsync -rRutzvP --volume=Sys: ./ 192.168.1.252::SCA/Sys

rsync -arz -v --volume=Sys: /trustee.xml 192.168.1.252::SCA
rsync -arz -v --volume=apps: /trustee.xml 192.168.1.252::SCA
rsync -arz -v --volume=Data: /trustee.xml 192.168.1.252::SCA
rsync -arz -v --volume=GWMAIL: /trustee.xml 192.168.1.252::SCA
rsync -arz -v --volume=HSvol: /trustee.xml 192.168.1.252::SCA



My rsyncd.conf file from the SLES9 server consists of:
gid = backup
uid = backup
#read only = true
use chroot = false
transfer logging = true
log format = %h %o %f %l %b
log file = /var/log/rsyncd.log
hosts allow=192.168.1.100 

[Example]
 path = /data/backup
 read only = false
 comment = Rsync testing
# auth users = user
# secrets file = /etc/rsyncd.secrets

[SCA]
 path = /data/sca/sca
 read only = false
 comment = SCA Backup


When I try to run the scripts either manually or via cron I get the following errors:
rsync error: error in socketIO (code 10) at io.c(1941)
or if I use the rsync version that I had used at first (v2.56) I get the following error:
(1) SendBuffer: Error WSASend fd=71 nRet=-1 err=10053
rsync error: error in socket IO (code 10) at io.c(1646)

In either case the setup is as follows:
NWserver is 192.168.1.100 and the SLES server is 192.168.1.252
My plans are once the SLES server is in sync I will move the SLES server back to the remote office.  I should mention that I did have this working remotely, it just that it was taking too long as it was copying every file and that is not what I wanted I wanted it to see the differences and copying those differences.

Thanks

Jon L. Miller,  ASE, CNS, CLS, MCNE, CCNA
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au
Resellers for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, Sophos Anti-Virus, CA Products

"I don't know the key to success, but the key to failure
 is trying to please everybody." -Bill Cosby
-------------- next part --------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px">
<DIV>I'm using rsync 2.63 on a NetWare 6.5 server backing up various volumes to 
a SLES 9 server.</DIV>
<DIV>My script that I'm using on the NW server is:</DIV>
<DIV># Rsync synchronisation of APPS<BR>rsync -rRutzvP --volume=apps: ./ 
192.168.1.252::SCA/apps</DIV>
<DIV>&nbsp;</DIV>
<DIV># Rsync synchronisation of DATA<BR>rsync -rRutzvP --volume=Data: ./ 
192.168.1.252::SCA/Data</DIV>
<DIV>&nbsp;</DIV>
<DIV># Rsync synchronisation ofGWMAIL<BR>rsync -rRutzvP --volume=GWMAIL: ./ 
192.168.1.252::SCA/GWMAIL</DIV>
<DIV>&nbsp;</DIV>
<DIV># Rsync synchronisation of HSOFT<BR>rsync -rRutzvP --volume=HSvol: ./ 
192.168.1.252::SCA/HSvol</DIV>
<DIV>&nbsp;</DIV>
<DIV># Rsync synchronisation of SYS Volume<BR>rsync -rRutzvP --volume=Sys: ./ 
192.168.1.252::SCA/Sys</DIV>
<DIV>&nbsp;</DIV>
<DIV>rsync -arz -v --volume=Sys: /trustee.xml 192.168.1.252::SCA<BR>rsync -arz 
-v --volume=apps: /trustee.xml 192.168.1.252::SCA<BR>rsync -arz -v 
--volume=Data: /trustee.xml 192.168.1.252::SCA<BR>rsync -arz -v --volume=GWMAIL: 
/trustee.xml 192.168.1.252::SCA<BR>rsync -arz -v --volume=HSvol: /trustee.xml 
192.168.1.252::SCA</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>My rsyncd.conf file from the SLES9 server consists of:</DIV>
<DIV>gid = backup<BR>uid = backup<BR>#read only = true<BR>use chroot = 
false<BR>transfer logging = true<BR>log format = %h %o %f %l %b<BR>log file = 
/var/log/rsyncd.log<BR>hosts allow=192.168.1.100 </DIV>
<DIV>&nbsp;</DIV>
<DIV>[Example]<BR>&nbsp;path = /data/backup<BR>&nbsp;read only = 
false<BR>&nbsp;comment = Rsync testing<BR>#&nbsp;auth users = 
user<BR>#&nbsp;secrets file = /etc/rsyncd.secrets</DIV>
<DIV>&nbsp;</DIV>
<DIV>[SCA]<BR>&nbsp;path = /data/sca/sca<BR>&nbsp;read only = 
false<BR>&nbsp;comment = SCA Backup</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>When I try to run the scripts either manually or via cron I get the 
following errors:</DIV>
<DIV>rsync error: error in socketIO (code 10) at io.c(1941)</DIV>
<DIV>or if I use the rsync version that I had used at first (v2.56) I get the 
following error:</DIV>
<DIV>(1) SendBuffer: Error WSASend fd=71 nRet=-1 err=10053</DIV>
<DIV>rsync error: error in socket IO (code 10) at io.c(1646)</DIV>
<DIV>&nbsp;</DIV>
<DIV>In either case the setup is as follows:</DIV>
<DIV>NWserver is 192.168.1.100 and the SLES server is 192.168.1.252</DIV>
<DIV>My plans are once the SLES server is in sync I will move the SLES 
server&nbsp;back to the remote office.&nbsp; I should mention that I did have 
this working remotely, it just that it was taking too long as it was copying 
every file and that is not what I wanted I wanted it to see the differences and 
copying those differences.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jon L. Miller,&nbsp; ASE, CNS, CLS, MCNE, CCNA<BR>Director/Sr Systems 
Consultant<BR>MMT Networks Pty Ltd<BR><A 
href="http://www.mmtnetworks.com.au">http://www.mmtnetworks.com.au</A><BR>Resellers 
for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, Sophos 
Anti-Virus, CA Products</DIV>
<DIV>&nbsp;</DIV>
<DIV>"I don't know the key to success, but the key to failure<BR>&nbsp;is trying 
to please everybody." -Bill Cosby</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>


More information about the rsync mailing list