Pulling a file off a backup tape


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Pulling a file off a backup tape
# 8  
Old 05-28-2004
script

Hi Perderabo

Sorry if you read this before the edit .
This is what I need know I think.
cat /rd/tmp/backuplist.full | cpio -ocvBdum > $TAPEDEV

Would this tell me what I need know?
Thanks
dave

Last edited by rocker40; 05-28-2004 at 12:53 PM..
# 9  
Old 05-28-2004
No.

You're building a list of filenames and putting it in the file /rd/tmp/backuplist.data. At some point, some other program must read that file.
# 10  
Old 05-28-2004
cat /rd/tmp/backuplist.full | cpio -ocvBdum > $TAPEDEV

This I believe is what we were looking for ??
Thanks
Dave
# 11  
Old 05-28-2004
Yeah, that's it.

So try to print a table of contents...

cpio -itvB < /dev/tapedrive

of course you will use the device file for the tape drive you're using. If that works, look for the file you want to see exactly which path was used to save it.


cpio -itvB < /dev/tapedrive | grep filename
# 12  
Old 05-28-2004
cpio

Perderabo..
I tried the
cpio -itvB < /dev/rmt1
When I did I recieved this message.
cpio: 0511-903 out of phase!
cpio: 0511-904 skipping 2677530 bytes to get back in phase!
one or more files lost and the previous file is possibly corrupt!
cpio: 0511-027 The file name length does not match the expected value.

DId I not have the arguments right ?
Thanks
Dave

Last edited by rocker40; 05-28-2004 at 01:36 PM..
# 13  
Old 05-28-2004
Well beats me then. I woulda expected that to work. I guess you'll need an AIX expert.
# 14  
Old 06-02-2004
The answer

Perderabo..
I think I found the problem and I thought I should let you know since you put time into this one.
I was not familiar with the backup procedure prior to a software upgrade that we had for our business application.
During the upgrade they changed our backup scripts to start backing up using cpio.
Before the upgrade we were using [Restore]
I have been using the same tapes I was before which means according to the software support that even though the tape swere copying they are not readable since they formatted for {restore] and not [cpio]
So I am change the script tonite to format the tape for [cpio] as it copies.
Thank you for your time.
Dave
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to backup when there is no tape available?

Hi All! Letīs say there are a few solaris servers connected to a NetApp storage device, but with no tape library or tape device attached to none of them. Assuming the O.S. is installed on the root disks, how to recover if the O.S. failed in one of the systems? Please share your ideas. (13 Replies)
Discussion started by: fretagi
13 Replies

2. Solaris

How to take backup of ZFS file system on a tape drive?

Hi Guys, I want to take backup of a ZFS file system on tape drive. Can anybody help me with this? Thanks, Pras (0 Replies)
Discussion started by: prashant2507198
0 Replies

3. UNIX for Dummies Questions & Answers

Copy file from a backup tape

I have several files that I need to get off of a backup tape. I'm using AIX 4.3 (I know this is old) and our backups are done using the bru command. I need to copy these files to a specific location, and not restore them to the original location. Can anyone tell me what command I should use to do... (4 Replies)
Discussion started by: troy
4 Replies

4. Solaris

define .rhost file for tape backup to remote host

howdy experts, i am using 2 server- Solaris 5.9 i have tape device attached with 1 of my solaris server. But others not. # modinfo|grep tape 152 13d43e4 1333c 33 1 st (SCSI tape Driver 1.231) now i want to Backup DATA file and System File in Tape Drive. How do I take data and... (3 Replies)
Discussion started by: thepurple
3 Replies

5. AIX

Backup on Tape

Hi, I am very new to AIX, i have a development and a production server with AIX 6.1. I am using following command to backup my system /usr/bin/mksysb '-m' '-V' '-i' /dev/rmt0 You can what i have in my root volume group in the atached file and and you can also see the backup information of... (14 Replies)
Discussion started by: salmanucit
14 Replies

6. SCO

Backup to SCSI Tape Backup aborts

I am trying to make a full backup of my system using the cpio command. The Tape Unit is a SCSI DDS. The process started fine but after about 30 minutes, it just stopped and showed the following message: 1755 Signal 31 - Core dumped Any idea of what is causing this and how to fix it? ... (4 Replies)
Discussion started by: zionpc
4 Replies

7. UNIX for Dummies Questions & Answers

Check backup file size on backup tape

Hi, I performed backup on tape and I want to append more files to my previous backup on the same backup tape. But before I do that I need to know the backup file size of the first backup I performed so that I know the available size on the backup tape. Can someone help me what command I will use... (0 Replies)
Discussion started by: ayhanne
0 Replies

8. UNIX for Dummies Questions & Answers

Mounting DLT tape and to backup file to tape

Hi there: I'm new here Can anyone help me: I have DS15 Alpha server : Unix 5.1B Now i need to connect a DLVT VS80 1U Rackmount Tape Drive unit. What is the exact comman to mount the DLTape IV?? How do i make backuo @ copy file to the tape? Thanx to all (0 Replies)
Discussion started by: ayzeayem
0 Replies

9. Solaris

backup using tape

hello everybody... i need some help ... so... i need to do some backups from one solaris system and i dont know whitch is the best solution....to use tar or ufsdump...? ...and .... how can i restore files from tape if on the tape i have 2 sessions....how can i access second session....? enough... (4 Replies)
Discussion started by: nich007
4 Replies

10. UNIX for Dummies Questions & Answers

Tape Backup

Can someone please.... help me how to install tape backup I am using FreeBSD Unix version running on I386 PC box. My IDE tape device is made by HP (Colorado 5GB). Thank you in advance! (15 Replies)
Discussion started by: jackpotp
15 Replies
Login or Register to Ask a Question