How do I restor a set of incremental dumps?
Robert Perlberg
perl at rdin.UUCP
Sat Jan 21 23:10:06 AEST 1984
I had the unpleasant task recently of restoring a system
from a set of incremental dumps. On each file system, the
level 0 dump restored cleanly (no fsck errors). However,
each of the following dumps caused fsck to run amok! Files
were deleted and relegated to lost+found by the hundreds!
There was nothing wrong with the dumps. Files that were
discovered missing were capable of being restored
individually. There was also a great deal of directory
corruption. Lots of files showed up in the wrong
directories under the wrong names. Whole directories
disappeared.
My question is: is this an isolated case? My experience
with and knowledge of dump and restor tells me that the
system simply cannot work any better because of how it was
designed. When restoring a filesystem (restor r) the inodes
stored on the tape are loaded back into the same inodes on
the disk. This is a ridiculous way to restore files! What
if there is already a file in that inode? Of course, the
reason for this is to maintain the validity of directories.
But that's just as ridiculous; and it doesn't work anyway!
Why doesn't restor just create empty directories where
necessary and update them as it restores files?
Surely I am not the first to run into this situation. The
manual explicitly states that a filesystem can be restored
from incremental dumps. Can anybody shed some light on this
problem for me? I hate to think that all of the incremental
dumps I make every day will be worthless in the event of
another system crash.
Robert Perlberg
Resource Dynamics Inc.
New York
philabs!rdin!rdin2!perl
More information about the Comp.unix.wizards
mailing list