- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extract files with TAR
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
04-05-2005 03:04 AM
04-05-2005 03:04 AM
I have a tape and I need to extract everything on it. However it was created with the absolute path...so tar tvf gives:
/dir/file
/dir/file2 etc
I don't want the files to be restored to /dir which a tar xvf will do. I want to redirect the extract to /dir2. Is this possible, and if so, how?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2005 03:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2005 03:11 AM
04-05-2005 03:11 AM
Re: Extract files with TAR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2005 03:13 AM
04-05-2005 03:13 AM
Re: Extract files with TAR
pax or gnu tar should do the trick.
Avoid absolute path tar if possible.
Sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2005 03:18 AM
04-05-2005 03:18 AM
Re: Extract files with TAR
harry also found another way (may be worth trying)
/usr/bin/cp /usr/sbin/static/tar /tmp
/usr/bin/dd if=file.tar | /usr/bin/chroot /tmp ./tar xf -
in
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x38d6cf38d6bdd5118ff10090279cd0f9,00.html
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2005 03:26 AM
04-05-2005 03:26 AM
Re: Extract files with TAR
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=192383
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2005 09:16 AM
04-05-2005 09:16 AM
Re: Extract files with TAR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 10:42 PM
04-07-2005 10:42 PM
Re: Extract files with TAR
did you succeed in getting the data off the tape?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2005 05:04 AM
04-08-2005 05:04 AM
Re: Extract files with TAR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2005 12:52 PM
04-09-2005 12:52 PM
Re: Extract files with TAR
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2005 09:47 PM
04-09-2005 09:47 PM
Re: Extract files with TAR
A long time ago I had problems with restoring data. We had similar errors (though I'm not 100% sure it was error 5). Anyway after trying it LOTS of times it did eventually extract. Whilst perseverance is not garenteed it can sometimes pay off!
If the data is really important there are companies that will (for a fee) extract data off tapes etc.
here is a company that might help
http://www.vogon-international.com/data%20recovery/tape_recovery-00.htm
Regards
Tim