Reading label from tape


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Reading label from tape
# 1  
Old 02-06-2009
Restoring from tape

Hi,

I have a HP SURESTORE 40 tape drive. Several archives are stored on it using DUMP. I have several volumes stored on the tape...

If I issue restore -rf /dev/st0 will it restore just the arhcive that the tape reader is currently on or will it restore all of them?

Thanks,

Last edited by mojoman; 02-06-2009 at 06:01 PM..
# 2  
Old 02-09-2009
That command would restore everything on the tape.

You can gain more control by first doing a listing using:

restore -t

then explicity naming the files you want to recover with

restore -x
# 3  
Old 02-12-2009
Quote:
Originally Posted by quirkasaurus
That command would restore everything on the tape.

You can gain more control by first doing a listing using:

restore -t

then explicity naming the files you want to recover with

restore -x

Well I need to recover everything from the first archive which has the followingl label: /
This is the archive that the tape is currently positioned at. How can I do this task?
I am looking up restore -x as I type but have not figured out a way to do what I want.
# 4  
Old 02-12-2009
well, if you have the right tape, here's what you do...

step 1. create new directory for where the tape stuff will go.

step 2. move the current directory out of the way. ( whatever works. )

step 3. restore everything.
step 4. nuke what you don't want.

step 5. copy back files you need from step 2.

shouldn't be too hard that way.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Help:"Bad checksum in disk label" and "Can't open disk label package"?

Hello, I'm brand new to Sun/Solaris. I have a Sun Blade 150, with SunOS 5.8. I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk... (6 Replies)
Discussion started by: Resadija
6 Replies

2. Red Hat

reading an AIX cpio tape on RH8

Thanks for any insights you might have... I have a RH8 system setup with a DAT drive. I have a AIX tape that was made using cpio. Bottom line is I need to read the AIX tape into the RH box. I was able to do cpio -itv --no-absolute-filenames < /dev/st0 and read the table of contents. ... (0 Replies)
Discussion started by: mike114327
0 Replies

3. AIX

Script: how to find out the label of a tape and if its an mksysb one ?

Hi, how can I find out though kron shell (aix 4.2) what the label of a tape is ? Also, how can I find out if that tape has been used for an mksysb and when ? (1 Reply)
Discussion started by: Browser_ice
1 Replies

4. UNIX for Dummies Questions & Answers

Reading a tape from a StorEdge Autoloader L8.

Does anyone know how to read an LTO tape from this jukebox? (3 Replies)
Discussion started by: dr. phreeze
3 Replies

5. SCO

Tape Status shows 2 Hard errors and 5 Underruns on new tape

when I do a tape status /dev/rStp0 I get the following on a new tape and I have tried several: Status : ready beginning-of-tape soft errors : 0 hard errors: 2 underruns: 5 My BackupEdge has stopped backing up my system because it asks for a new volume yet my total system data is under 20... (5 Replies)
Discussion started by: psytropic
5 Replies

6. UNIX for Advanced & Expert Users

Reading from a corrupted tape

I've got a backuptape in cpio format that was accidentally overwritten with a very small batch file. As I assume that the cpio header has been overwritten, I cannot extract files from the backup in the conventional manner: ( cpio -itv </dev/rct0 cpio: this is not a cpio file, bad header) ... (0 Replies)
Discussion started by: mart4179
0 Replies

7. AIX

Problem reading a 4mm tape drive

I'm attempting to read a tape in a 4mm drive (AIX 4.3) using the following command... tar tvf /dev/rmt0 ...and I keep getting the following error message: tar: 0511-193 An error occurred while reading from the media. There is not enough memory available now. I've googled this error... (2 Replies)
Discussion started by: tdpearson
2 Replies

8. AIX

reading contents on a 4mm tape

I am experimenting with one of my TSM processes, and I am trying to write something to a 4mm tape. I tried to use the tctl command, but, I was unsuccessful. what AiX command can I run in order to see if my output is on the tape ? Thank You ! (0 Replies)
Discussion started by: DATDANGGADUDE
0 Replies

9. UNIX for Dummies Questions & Answers

reading from tape error

I have been attempting to read a DLT tape, but encountered problems. I have applied patches from SUN that 'resolve' known problems with tape reading etc...but still the error! Techsupport reckon that the data/tape is corrupt. I would like to think they aren't. Are there any issues with... (10 Replies)
Discussion started by: colesy
10 Replies

10. UNIX for Dummies Questions & Answers

error reading from tape

Hi all, I am attempting to read tar images from a DLT tape, and have recieved an error, which i don't know: tar: blocksize = 8 tar: directory checksum error I have been able to read from other tapes, using the same command (tar -tvf /devicename) but this time i have an... (3 Replies)
Discussion started by: colesy
3 Replies
Login or Register to Ask a Question