Re: I give up

From: Jan Engelhardt
Date: Wed Apr 11 2007 - 13:15:31 EST



On Apr 11 2007 18:43, Krzysztof Halasa wrote:
>"John Anthony Kazos Jr." <jakj@xxxxxxxxxxx> writes:
>
>> I think that's especially true. If a user begins with a single full disk
>> for their entire filesystem, uses tar to backup, and then later adds a
>> second disk, copies everything from /usr and /home onto partitions there
>> (making sure to preserve all interesting bits like ctime/mtime), and
>> mounts them over the original directories, tar should not decide that
>> every file in /usr and /home was deleted and recreated.
>
>That wouldn't work, even if you managed to copy ctime, the target
>inode number will be different than the original and backup has
>to assume it's a different file.

Time for rsync and/or rsync -c. And some target filesystem that is
fused to a [can-be-]non-solid archive, like 7z.


Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/