- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem in extracting tape contents on HP-UX serve...
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
03-01-2006 12:47 PM
03-01-2006 12:47 PM
Problem in extracting tape contents on HP-UX server
I would like to know if there's anyway I can retrieve the contents of 2nd and 3rd tape without putting in the first tape?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2006 10:57 PM
03-01-2006 10:57 PM
Re: Problem in extracting tape contents on HP-UX server
1. are you sure the backup worked over multiple tapes
2. What software did you use to create archive (tar,fbackup,pax)
3. What happens if you insert the second/third tape and do a tar -tvf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2006 01:21 AM
03-02-2006 01:21 AM
Re: Problem in extracting tape contents on HP-UX server
I think the backup's might not be from tar , maybe it is cpio. Maybe it is cpio or some other software.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2006 01:52 AM
03-02-2006 01:52 AM
Re: Problem in extracting tape contents on HP-UX server
The only multi-tape backup tool that allows you to randomly access any tape in the set is fbackup. It records a progressive index at the front of each tape, thus allowing you to put in the last tape, run frecover and if the file is not on the last tape, it will prompt you for the correct tape automatically (within seconds).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2006 05:49 PM
03-08-2006 05:49 PM
Re: Problem in extracting tape contents on HP-UX server
Hi,
first of all thanks for replying to my question:
1)Peter Gordon
- not too sure as it was not caried out by me
- tar
- I've not tried the 'tar -tvf' on 2nd or 3rd tape. When I tried the same command on 1st tape, it did not return all the file names that my customer claimed they have backup; jsut partial of it. When they tried the 'tar -cvf' command on 2nd or 3rd tape, it returned a checksum error!
2) HGN
- As I can verify from the 1st tape, the backup was carried out using 'tar'
3) Bill Hassell
the server is running on version 11.11. Do you mean in my situation, I can try using 'pax' command to retrieve the contents in 2nd and 3rd tape?
Thanks for the great info you are sharing with me. I'll sure use fbackup to carry backup in future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2006 12:00 AM
03-09-2006 12:00 AM
Re: Problem in extracting tape contents on HP-UX server
Uhhhhh, if they used this command (tar -cvf ...) on the 2nd and 3rd tapes (and the tapes were NOT write-protected), they just destroyed the tape contents. If the command was actually tar -tvf as you tried for the first tape, then possibly pax will sync up -- assuming the tapes actually are the 2nd and 3rd tapes of a multi-tape backup *and* were not accidently overwritten before they were removed from the tape drive. You can try pax to get a table of contents from tapes 2 and 3:
pax -v -f /dev/rmt/whatever
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2006 12:11 AM
03-09-2006 12:11 AM
Re: Problem in extracting tape contents on HP-UX server
Oops...typo mistake..it should be 'tar -xvf'
If the pax -v command does return the table of contents, which option I can use to retrieve the data from 2nd and 3rd tape?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2006 01:08 AM
03-09-2006 01:08 AM
Re: Problem in extracting tape contents on HP-UX server
http://docs.hp.com/en/B2355-60127/pax.1.html
Try something like:
pax -r -f /dev/rmt/whatever -v -k
and specify the directory or filenames desired. Just like tar and cpio, you'll need to handle alternative directory locations. Otherwise, the files go back to the directory as saved on the tape.
Bill Hassell, sysadmin