From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80276 invoked by alias); 23 May 2016 16:56:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 80264 invoked by uid 89); 23 May 2016 16:56:45 -0000 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.atzeri@gmail.com, H*f:sk:b200999, H*i:sk:b200999 X-HELO: mail-wm0-f42.google.com Received: from mail-wm0-f42.google.com (HELO mail-wm0-f42.google.com) (74.125.82.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 23 May 2016 16:56:35 +0000 Received: by mail-wm0-f42.google.com with SMTP id z87so56167583wmh.0 for ; Mon, 23 May 2016 09:56:34 -0700 (PDT) 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) Received: by 10.194.56.134 with HTTP; Mon, 23 May 2016 09:56:32 -0700 (PDT) In-Reply-To: References: <9fdf98cf-e3d1-e453-1c98-2c206afe81c9@gmail.com> <09f604cd-61df-e0c7-b313-1dcf1ef59b4e@gmail.com> <574313B3.3090703@redhat.com> Date: Mon, 23 May 2016 16:56:00 -0000 Message-ID: Subject: =?UTF-8?Q?Re=3A_tar_incremental_backups_and_ctime=E2=80=8F_problem?= From: x y To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-05/txt/msg00270.txt.bz2 >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 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