delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/10/08:11:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Thu, 10 Mar 2011 15:11:12 +0200
Message-Id: <201103101311.p2ADBCPu027525@beta.mvs.co.il>
From: "Ehud Karni" <ehud AT unix DOT mvs DOT co DOT il>
TO: cygwin AT cygwin DOT com
Cc: "Panos Katergiathis" <eyeprotocol AT gmail DOT com>
Subject: Re: Rsync and FAT32
In-reply-to: <4D7801A5.2070001@cygwin.com> (reply-to-list-only-lh@cygwin.com)
Reply-to: ehud AT unix DOT mvs DOT co DOT il
References: <AANLkTimaHtDpCDeiey5PMgXgfCLMs1EDM_0Pk_DbU3N0 AT mail DOT gmail DOT com> <4D77AA45 DOT 70103 AT cygwin DOT com> <B1644C15-CE70-4525-A18D-43598F1876FB AT gmail DOT com> <4D77E92C DOT 1030403 AT cygwin DOT com> <AANLkTi=3Dn5LXgQc_OzzjKE=3DZ86zW7PLFkZ8uCJzYrO+Mr AT mail DOT gmail DOT com> <4D7801A5 DOT 2070001 AT cygwin DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Wed, 09 Mar 2011 17:39:33 -0500, Larry Hall (Cygwin) wrote:
>
> On 3/9/2011 4:34 PM, Panos Katergiathis wrote:
> >
> > rsync -e 'ssh -p 22 -l root' -z --delete-excluded --verbose
> > --recursive --delete --update --exclude-from=exclude.rs root@<server
> > name>:xms/home /cygdrive/e/MyNetworkServers/XMS-home
>
> So you're copying from the Linux machine to the Windows machine, just as you
> stated the first time.  I don't see any flags (-a, -p, --chmod, -A,
> --fake-super, etc.) here that would set the permissions as you would need
> them on the Windows machine.  I recommend doing so.

I think Larry found your problem. You can use the --archive option (good
when rsyncing for an exact backup).

Since you are using net connection, please look also at --whole-file option.
Also, your ssh user and rsync user are the same, so you can use --rsh=ssh
instead of using the -e option.

Ehud.


--
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7976-561  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry

--
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