- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Interactive/partial ignite restore ?
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-22-2003 02:00 AM
04-22-2003 02:00 AM
We have done a backup using :
make_tape_recovery -v -A -a /dev/rmt/0mn
Now we want to restore only a couple of files from /dev/vg00 and not the whole vg00. Any ideas how to do this ? Your help will be much apreciated.
Best regs,
David
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 02:12 AM
04-22-2003 02:12 AM
Solution# mt -t /dev/rmt/0mn fsf 1
# tar -xvf /dev/rmt/0m Filenames.
Hope this will work for you
Regards
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 03:18 AM
04-22-2003 03:18 AM
Re: Interactive/partial ignite restore ?
Thanks for your quick reply.
So, let me understand it well.
mt -t
- does the one(1) mention an FS or just vg00 ??
Never knew tar would work this way as well. You are very sure it just restores the specified files right ? We are talking about an operational production server. Sorry I have to be carefull.
If this will work out well, both your answers will be a 10-pointer of course !!
P.S. always issue an mt rewind first ?
Best Regs David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 03:26 AM
04-22-2003 03:26 AM
Re: Interactive/partial ignite restore ?
Yes, the proper command sequence to extract a file from an Ignite recovery tape is:
# mt -t /dev/rmt/0mn fsf 1
# tar -xvf /dev/rmt/0m filename
The 'mt' 'fsf' fowards the tape beyond the LIF area written by Ignite and positions the tape at the tar archive.
It doesn't hurt to rewind the tape before issuing these commands if it is already in the tape drive.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 03:28 AM
04-22-2003 03:28 AM
Re: Interactive/partial ignite restore ?
What I understood is that you want to restore some files from the recovery tape (eg: /etc/password, /tcb etc). You can use the command I mentioned eralier for this.
mt -f
I am sure that all the files are been backed up using tar command only.
before doing tar -xvf do a tar -tvf and confirm the files are there in the tape.
Regards
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 03:41 AM
04-22-2003 03:41 AM
Re: Interactive/partial ignite restore ?
# mt -f /dev/rmt/0mn rew (rewinds)
# mt -f /dev/rmt/0mn fsf 1 (fast forward)
# cd / (change to root)
# tar xvf /dev/rmt/0m etc (restore directory)
Notice no slash is before etc.
OR
# tar xvf /dev/rmt/0m etc/copyright (restore single file)
Again, no slash is before etc.
Cheryl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 04:54 AM
04-23-2003 04:54 AM
Re: Interactive/partial ignite restore ?
manpage of make_tape_recovery(1M):
Section "Extracting files from tape"
After the system recovery
tape has been created, a
single file or files can be
extracted from tape by
seeking to the tape position
where the archive is
located. The mt command can
be used to seek to the
appropriate location, and pax
or tar can be used to extract
files from the archive.
To extract a single file from
the recovery archive:
mt -t /dev/rmt/0mn fsf 1
tar -xvf /dev/rmt/0m filename
Extracting files from tape
can take a long time,
especially when archives are
large.
Regards,
Andreas