delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/05/23/12:57:04

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=yf
JYzjceMyYjZ0Zbf6vrN+VvtvUAq3sqles2allE43K/2fEFMKOKlOCywbwDhFA2AN
HeFooxtW8Zr7KPJzneCxQAW4setSn0A5N7x/4o0PYpLWxAWnyXlS3s4VxogROTs4
OMNrpWy7RnzWonaYw3vSou8HsbQha0Nc+udOJG6ys=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=iFNeN5w7
4bCAYVP9FgXKuyVTcR4=; b=Megk3JbhCivxAClzzUGFjqRh1UrTOYlReu79pq1X
riqWVdMQx2zo5w9qb0BYS1ZseGtS6uhnn3O/bE7Sy+QGtYe6u+FyizdrE9JJX9Sp
G93b9Q+U7Z/i/E3ynPKyPtgPWkesoIDWM7UX+/FMpsHZHshODvJMWAhi8h4eI1fB
hZU=
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=-0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KAM_LINEPADDING,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=marcoatzerigmailcom, marco DOT atzeri AT gmail DOT com, H*f:sk:b200999, H*i:sk:b200999
X-HELO: mail-wm0-f42.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=LmKpgmMQwOsukg14mLEbEuJKnX0mlPKswPY1LdJxpYQ=; b=W1I2d16x3eUrdNArZkqy007chzH/w4O9bcI2UB4+hD44W7y9B0+MvcNv1Nhtk1BfGe s/5bk+E+AoY7Ah4UGS48huqrzixhZK4ttjtG3YoJ0gtxgmAF1jmqp+eY+sEGQQGv8vD1 Dr1nq5v6hwDSOrmr2Yehgvt4NUvBKwwA9XmUcpSkEogkZaqy4ZOP9dRjJjKpTbc1ALXD eWuhkZ3HsnLNEArG8qS8fxOnE4CJEdtx6biRvrC9mfrVE34s+yF10uIBIhZ5fwS5oSjF Amf4f/4Q2SbgqMNgfZLAhDjPn0DIwT/BWEF9s9rB7SK3+cdjK1IZO2kbTfXmvSAdLGW8 MZRA==
X-Gm-Message-State: AOPr4FXC3ZX3EH8fpqWXkDonCMiVl5cItp05VM4+E8Xjxr3zsbzqpZ5xffbWLBSfcSjeoBAv0NAacUhMstBfEg==
MIME-Version: 1.0
X-Received: by 10.194.0.171 with SMTP id 11mr17469618wjf.110.1464022592209; Mon, 23 May 2016 09:56:32 -0700 (PDT)
In-Reply-To: <b2009993-f09a-c07f-f524-34266334c151@gmail.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> <574313B3 DOT 3090703 AT redhat DOT com> <CAOKAGPOVnU1Lr2od-UbtRAeZHFKjnNC2jOmmGouVotSYMxbokw AT mail DOT gmail DOT com> <b2009993-f09a-c07f-f524-34266334c151 AT gmail DOT com>
Date: Mon, 23 May 2016 19:56:32 +0300
Message-ID: <CAOKAGPO=h=J-MWYxN_wqSSGPvAJKP0ks7-hc+iQnUr4NZBiAuQ@mail.gmail.com>
Subject: =?UTF-8?Q?Re=3A_tar_incremental_backups_and_ctime=E2=80=8F_problem?=
From: x y <x1y2w3 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

>It is always possible to create file list with find and use that
>to tar whatever using --files-from=FILE option

>I don't see the need to change tar behaviour to meet your wish.

Hi Marco,

Consider that you are working in the IT department of a company and
you have thousands of documents in your file server. Concerning the
--file-from option, how can you guess the name of the files which are
just only going to be viewed by the workers? Those files would be not
modified but since the ctime stamp will be updated, they will be
included in the next incremental backup. Why to lose time with the
--files-from option and make things more difficult? Adding an option
to tar.exe to ignore the cname time stamp during differential \
incremental backups should be possible. This should be the natural
method. Tools like rsync does not suffer from such problems so my
request should make sense.

On Mon, May 23, 2016 at 6:35 PM, Marco Atzeri <marco DOT atzeri AT gmail DOT com> wrote:
> On 23/05/2016 16:57, x y wrote:
>>>
>>> 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.
>>
>>
>> Hi Eric,
>>
>> The problem is not faking time stamps. Even commercial Windows backup
>> programs are checking the modification time to identify the modified
>> files.
>>
>> Consider that you have a lot of files opened and closed without any
>> modification in your company. Because of the priority of the ctime
>> time stamp, reintroducing all of those files to the incremental backup
>> does not make any sense. tar has also the capacity to create
>> differential backups with the condition of taking care of the snapshot
>> file. The ctime issue can result in unnecessarily big differential
>> backups filled with unmodified files.
>>
>> Cygwin tar can be a good  alternative for Windows users to do
>> differential \ incremental backups but the ctime problem must be
>> solved.
>>
>
> It is always possible to create file list with find and use that
> to tar whatever using --files-from=FILE option
>
> I don't see the need to change tar behaviour to meet your wish.
>
>
> Regards
> Marco
>
>
>
>
>
>
>
>
> --
> 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
>

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