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