- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Recovering individual files from Ignite backup
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
тАО02-08-2002 04:10 AM
тАО02-08-2002 04:10 AM
Recovering individual files from Ignite backup
if I create an Ignite backup using make_tape_recovery or make_net_recovery, is there anyway to recover a particular, individual file from the archive?
I'm backing up servers which we're returning to the supplier and we want to be able to 'recreate' the server on another machine quickly and easily. I could make an Ignite backup to achieve this but then wouldn't be able to recover individual files if needed, is this right?
thanks in advance, Kevin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2002 04:17 AM
тАО02-08-2002 04:17 AM
Re: Recovering individual files from Ignite backup
mt -f /dev/rmt/0mn fsf 1
tar -tvf /dev/rmt/0mn
Remember to use the norewind device. On the tar I used the "t" option to display the archive, you can replace the tar options with whatever you need.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2002 04:43 AM
тАО02-08-2002 04:43 AM
Re: Recovering individual files from Ignite backup
If you get a like machine, then you can use the make_recovery to build your new system.
Make sure you use the -A and -i options so that you get the entire vg00 onto the tape. The -i option will force an interactive session when/if you boot from the tape. For stuff outside of vg00, use another backup method, like tar or cpio only, for portability reasons!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2002 07:03 AM
тАО02-08-2002 07:03 AM
Re: Recovering individual files from Ignite backup
So if you want restore /etc/passwd then:
# mt -f /dev/rmt/?mn rew
(I always rewind the tape first just be safe)
# mt -f /dev/rmt/?mn fsf 1
# tar -xvf /dev/rmt/?mn etc/passwd
This way if you want to restore /etc/passwd somewhere else then you just make sure you in that directory before you start the tar.
# cd /tmp
# tar -xvf /dev/rmt/?mn etc/passwd
Will restore /etc/passwd from the ignite tape to /tmp/etc/passwd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2002 08:03 AM
тАО02-08-2002 08:03 AM
Re: Recovering individual files from Ignite backup
twice. Once as absolute path and once as relative path. This is done so that pax can apply the correct gid and uid to files.
Also it is possible to rename files that you extract from the archive by using pax's interactive option:
pax -rif /dev/rmt/0mn somefile
Will prompt you for what you want to rename 'somefile' when it encounters it in the archive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2002 10:21 AM
тАО02-08-2002 10:21 AM
Re: Recovering individual files from Ignite backup
you can try this,
cd /
mt -f /dev/rmt/0mn fsf 1
tar xvf /dev/rmt/0m /file_name
If you use the rewind device /dev/rmt/0m in tar command, it will rewind the tape in the drive after finishing the extraction.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2002 10:30 AM
тАО02-08-2002 10:30 AM
Re: Recovering individual files from Ignite backup
The leading ./ are not present.