bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] linux 2.0 w/ ext2 incremental (-g) backup looses renamed files


From: Chris Pearson
Subject: [Bug-tar] linux 2.0 w/ ext2 incremental (-g) backup looses renamed files
Date: Mon, 26 Sep 2005 12:03:06 -0500 (CDT)

On linux 2.0.40 on an ext2 filesystem, when a file is renamed it's
'change' timestamp is not effected.  tar incremental backup seems to
expect this, as newer systems do.  The result is that on effected systems,
if a file is renamed between incremental backups, it will be considered to
be deleted without any notice of it's new name.  So, when one recovers the
backups incrementally, the file disappears completely.

Unfortunately since individual files aren't listed in the snapshot file to
compare against, I don't know how else this could be fixed.  Maybe
refusing to run on effected systems.  tar could test for the change time
stamp being changed on rename.  At least issue the warning that 'renamed
files will disappear with incremental restores on your system!'






reply via email to

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