The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SCO UNIX tape restore canbe842 SCO 4 06-25-2008 01:50 PM
Backup to SCSI Tape Backup aborts zionpc SCO 4 12-07-2007 03:47 PM
Check backup file size on backup tape ayhanne UNIX for Dummies Questions & Answers 0 10-25-2007 08:41 AM
Mounting DLT tape and to backup file to tape ayzeayem UNIX for Dummies Questions & Answers 0 08-13-2007 11:09 PM
Restore a tape lo-lp-kl AIX 1 06-07-2007 06:22 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-29-2005
Registered User
 

Join Date: Dec 2005
Posts: 2
Backup Tape Restore?

I am trying to do a restore on a backup tape (DDS2) and am having a little trouble. For one, I dont know how the tape was made, whether is was tar, cpio, dump..etc. Anyone know how to restore a tape without knowing the format of the backup?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-29-2005
Registered User
 

Join Date: Dec 2005
Posts: 2
also, im running on hp-ux B.11.00
Reply With Quote
  #3 (permalink)  
Old 12-31-2005
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,323
You cannot extract/restore data from a file/tape unless you know the format in which the backup was taken. Try using various utilities one by one to restore the tape.
Reply With Quote
  #4 (permalink)  
Old 01-05-2006
Registered User
 

Join Date: Jan 2006
Posts: 8
not sure if this will work but...
-------------------------------------
IDEA:

You can use the fstyp command to find out what filesystem a device is.
Example:
# fstyp /dev/rdsk/<tape device>
ufs

You could also use a shell script like so to determine all devices in the /dev/rdsk directory:
for i in /dev/rdsk/*; do echo “$i = $(fstyp $i 2>/dev/null)”; done
-------------------------------------
Hope this helps!
Reply With Quote
  #5 (permalink)  
Old 01-06-2006
Registered User
 

Join Date: Aug 2001
Location: netherlands
Posts: 2
why don't you try find out with the command file what type of file ( tar cpio gzipped ) this is ??
Reply With Quote
  #6 (permalink)  
Old 08-16-2006
Registered User
 

Join Date: Aug 2006
Posts: 2
any further

did the OP get anywhere with this info? i am having similar problems :-(
Reply With Quote
Google UNIX.COM
Reply

Tags
cpio

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:50 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0