Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have all of these old DDS3 and DDS4 tapes that I need to restore the files off of. The only information that I really know is that they were put on the tapes about 10 to 20 years ago using Digital Unix. They are in a Tar file format.

I have been using Ubuntu 13.04 to try to restore these files but I've had zero success so far. I have really no idea how to get these files off of here. A couple of commands that we've tried in terminal are:

/media/archive/SCSI/Linux$ sudo dd if=/dev/st0 ibs=128k | tar -vxf -
sudo tar -xzf /dev/st0 /media/archive/SCSI/Linux

/media/archive/SCSI/Linux is what I am trying to restore to and st0 is the Tape Drive name.

Please help me out! I'm only an intern!
Thanks

share|improve this question
1  
What is the result of those commands? For the second one I would try: sudo tar -xvf /dev/st0 (without z and without destination dir). –  enzotib Aug 13 '13 at 20:50
    
With my commands it returns tar (child): /dev/st0: Cannot read: Cannot allocate memory tar (child): At beginning of tape, quitting now tar (child): Error is not recoverable: exiting now gzip: stdin: unexpected end of file tar: Child returned status 2 tar: Error is not recoverable: exiting now the command you suggested returned tar: /dev/sto: Cannot open: No such file or directory tar: Error is not recoverable: exiting now Thanks for the suggestion –  tofer41 Aug 14 '13 at 11:48
1  
You have written wrong my command, it was st0 and not sto –  enzotib Aug 14 '13 at 12:28
1  
The message "/dev/sto: Cannot open: No such file or directory" indicates that you wrote the bad name. Repeat the command, please –  enzotib Aug 14 '13 at 15:14
1  
It is /dev/st0 where the last character is zero. –  hakermania Aug 16 '13 at 12:01

1 Answer 1

Use dd to pull all the info off the tapes, and then experiment with copies of the files. Tapes are fragile after 20 years, so assume media is cracking and oxide is flaking off.

Examine the first 100 characters of the file, it should be recognizable as a tar header, if it looks scrambled, but not binary (encrypted), try dd with some of the byte swapping switching, again just the first characters until you get the right combination, then you can dd with those switches to tar.

If the header looks encrypted, try the tar z with the various byte swapping on dd, then try uudecode, (on a copy of the file, then dd byte-swapping, first few hundred...) Try unzip on the file. When you can see the header, then apply to the whole file.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.