delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/05/23/10:29:42

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; q=dns; s=default; b=VqfV
8AOJ/PrxWB9QzsSTHQbZCp3Yc1tekfTMkYg/RHn+S0gYZMBVkVf4aMkmEQhfJGcA
j/0FRFFHz4nPBWtemmetYqKLZPywWldaaZUAiL3/LqRN/nFskCRsPkdiJ+GPncLu
RyrPG8ACgEEuZaCa8mYloBq/iFO+Stm3JqGeM70=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; s=default; bh=Z7mPbfbeCY
t1UvYiACtSTuGENvM=; b=jRe3lgy+T5qPCM87GPNJK5ZlSePlJvah6XV5hurTVK
NF1UomYqoOTNBWz0TPFFWFmFNYkAxM3GLxux7s40HhfjYQvIxyYPsiTOU8NMxD6F
2HFdT6hgRPYA4U6425YjSPhKsc09ygo2nKJRVFhX1STfFn5k36cIsSWSszup1W0M
w=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=blake, Blake, H*i:YPUMDh56, H*f:YPUMDh56
X-HELO: mx1.redhat.com
Subject: =?UTF-8?Q?Re:_tar_incremental_backups_and_ctime=e2=80=8f_problem?=
To: cygwin AT cygwin DOT com
References: <CAOKAGPP0o6vV2KTpfs4M0DyqwHA3pVw-+xkwLmjyWpAFthbA+A AT mail DOT gmail DOT com> <9fdf98cf-e3d1-e453-1c98-2c206afe81c9 AT gmail DOT com> <CAOKAGPOzSYkmFRJazgQMwjUCKsKaBbE9gcVAdNnNvYUkmc=9Bw AT mail DOT gmail DOT com> <09f604cd-61df-e0c7-b313-1dcf1ef59b4e AT gmail DOT com> <CAOKAGPMHEiNLW3makusvvx2E7V9etjA+YPUMDh56=N42wmtLYA AT mail DOT gmail DOT com>
From: Eric Blake <eblake AT redhat DOT com>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Message-ID: <574313B3.3090703@redhat.com>
Date: Mon, 23 May 2016 08:29:07 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <CAOKAGPMHEiNLW3makusvvx2E7V9etjA+YPUMDh56=N42wmtLYA@mail.gmail.com>
X-IsSubscribed: yes

--0QVbi20PuX8rIniPA4n1ofaTtb6TtuDtr
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 05/23/2016 03:18 AM, x y wrote:
> It is not clear to me your expectation:
> - are you asking how to use ctime to select the file with tar alone ?
>   It is not possible for my understanding of the manual.
>=20
> - Are you asking the package maintainer to change the behaviour of
>   cygwin tar ? Unlikely to happen, but I leave to him.
>=20
> Regards
> Marco
>=20
>=20
> Hi Marco,
>=20
> Sorry, I am new to the mailing list. If I am not wrong, tar is
> checking both of the ctime and mtime values to compare files during
> incremental backups. Since opening and closing a MS document without
> changing the content updates ctime, it would be preferable to add a
> new option to tar to use only mtime for file comparing during
> incremental backups.

mtime is fakeable, ctime is not.  Using only mtime makes it likely that
your incremental backup will miss files.  I don't have any good reason
to differ from upstream behavior here.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--0QVbi20PuX8rIniPA4n1ofaTtb6TtuDtr
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJXQxOzAAoJEKeha0olJ0NqDuoH/3WPa+4guhreWxJN+fXj0lZA
ApNQhCiWkyt415dIF02mLZNi8Q/ucZh/K9EsRQeG0x6oV+DN8bYoX8XK3r6sQDzY
SKE2nMM9EGUNeiqp0AtXii3keeAbtlM/WxSqF/nNXEtbOGjBcWEu4FVXuGOuwvEz
lDSHZNpJondG4txw6vpRxJrLYfLZY9kPRt4iPaVt1sDXdteT1P6PkDBsCqZHi6Jp
H1uD1yMFCZRh3BTp5Ulod9rKYdQueT97oCOJrxSqHq2zd8R2W6LlCYhnMfExT51y
XeYKDMXYelDfpqmiblASBLluLGy5By2CJpmOlpY4qRf7dNU20mhck+fOaZeSCWw=
=Fnku
-----END PGP SIGNATURE-----

--0QVbi20PuX8rIniPA4n1ofaTtb6TtuDtr--

- Raw text -


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