Operating System - HP-UX
1831496 Members
3515 Online
110025 Solutions
New Discussion

extract 1 file form make_net_recovery image

 
SOLVED
Go to solution

extract 1 file form make_net_recovery image

Hello,
I like to extract 1 file from a recovery file which is made with make_net_recovery (ignite). I can do this on de ignite server. The problem is that I don't know which format the recovery file is, I think it's not a tar or a cpio?
Thanks,
Robert Verhagen.
7 REPLIES 7
Robert Gamble
Respected Contributor

Re: extract 1 file form make_net_recovery image

I pretty sure ignite uses a combination of dd (for the boot image) and pax (for the files).

You would have to fast forward past the boot image to the beginning of the pax archive.

Try searching the forums for related posts, I belive this has been answered before.

Good Luck!
Domenico_5
Respected Contributor

Re: extract 1 file form make_net_recovery image

hi

follow this link for the solution

good luck

Robert Gamble
Respected Contributor

Re: extract 1 file form make_net_recovery image

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xed93e7613948d5118fef0090279cd0f9,00.html

From JRF's answer in the preceding post:

To extract files from a make_recovery or make_tape_recovery tape, do this:

# mt -t /dev/rmt/0mn fsf 1
# tar -xvf /dev/rmt/0m filename

Note the norewind option in the 'mt' command! This example assumes tape device 0m, change it according to your taste.

Uday_S_Ankolekar
Honored Contributor

Re: extract 1 file form make_net_recovery image

Hi

Try these steps

# mt -t /dev/rmt/0mn rew
# mt -t /dev/rmt/0mn fsf 1
# cd /tmp (Or wherever you wish to )
# tar xvf /dev/rmt/0mn Fthe file_name_to_be_restored

Goodluck,

-USA..
Good Luck..
Domenico_5
Respected Contributor
Solution

Re: extract 1 file form make_net_recovery image

Victor_5
Trusted Contributor

Re: extract 1 file form make_net_recovery image

/opt/ignite/share/doc is a good place for your reference.
It think it is pax.

Re: extract 1 file form make_net_recovery image

thanks for the replies,
gzcat ./2002-03-12,15:02 | pax -r -f - etc/exports
is the commando for extracting the exports file form the ignite image
Robert.