delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/12/18:33:52

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "H.S." <hs DOT samix AT gmail DOT com>
Subject: rsync hangs (maybe due to cron?) when getting data from Windows to Linux PC
Date: Sun, 12 Nov 2006 18:32:52 -0500
Lines: 30
Message-ID: <ej8av5$rgu$1@sea.gmane.org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060607 Debian/1.7.12-1.2
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello,

I backup a windows laptop on my home lan everynight using rsync and 
cygwin. The backups are made on a Linux PC running Debian Etch and 
2.6.17 kernel. The Windows laptop is running Windows XP Pro. fully 
updated, and cygwin, also fully updated (which has sshd and rsyncd running).

On the Linux PC, I have a cron job which calls my rsync script to copy 
the directories from Windows PC to the Linux PC.

I notice that if there are either too many files, or large files or both 
to be copied from the Windows PC, rsync hangs and never completes. But 
with the "-n" option, rsync on the Linux PC gives the list of files to 
be copied.

This hanging can kind of be avoided if I do the backup of the Windows PC 
folder by folder (I break up the backup process into backing up a bunch 
of folders at a time).

Recenly, I noticed that I can run that backup rsync command manually on 
the Linux PC and it worked. But running that command via a script did 
not work. So, at this point I am not sure what is going wrong, maybe it 
is my script. I run the same command from the command line and from the 
script but the results are different. Before I go further into my 
script, I just wanted to know if somebody is aware of any problem if 
rsyncd being run on Cygwin and Linux <--> Cygwin rsync problems.

Thanks,
->HS


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019