- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Recover selected files from ignite archive 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
09-21-2009 07:54 AM
09-21-2009 07:54 AM
Hi all. I would like to recover all the files from a single directory from an ignite archive tape. Here is my ignite command:
/opt/ignite/binpa/make_tape_recovery -A -a /dev/rmt/0mn -x inc_entire=vg00 > ${FILE}
Here is how I am trying to recover the files:
cd /recover
mt -f /dev/rmt/0mn rew
mt -f /dev/rmt/0mn fsf 1
tar xvf /dev/rmt/0mn opt/imports/testing/*
I believe that should bring the files to /recover, however, I get nothing. I have also tried
tar xvf /dev/rmt/0mn /opt/imports/testing/*
I'm pretty certain that the files are on the tape...any ideas?
TIA!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2009 08:08 AM
09-21-2009 08:08 AM
Re: Recover selected files from ignite archive tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2009 08:12 AM
09-21-2009 08:12 AM
Re: Recover selected files from ignite archive tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2009 08:17 AM
09-21-2009 08:17 AM
Re: Recover selected files from ignite archive tape
tar xvf /dev/rmt/0mn /opt/imports/testing/*
TIA!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2009 08:25 AM
09-21-2009 08:25 AM
Re: Recover selected files from ignite archive tape
gunzip /dev/rmt/0mn | tar -xvf - /opt/imports/testing/*
Anyway, this is not proven yet and you need to check it yourself as I usually restore ignite file from remover server only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2009 08:44 AM
09-21-2009 08:44 AM
SolutionAlso, with the syntax that Ignite uses, your files WILL be restored to the directory you are in. Ignite uses the relative path, as seen by the lack of a leading '/' in the path, so you are good there.
Try running your command without the '/*' at the end. I have a feeling that is what is confusing tar.
Try doing:
cd /recover
mt -f /dev/rmt/0mn rew
mt -f /dev/rmt/0mn fsf 1
tar xvf /dev/rmt/0mn opt/imports/testing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2009 12:40 AM
09-22-2009 12:40 AM
Re: Recover selected files from ignite archive tape
The -C option in tar only works when creating the tarfile.
Otherwise you need to use pax(1) -s option. (Or possibly gnu tar.)
But as Patrick said, the files are already relative.