home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / sys5 / r4 / 586 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  2.6 KB

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