On Wed, Sep 01, 2004 at 06:42:53PM -0600, Bret Mckee wrote:
> [ Sorry if this message shows up twice.  I sent it this morning, and
> realized when it didn't show up that I was not longer a subscriber of
> this list...]
> 
> Greetings:
> 
...
> 
> Picked as an example, one file that didn't change but that was backed
> up was: /home/mckee/proj/proj-2.3/client/pubring.gpg
> 
> which was backed up relative to /home/mckee as:
> ./proj/proj-2.3/client/pubring.gpg
> 
> Trying to figure out why it got backed up, I looked in the gnutar-list
> files for the path to both files:
> 
> hostname_home_mckee_0:26641 31851568 ./proj
> hostname_home_mckee_1:26641 31851568 ./proj
> 
> hostname_home_mckee_0:26641 4637093 ./proj/proj-2.3
> hostname_home_mckee_1:26641 4637093 ./proj/proj-2.3
> 
> hostname_home_mckee_0:26641 37028138 ./proj/proj-2.3/client
> hostname_home_mckee_1:26641 37028138 ./proj/proj-2.3/client
> 
> Note that device/inode didn't change for any of the directories in the
> path (which would have triggered tar to back up the files)
> 
> Here are the entries for the tar -tv output, and again the dates/sizes
> didn't change:
> mckee.list.0:-rw------- root/root           1692 2004-03-23 10:04:03
> ./proj/proj-2.3/client/pubring.gpg
> mckee.list.1:-rw------- root/root          1692 2004-03-23 10:04:03
> ./proj/proj-2.3/client/pubring.gpg
> 
> I'm looking to understand this behavior, both because it is a waste of
> tape 
> (even virtual) to backup unchanged bits and because I can't help
> wonder 
> if some files are not being backed up at all (i.e. if it doesn't
> correctly 
> decide what to back up, it could easily be missing files too).
> 
> If anyone can explain this behavior, or if you need additional
> information to try and explain it, please let me know.  I have also
> submitted this to the GNU tar list, since it seems fairly likely it is
> really a tar problem...


One thing to check is whether the "inode change time" indicates
some property of the file changed since the first backup.  This
can be read from the "c" option of ls as in "ls -lc".  Types of
changes that could affect this would be permissions or links.

-- 
Jon H. LaBadie                  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Reply via email to