Operating System - HP-UX
1825771 Members
2077 Online
109687 Solutions
New Discussion

Restore specified files from Ignite

 
SOLVED
Go to solution
Hakki Aydin Ucar
Honored Contributor

Restore specified files from Ignite

As far as I can see it seems not possible, but is there any way to restore any files OR single file without rebooting server ?
I lost Xmanager license file and just I need it.
My server HP-UX 11iv1

Regards,
11 REPLIES 11
Michal Kapalka (mikap)
Honored Contributor
Solution

Re: Restore specified files from Ignite

hi,

yes it is possible.

what type of ignite do you have ??? tape/server

more on this link :

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1373017


mikap
Hakki Aydin Ucar
Honored Contributor

Re: Restore specified files from Ignite

>Mikap:what type of ignite do you have ??? tape/server

tape

I will check recommended link out
Torsten.
Acclaimed Contributor

Re: Restore specified files from Ignite

Is it stored on tape or server; made on HP9000 or Integrity?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Hakki Aydin Ucar
Honored Contributor

Re: Restore specified files from Ignite

>Torsten:Is it stored on tape or server; made on HP9000 or Integrity?

tape
HP9000
Torsten.
Acclaimed Contributor

Re: Restore specified files from Ignite

The image is a tar archive, use

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

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Hakki Aydin Ucar
Honored Contributor

Re: Restore specified files from Ignite

If I just need to see list , can I do it with as

tar bla ..bla .. > /tmp/list.ignite
R.K. #
Honored Contributor

Re: Restore specified files from Ignite

Hi Hakki,

From Ignite Tape:
(1) mt -f /dev/rmt/0mn rew
(2) mt -f /dev/rmt/0mn fsf 1
(3) tar xvf /dev/rmt/0mn etc/lvmtab

Note that you have specify full path to your directory without the first '/' as ignite backs up the contents relative to /.


To see contents:
#tar tvf

Regds..
Don't fix what ain't broke
Viveki
Trusted Contributor

Re: Restore specified files from Ignite

Hi

You need to give fsf 22 instead of 1 if you are using a tape made of Itanium servers.
Suraj K Sankari
Honored Contributor

Re: Restore specified files from Ignite

Hi,

>>If I just need to see list , can I do it with as tar bla ..bla

From tar file you can see the file listing with "tar -tvf file.tar"

Suraj
Hakki Aydin Ucar
Honored Contributor

Re: Restore specified files from Ignite

>Viveki:You need to give fsf 22 instead of 1 if you are using a tape made of Itanium

What does fsf exactly mean ? man pages says forwarding count file number but you say use 22 for integritiy , what exactly does it skip the first 22 files ??
Tor-Arne Nostdal
Trusted Contributor

Re: Restore specified files from Ignite

The Ignite tape is a tape which contain a bootstrap + a dump of all your files from your vg00, stored in a tar-ball.

The suggestion is to use the command 'mt' magnetic tape and 'fsf 1' forward skip file ... which means to jump over the boot record, and position the tape for start reading from here.

This is why they also refere to a No-Rewind device /dev/rmt/0mn (or _mn where the _ is the number representing your tape device...)

mt -f /dev/{yourtapdev}n fsf 1
- worked great with PA-Risc, but apparently you need to jump 22 forward for Itanium (according to Viveki).

When this is done, the tape should be positioned where the tar-ball start.
Therefore you can issue the next command...
tar -tvf /dev/{yourtapdev}

Hope this explains it
/2r
I'm trying to become President of the state I'm in...