Blocksize problem restoring file from tape


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Blocksize problem restoring file from tape
# 8  
Old 10-17-2005
What os are you using? It looks like Solaris, but what version? Also post the script that writes the tape. And try to just read a table of contents for each section, note that the no-rewind tape name is needed.

mt -f /dev/rmt/0 rewind
tar tvf /dev/rmt/0n
tar tvf /dev/rmt/0n

The first tar should list your first short backup and the second tar should list your longer full backup.
# 9  
Old 10-17-2005
I see you posted your Solaris version. If this:
mt -f /dev/rmt/0 rewind
tar tvf /dev/rmt/0n
tar tvf /dev/rmt/0n

lists the first archive but give "blocksize = 0" on the second, try one more
tar tvf /dev/rmt/0n
# 10  
Old 10-17-2005
I think I understand what you are looking for.
The way I read the script and from what the previous unix guy told me, there should be 3 sections on the tape:
1) The password file, and the oracle user profile
2) The full backup of the entire unix system file structure
3) A full backup of the entire unix test box (done via remote shell in the backup script)
Knowing that, it seems like according to what you told me to do (List the contents on each), that it doesn't appear to be working right.
Here is a screenshot of the results. A picture is worth a thousand words here.
Image
# 11  
Old 10-17-2005
Yep...not working right. Either the first two sections never happened, or, more, likely, section 3 overwrote them. And section 3 did not complete. You can't get blood from a stone. Your backup is worthless. Sorry for the bad news.
# 12  
Old 10-17-2005
Thanks

I really appreciate your assistance. Although some people will be upset that I can't restore their table, I'm just glad to find out now, instead of weeks down the road. For the time being, I'm going to comment out the remote shell script of the unix test box, and then see how that works. Hopefully that will work until I can get a more seasoned professional in to re-evaluate the company backup procedures.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Restoring problem on tape!

hi all , a messages appeared to me when i was checking my /var/adm/messages and the below code was in it Oct 6 13:15:21 medprod scsi: /pci@3,700000/SUNW,emlxs@0/fp@0,0/st@w21000024ff305234,7 (st1): Oct 6 13:15:21 medprod Restoring tape position at fileno=320,... (5 Replies)
Discussion started by: semaan
5 Replies

2. Solaris

Information about taking dump of a unix server on a tape and then restoring

Hi all, Can anyone provide me with a site or book that gives detailed information about taking dump of a unix server on a tape and then restoring the server from the dump Also i want information about migration from old server to new server (solaris 5.6 to solaris 8) (3 Replies)
Discussion started by: asalman.qazi
3 Replies

3. Solaris

Restoring dump from tape to SCSI disk

Hi Gurus, I need help. Mine is an Ultra 10 machine running on solaris 7. Problem with solaris 7 is, it can no longer recognize IDE disks greater that 10GB. My workaround is ro use an external SCSI disk since it is recognizable with solaris 7. I backup my filesystems (residing on the IDE... (2 Replies)
Discussion started by: domesat
2 Replies

4. Solaris

Tar blockSize problem

Hi, i have got a tar file some 200MB big and i have ftp'ed the tar file over from one server to another but it does not seem to extract. its giving the following message: tar xvf saptar tar: blocksize = 2 Its the first time i used tar so I not got any ideas why its giving this message?... (2 Replies)
Discussion started by: scriptingmani
2 Replies

5. Solaris

Problem restoring files from remote tape drive

Server 1 - Sun Solaris 5.8 sparc SUNW,Sun-Fire-480R with attached DLT tape drive /dev/rmt/0n Server 2 - Old DG-UX box which has restore command on it compatible with the files on the backyup tape - backed up with dump2 Server 3 - Sun solaris 5.9 sparc SUNW,Sun-Fire-V490 with lots of free space... (4 Replies)
Discussion started by: lindab
4 Replies

6. UNIX for Advanced & Expert Users

tar: tape blocksize error

Hi, I have tar: tape blocksize error when launching # gunzip < TierDB.tar.gz |tar -xvf /data/ora/DREC tar: tape blocksize error Can you please help me ? It is urgent. Many thanks. (1 Reply)
Discussion started by: big123456
1 Replies

7. UNIX for Dummies Questions & Answers

Restoring tape files...

Hi all, I have kinda inherited this problem, but was wondering if anyone else had any ideas. Currently all our backup rentention periods are set to 2 weeks, so that we can cycle through tapes (save money etc...). Anyhow the guys next door in IT, decided one day long long ago, that it would... (0 Replies)
Discussion started by: B14speedfreak
0 Replies

8. UNIX for Advanced & Expert Users

Tar: tape blocksize error

When trying to extract a tar file in HP-UX using tar -xvf command it exits with the following error :"Tar: tape blocksize error". Tar file is created using the following command with MKS toolkit(Unix Simulation Kit for Windows env) under Windows 2000 Professional: "$tar -cvf test.tar test.txt... (1 Reply)
Discussion started by: ramkumar
1 Replies

9. AIX

Problems restoring from tape in AIX

I am trying to restore some files from a DLT drive in AIX 4.3 but I am having a few problems. Basically when I try to run the restore command I get the following error: Cannot read from the specified input. Please enter the device name when ready I am the following command for the restore ... (0 Replies)
Discussion started by: The Hunter
0 Replies

10. UNIX for Dummies Questions & Answers

Restoring a file from Tape

help please i have "inherited" a Sco Server (the administrator departed in a hurry...yes we are chasing him..) and haven't used Unix for 8 years. i have a file that i need to retrieve from a tape. i have been able to find the file on tape using the cpio -ivt command. however... the problem I... (3 Replies)
Discussion started by: mfischer
3 Replies
Login or Register to Ask a Question