This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: tar incremental backups and ctimeâ problem
- From: x y <x1y2w3 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 23 May 2016 12:18:34 +0300
- Subject: Re: tar incremental backups and ctimeâ problem
- Authentication-results: sourceware.org; auth=none
- 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>
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.
- Are you asking the package maintainer to change the behaviour of
cygwin tar ? Unlikely to happen, but I leave to him.
Regards
Marco
Hi Marco,
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.
On Mon, May 23, 2016 at 12:06 PM, Marco Atzeri <marco.atzeri@gmail.com> wrote:
> On 23/05/2016 10:54, x y wrote:
>>
>> Hi Marco,
>>
>> Thanks for your reply. The problem is that there are a lot of files to
>> be checked so replacing ctime by time to support tar incremental
>> backup should be more practical.
>
>
> Bottom post on this mailing list, please.
>
> 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.
>
> - Are you asking the package maintainer to change the behaviour of
> cygwin tar ? Unlikely to happen, but I leave to him.
>
> Regards
> Marco
>
>
>
>>
>> On Mon, May 23, 2016 at 11:46 AM, Marco Atzeri <marco.atzeri@gmail.com>
>> wrote:
>>>
>>> On 23/05/2016 10:40, x y wrote:
>>>>
>>>>
>>>> Hello,
>>>>
>>>> The MS Office applications are changing the ctime value of .doc and
>>>> .xls files even if they are not modified. Opening and closing an
>>>> office file without modifying the content is changing ctime and the
>>>> unmodified document is included in the incremental tar archive. Could
>>>> it be possible to use the mtime value instead of ctime to avoid the
>>>> the reappearance of the unchanged files in the incremental archive?
>>>>
>>>> Test OS : Windows 7 Sp1
>>>>
>>>
>>>
>>> find -ctime should be able you to build the list of files
>>> that are changed and that tar should process
>>>
>>> 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