Xenix Restore Command
John Owens
john at jetson.UPMA.MD.US
Wed May 24 04:22:40 AEST 1989
In article <131 at tdl.UUCP>, raulin at tdl.UUCP (Raulin Olivera) writes:
> restored 2 file systems /root and /u from my cpio full system
> backup. At that point the installation looked fine. I then
> ran 2 restores from level backups that had been created prior
^ level what? level > 0?
> to the 2.2.3 install. !!!STEPPED ALL OVER MY /U FILESYSTEM!!!
You can only restore incremental backups (with restore r) on top of
restores of the previous full backups and all incrementals with lower
level numbers. When you do a "restore r", it replaces all the files
into their original inode locations. When you extract from cpio, the
files will end up with completely different inode numbers.
How did you manage to get an incremental backup from the date of a
cpio anyway? backup to /dev/null after running cpio?
Summary: Use backup exclusively for full and incremental backups for
disaster recovery and any other full-filesystem restores. Use cpio
for special-purpose backups that you're likely to want to restore all
or part of onto a good, existing filesystem. And only use "restore r"
on a filesystem that's either completely empty (fresh from mkfs) or
has just had another "restore r" done on it from a lower-level backup.
Good luck!
--
John Owens john at jetson.UPMA.MD.US uunet!jetson!john
+1 301 249 6000 john%jetson.uucp at uunet.uu.net
More information about the Comp.unix.xenix
mailing list