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