Ignite-UX

recover individual files from net_recovery image

 
SOLVED
Go to solution
Dan Copeland
Regular Advisor

recover individual files from net_recovery image

Admins,

Can you recover individual files from a make_net_recovery image? If so how?

tia,
Dan
4 REPLIES 4
Domenico_5
Respected Contributor

Re: recover individual files from net_recovery image

hi frank

in attach you can find the solution.
T. M. Louah
Esteemed Contributor
Solution

Re: recover individual files from net_recovery image

Yes you can & here `s a document : KBRC00009280
Quotting from K/B Doc:
Login as root on the Ignite/UX erver "myserver"

# cd /var/opt/ignite/recovery/archives/mymachine

# ls
2002-03-12,15:02 <-- Name of the archive we extract from.

# gzcat ./2002-03-12,15:02 | pax -r -f - etc/hosts <--Note there is no leading /(slash) in front of the desired file's path!!

Little learning is dangerous!
Patrick Wallek
Honored Contributor

Re: recover individual files from net_recovery image

You can also use tar to do the extract from the make_net_recovery image.

It is the same steps that T.M. outlined except for the last:

# gzcat 2002-02-05,09:16 | tar -xvf - etc/passwd
S.K. Chan
Honored Contributor

Re: recover individual files from net_recovery image

Yes you can .. (example .. hostname is mars)
and I'm doing this in the ignite server. And I want to retrieve /etc/resolv.conf file.

# cd /var/opt/ignite/recovery/archives/mars
# ls
2001-02-03,02:04
==> say I got one archive file
# gzcat ./2001-02-03,02:04 | pax -r -f - etc/resolv.conf
==> don't put a slash in front of "etc"

What happen is the directory "etc" will be created in /var/opt/ignite/recovery/archives/mars and the "resolv.conf" file will be in it.