delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/04/12:29:42

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.1 required=5.0 tests=BAYES_20,FREEMAIL_FROM,LOCALPART_IN_SUBJECT,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4C827418.8070806@comcast.net>
Date: Sat, 04 Sep 2010 09:30:16 -0700
From: Dan Miller <59vw AT comcast DOT net>
Reply-To: Dan Miller <59vw AT comcast DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: cygwin - rsync question
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

I'm running windows XP
Cygwin with latest updates

I have a bash script that sets up a directory structure for rsync to 
perform incremental backups. It all works fine locally.

I'd like to use the same approach to backup my local files to a windows 
network share on a server.

I have the windows network share mounted by /etc/fstab to a directory in 
my root folder. Cygwin can read and create/delete files and directories 
on the mount point but when I execute an rsync command from the script 
it contacts the daemon and begins to send the file list but then it fails.

error is

rsync: read error: Software caused connection abort (113).

I also get a mkdir and chroot error if I try to save backup copies 
within rsync.

it seems the rsync instance doesn't have appropriate permissions on the 
mounted network share.

Is there a workaround for this ....? the way I mount the share in 
/etc/fstab perhaps?

current mount looks like this:

//networkshare/backup/daily /backups   smbfs user,posix=0,noacl

thanks in advance for any help.

Dan





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

- Raw text -


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