X-Recipient: archive-cygwin@delorie.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@unix.mvs.co.il>
TO: cygwin@cygwin.com
Cc: "Panos Katergiathis" <eyeprotocol@gmail.com>
Subject: Re: Rsync and FAT32
In-reply-to: <4D7801A5.2070001@cygwin.com> (reply-to-list-only-lh@cygwin.com)
Reply-to: ehud@unix.mvs.co.il
References: <AANLkTimaHtDpCDeiey5PMgXgfCLMs1EDM_0Pk_DbU3N0@mail.gmail.com> <4D77AA45.70103@cygwin.com>	<B1644C15-CE70-4525-A18D-43598F1876FB@gmail.com> <4D77E92C.1030403@cygwin.com> <AANLkTi=3Dn5LXgQc_OzzjKE=3DZ86zW7PLFkZ8uCJzYrO+Mr@mail.gmail.com> <4D7801A5.2070001@cygwin.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

