- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to figure out what's on a tape
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 03:11 PM
02-07-2001 03:11 PM
How to figure out what's on a tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 03:45 PM
02-07-2001 03:45 PM
Re: How to figure out what's on a tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 09:47 PM
02-07-2001 09:47 PM
Re: How to figure out what's on a tape
/usr/sbin/vxdump -0 -f /dev/rmt/0mn -u /var
use vxrestore if /dev/rmt/0mn
to see if it puts you in interactive mode.
vxrestore >
Check it out. I feel it's one of the most overlooked backups that come free with HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 10:06 PM
02-07-2001 10:06 PM
Re: How to figure out what's on a tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 10:38 PM
02-07-2001 10:38 PM
Re: How to figure out what's on a tape
If you are running an Omniback Cell Server, Omniback allows you to scan the tape. Scanning media checks the format of media insert. Omniback recognises quite a considerable number of formats including cpio, dump, tar and gzip formats.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 12:14 AM
02-08-2001 12:14 AM
Re: How to figure out what's on a tape
In that case you can check the contents with:
cpio -it[v] < /dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 12:45 AM
02-08-2001 12:45 AM
Re: How to figure out what's on a tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 02:45 AM
02-08-2001 02:45 AM
Re: How to figure out what's on a tape
ANY site-documentation you can find which gives any clues as to any fancy options should help...
If the backups were controlled by cron, then maybe there is a script which gives a clue...
Meanwhile, use "dd" to pull off a few blocks from the tape and then use "file" command to try to deduce the format of the data:
dd if=/dev/rmt/0m of=/tmp/foo count=10
file /tmp/foo
The "file" output should be able to tell if it was a tar, cpio etc format. If not you should be able to peek into the file and deduce what format the data is.
You may have to spend some time playing with blocksizes. Many backup utilities put more than one "fileset" onto the tape - so you would probably have to repeat the dd exercise using the no-rewind device:
(repeat this loop for as many iterations as there is data coming off the tape...)
dd if=/dev/rmt/0mn of=/tmp/foo1 count=10
file /tmp/foo1
then:
dd if=/dev/rmt/0mn of=/tmp/foo2 count=10
file /tmp/foo2
and so on...
Happy sleuthing.
( I hope that you don't have to do any restores in the next few weeks whilst you build up a new stock of well-documented procedures and well-labelled media, containing useful data like date/type of backup and command used etc)
:-)
Regards,
Nick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 02:56 AM
02-08-2001 02:56 AM
Re: How to figure out what's on a tape
do man pax
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 09:39 AM
02-08-2001 09:39 AM
Re: How to figure out what's on a tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 06:20 PM
02-08-2001 06:20 PM
Re: How to figure out what's on a tape
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2001 07:20 AM
02-09-2001 07:20 AM
Re: How to figure out what's on a tape
Everyone else, thanks for your help. I will try the file command on the results on the "dd" command result files and see if this'll tell me.
Basically of the 4 or 5 tapes I have I'm guessly a couple in there at least may not even have been a backup from the machine. I say this because when a backup of a file was tryed on one of the tapes (with help from HP on-phone assistance) a message about not recognizing the header was returned. The support person asked if the tape was used by another program or something so I'm guessing it/they have been. My best hope is to try and write to them all and any that fail I'll try a mediaint on them. The data on the tapes isn't needed anyway. Thanks for everyones help.