LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-10-2004, 11:38 AM   #1
enygma
Member
 
Registered: Mar 2003
Distribution: CentOS 5.2
Posts: 43

Rep: Reputation: 15
Restoring data from tape backups


OK, I have a bunch of tape backups here that were dropped to me from my boss. They are old archives that were written from some system in the past on an OnStream ADR SC-50 tape drive. The tapes are 25GB (50GB compressed). I have no idea what is on them, or how they are to be restored. I just installed the tape drive with the SCSI card on our server and everything seems to be functioning. I can successfully use the 'mt' command to control the drive and eject the media.

Now, I have this box full of tapes I need to figure out what to do with. Now idea what is on them or how they were backed up. I can't even seem to get KDat working either. It keeps saying a tape is not in the drive, even when I point it to /dev/osst1 or the symbolic links I made to /dev/tape. Anyways, how would I go about finding out what is on these tapes, and from there, how do I start restoring the data onto the server?
 
Old 11-10-2004, 01:04 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
I don't know if this will help any or not: http://www.ibiblio.org/pub/Linux/doc...ape-HOWTO.html

Also, if you can read from them at all, you could make an "image" of them using "dd" to reduce risk of data loss. Also read man tar.
 
Old 11-10-2004, 01:16 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,853

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Have you tried using the command line to dump its contents:
tar -tvf /dev/osst1

Try dumping some of it to a file and exam the contents
dd if=/dev/osst1 of=/somewhere/backup bs=256 count=10

I can't remember what the standard block size.
 
Old 11-10-2004, 01:22 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Standard block size would be 512.
 
Old 11-10-2004, 01:24 PM   #5
enygma
Member
 
Registered: Mar 2003
Distribution: CentOS 5.2
Posts: 43

Original Poster
Rep: Reputation: 15
well, from reading that, it more describes the installation of the floppy tape driver and using it for archiving and restoring using tar. My problem is that I don't know how the data is archived on these tapes, and I don't know how to find out.

I have the SCSI driver for the drive and controller installed, and the drive does work. I did a cpio backup for the heck of it to try it out and that seemed to work on a blank tape. But I am still at a dead end when it comes to finding out what is on the tapes, or even how the data is archived... or even if it is compressed.
 
Old 11-10-2004, 01:34 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Well, have you tried the standard tar ways of extracting an archive from a tape? It's what tar was designed for
 
Old 11-10-2004, 01:38 PM   #7
enygma
Member
 
Registered: Mar 2003
Distribution: CentOS 5.2
Posts: 43

Original Poster
Rep: Reputation: 15
innermed:/home/cheier # tar -tvf /dev/osst0
tar: /dev/osst0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
 
Old 11-10-2004, 05:25 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,853

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
You have quite a task. You have tapes from an unknown system in an unknown format.

Try dumping some of it to a file.
dd if=/dev/osst1 of=/somewhere/backup bs=512 count=10

View the contents using the hexedit program
There might be some contents descriptor at the beginning or end of a backup.
 
Old 11-11-2004, 01:29 PM   #9
enygma
Member
 
Registered: Mar 2003
Distribution: CentOS 5.2
Posts: 43

Original Poster
Rep: Reputation: 15
Ok, for some reason, the DD command didn't work giving me an I/O error.

Anyways, I talked to a few people and did a bit of googling, and found out that the tapes may have been recorded on Windows 2000 through a program called OnStream Echo. If that is the case, is there anything in Linux that may be able to read archived data on tapes written in this program?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating/Restoring Backups Corallis Linux - Newbie 4 09-05-2004 10:04 PM
best media for data storage & backups? Fascistchicken Linux - Hardware 2 04-09-2004 12:28 AM
Help restoring from tape and tar...... TheDirtyPenguin Linux - Software 1 02-17-2004 07:42 AM
tar or cpio - Which is better for tape backups? Br. Nicholas Linux - Software 2 07-02-2003 04:06 PM
trouble using dd for tape backups. Jason Foat Linux - Hardware 1 05-21-2002 02:03 PM


All times are GMT -5. The time now is 01:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration