delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/23/08:08:37

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 23 Sep 2009 14:08:12 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Rsync and Alternate Data Streams
Message-ID: <20090923120812.GZ20981@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4ABA07B6 DOT 6030202 AT gmx DOT com>
MIME-Version: 1.0
In-Reply-To: <4ABA07B6.6030202@gmx.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
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 Sep 23 13:34, Andreas Heinlein wrote:
> Hello,
> 
> no, I do *not* want to transfer ADS with rsync, that would be an FAQ ;-)
> 
> But I have setup rsyncd on a windows host using cygwin. This machine
> hosts files with ADS which are created by Antivirus software and change
> frequently. I do not need to save these ADS, but somehow they seem to
> lead rsync to believe the file has changed and transfer it again. Since
> we are doing multi-generation backups with rsync and hard links (using
> the --link-dest option), this greatly increases space requirements. I
> compared old and new files, and they are exactly identical in size,
> name, path, permissions (as UNIX/cygwin sees them), they have the same
> md5sum.
> 
> I have not yet tried running rsync with the checksum option, but since
> we are backing up > 200.000 files, that would likely take much too long.
> Do you have any ideas how to change this behaviour?

Look for the rsync --size-only option.  Probably the Antivirus stuff
changes the modification date, which is usually used by rsync for a
quick decision what has changed.

Alternatively use another Antivirus software which does not modify the
files on disk.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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