- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: extract single file (or directory) from make_t...
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
Discussions
Discussions
Forums
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
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
тАО01-20-2004 05:11 AM
тАО01-20-2004 05:11 AM
Can I extract the files from the tape, without having to boot to tape? I can not bring the system down...
I thought it was
mt fsf 1
tar -xvf /dev/rmt/0mn filename
It looks like it runs, and finishes but it does not replace the file!
HP 11.00
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2004 05:20 AM
тАО01-20-2004 05:20 AM
SolutionYou need to give the full path exactly as stored on the tape so after the mt fsf 1 do a tar tv and note the path.
Then the command would be like
tar xv /path/to/filename
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2004 05:29 AM
тАО01-20-2004 05:29 AM
Re: extract single file (or directory) from make_tape_recovery
For instance:
# tar xvf /dev/rmt/0mn etc/copyright
The exact steps are on the make_tape_rwecovery (make_recovery) man page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2004 05:33 AM
тАО01-20-2004 05:33 AM
Re: extract single file (or directory) from make_tape_recovery
I *thought* there was no leading slash but have been unable to find a server that had a tape loaded.
So to restore a user's home would be like:
mt rew
mt fsf 1
tar xv home/user_name
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2004 05:36 AM
тАО01-20-2004 05:36 AM
Re: extract single file (or directory) from make_tape_recovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2004 04:37 PM
тАО01-20-2004 04:37 PM
Re: extract single file (or directory) from make_tape_recovery
Since these types of restores (from filesystem backups) get done on a regular basis, there's no angst. I even keep a spare tape with some of this important stuff so I don't have to wait for an offsite tape to come back. But I know that sometimes you just work with what you have! :)
Mic