home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!jvnc.net!netnews.upenn.edu!mail.sas.upenn.edu!mark
- From: mark@mail.sas.upenn.edu (Mark Thomas)
- Newsgroups: comp.unix.sys5.r4
- Subject: How do I restore entire system with cpio???
- Message-ID: <98838@netnews.upenn.edu>
- Date: 23 Nov 92 15:53:46 GMT
- Sender: news@netnews.upenn.edu
- Organization: University of Pennsylvania
- Lines: 47
- Nntp-Posting-Host: mail.sas.upenn.edu
- Originator: mark@mail.sas.upenn.edu
-
-
- I am running Esix SysVr4, on a 486 with a SCSI 150MB tape drive. I made my
- cpio backup last weekend from single user mode by doing:
-
- cd /
- mountall
- umount /proc
- find . -depth -print | cpio -ovB -O/dev/rmt/stape
-
- I wanted to avoid having to re install and configure the entire product,
- including development system and additional drivers. I went through the
- basic installation proceedure, including partitioning the drive and making new
- file systems. I then rebooted the system, which went fine. After
- shutting down to single user mode, I did a "cpio -iudvmB -I/dev/rmt/stape",
- to restore everything (note partitioning was the same as before so /etc/vfstab
- should be okay for new setup). I got 6 or seven cpio errors on device nodes,
- which presumably were in use. I then seemingly successfully did an "idbuild"
- and rebooted the machine.
-
- When it came up it bombed with "init: command
- respawning too rapidly......." I then booted off floppies and discovered
- that there was no /dev/console, so I made a /dev/console", and tried again.
- This time I got lots of additional error messages, and eventually a login:
- prompt, but could not type anything on the keyboard (cryptic characters
- appearing on monitor and basically otherwise hung seeming system).
-
- I then booted from floppy, mounted the filesystems, and restored them from
- tape, this time, of course, I could restore everything without any errors,
- but I would have to boot off the hard disk before doing a kernal build.
- This did not work either, possibly because rc scripts and the like tried
- to do lots of things that the kernel was not configured for. I might have
- been able to replace the kernel with a backed up one, but I was getting
- very frustrated.
-
- I tried going through the ESIX quick recovery procedure, which automatically
- replaces the kernel, inittab, and a couple other critical files, to no avail.
-
- I also tried booting off the original kernal, with the same results.
-
- Am I overlooking something here? What do I need to do to successfully back
- up and restore my entire system? The installation/configuration of a new
- system from scratch takes a long time even with the tape distribution.
-
- Any help would be greatly appreciated.
-
-
- -Mark (mark@mail.sas.upenn.edu)
-