1833958 Members
2056 Online
110063 Solutions
New Discussion

Restore files

 
zsujith
Frequent Advisor

Restore files

Hi,

We have taken a ignite image using make_net_recovery command.

Please let me know how to restore some files from the ignite image.

Thanks & Regards
"The most wasted day is that in which we have not laughed."
3 REPLIES 3
Kapil Jha
Honored Contributor

Re: Restore files

Hello,
It is not possible to do a selective restore from ignite image.
Thanks
Kapil
I am in this small bowl, I wane see the real world......
Shane Seymour
Frequent Advisor

Re: Restore files

Although in of the threads it says:

# mt -f /dev/rmt/1mn rew
# mt -f /dev/rmt/1mn fsf 1
# tar -tvf /dev/rmt/1mn

Please note that this works for ustar format archives only on PA systems and older Itanium tapes. If you do not want to determine what the format of the archive is use the pax command instead of tar. For newer format Itanium tapes uses fsf 23 instead of fsf 1.

Also note that the archive on the tape is path relative not absolute so be careful with your current working directory from where you recover the files from.

If you want to recover just a few files look at the -i option in pax where if you give it the exact names of the files in the archive you want to recover you can give them a new location to recover to, e.g.

# pax -ir ./etc/hosts -f /dev/rmt/1m

will prompt for where ./etc/hosts should be stored to and you might answer /tmp/hosts if you don't want to overwrite the existing file but need to see what was in the archive.