HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Recovery of a single file from tape
Operating System - HP-UX
1835413
Members
2768
Online
110078
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-26-2001 01:56 PM
03-26-2001 01:56 PM
Recovery of a single file from tape
Hello...
Does anybody know if it's possible to restore a single or just a group of files from a tape created with "make _recovery" command?
Any feedback is appreciated.
Sergey.
Does anybody know if it's possible to restore a single or just a group of files from a tape created with "make _recovery" command?
Any feedback is appreciated.
Sergey.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 02:13 PM
03-26-2001 02:13 PM
Re: Recovery of a single file from tape
Yes you can.
You first have to bypass the boot header on the tape. To do this you do a:
mt -f /dev/rmt/?mn fsf 1 --> for 11.0
mt -t /dev/rmt/?mn fsf 1 --> for 10.20
From there you can use tar to look at what's on the tape.
tar -tvf /dev/rmt/?mn --> to see a listing.
Once you know what you want you can do a tar -xvf /dev/rmt/?mn.
If you do a 'tar -tvf' and break out of it, be sure to rewind the tape (mt -t/f /dev/rmt/?mn rew) and then skip over the boot file (see above syntax) before you start a 'tar -xvf ...'
You first have to bypass the boot header on the tape. To do this you do a:
mt -f /dev/rmt/?mn fsf 1 --> for 11.0
mt -t /dev/rmt/?mn fsf 1 --> for 10.20
From there you can use tar to look at what's on the tape.
tar -tvf /dev/rmt/?mn --> to see a listing.
Once you know what you want you can do a tar -xvf /dev/rmt/?mn.
If you do a 'tar -tvf' and break out of it, be sure to rewind the tape (mt -t/f /dev/rmt/?mn rew) and then skip over the boot file (see above syntax) before you start a 'tar -xvf ...'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 02:14 PM
03-26-2001 02:14 PM
Re: Recovery of a single file from tape
Hi:
Try this:
# mt -t /dev/rmt/0mn fsf 1
# tar -xvf /dev/rmt/0m
Note the no-rewind option with the first command.
...JRF...
Try this:
# mt -t /dev/rmt/0mn fsf 1
# tar -xvf /dev/rmt/0m
Note the no-rewind option with the first command.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 02:15 PM
03-26-2001 02:15 PM
Re: Recovery of a single file from tape
Hi,
Unfortunately, no. There is no make_recovery command or option that supports restoring anything less than the whole archive.
But... the make_recovery tape is composed of two files. The first is a 2KB block size file that stores the LVM structures and the second is a 10KB block size file that is a tar (pax?) archive of some or all of VG00. It *may* be possible to recover files from the second file but it will take some investigative work on your part (unless someone else can help). I would start with the man pages for make_recovery, mt, and either tar or pax.
--Bruce
Unfortunately, no. There is no make_recovery command or option that supports restoring anything less than the whole archive.
But... the make_recovery tape is composed of two files. The first is a 2KB block size file that stores the LVM structures and the second is a 10KB block size file that is a tar (pax?) archive of some or all of VG00. It *may* be possible to recover files from the second file but it will take some investigative work on your part (unless someone else can help). I would start with the man pages for make_recovery, mt, and either tar or pax.
--Bruce
www.stratech.com/training
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP