bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Question re: incremental backup and directory rename detec


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] Question re: incremental backup and directory rename detection
Date: Thu, 27 Aug 2009 20:30:53 +0300

Mike Cappella <address@hidden> ha escrit:

> I'm curious about how tar is determining directory renames in
> incremental backups.  Is this by inode number, and the messages below
> are informative only?

Yes, it uses the inode number. If the inode number is the same as
stored in the snapshot file, but the file name has changed, then
this file is called "renamed", for purposes of incremental dumps.

> From a strict name-only point of view, the rename detection below is
> incorrect (names of IMAP directories "new", "cur", and "tmp", after
> rename of any parent directories, would remain the same):

Perhaps, but from tar's point of view that's ok. Otherwise, it would
have archived the contents of .../Maildir/.Archives/{cur,new,tmp}
over again, even if there were no new or changed files in it.

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]