home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sun / misc / 3709 < prev    next >
Encoding:
Text File  |  1992-08-15  |  1.6 KB  |  40 lines

  1. Newsgroups: comp.sys.sun.misc
  2. Path: sparky!uunet!usc!elroy.jpl.nasa.gov!ucla-cs!ucivax!dhw68k!arcturus!eduardo
  3. From: eduardo@arcturus.amasd.anatcp.rockwell.com (Eduardo Malamut)
  4. Subject: Re: Can I salvage an overwritten tar tape?
  5. Message-ID: <1992Aug14.200538.15337@arcturus.amasd.anatcp.rockwell.com>
  6. Organization: Rockwell International
  7. References: <1992Aug6.225231.24018@arcturus.amasd.anatcp.rockwell.com> <1992Aug12.172603.21565@arcturus.amasd.anatcp.rockwell.com>
  8. Date: Fri, 14 Aug 92 20:05:38 GMT
  9. Lines:       30
  10.  
  11.  
  12. I've received many requests for a summary of the responses (on how to
  13. recover a tar tape which has been partially erased by a tar -c commnd).
  14.  
  15. I deleted the actual messages, but here goes the summary, as best I
  16. can remember:
  17.  
  18. - Use dd to get the data from tape to disk, then try to manually
  19.   put a tar header on the file, so tar can then extract the data.
  20.  
  21. - Use mt (with the no-rewind device) to advance past the EOF placed
  22.   by the erroneous tar -c command.  Then use tar repeatedly, until
  23.   a "good" file is found, and tar will recover from there on.
  24.  
  25. - Use a tape utility (available at an ftp site) which will recover
  26.   the tape.  I'm so sorry, but I don't have the name of the tool.
  27.  
  28. What's happened is that after posting the question, we were able to
  29. find an acceptable backup of teh data, so we decided to just use it
  30. instead of trying to recover the tape, so I did not test any of the
  31. suggestions above.
  32.  
  33. Hope this helps the others who had this problem.  I was surprised
  34. to find this is a much more common problem than I expected.
  35.  
  36. Thanks again to all those who replied.
  37.  
  38. Ed Malamut
  39. Rockwell International
  40.