Operating System - HP-UX
1836442 Members
3559 Online
110100 Solutions
New Discussion

Re: Restoring specific file from ignite backup

 
SOLVED
Go to solution
sandeepbodkhe_1
Advisor

Restoring specific file from ignite backup

Hi,

I have an ignite backup on tape
i want to restore
some specific files from it .
what would be the steps.
4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: Restoring specific file from ignite backup

Shalom,

see this or many other similar threads.

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

Why are people using Ignite as their sole means of system backup? Its such a bad tool for that.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
OFC_EDM
Respected Contributor

Re: Restoring specific file from ignite backup

Restore the backup into a folder using your backup software.

or

tar -xvf /dev/rmt/0mnb /path/myignite.backup

0mnb is a tape device file. Use the one relevant to your system.

I believe the ignite backup is just a tar file. So then again use tar to list the contents of the Ignite backup:

tar -tvf /path/to/restored/myignite.backup

to list the content of the ignite backup restored from tape.

Then use

tar -xvf /path/to/restored/myignite.backup /path/of/filetorestore/filename

to extract the file. Include full path of the file to extract (obtained from tar -tvf).

So it may be something like this once you have the ignite backup on disk.
tar -xvf /path/myignite.backup /path/filename

Cheers
The Devil is in the detail.
Sharma Sanjeev
Respected Contributor

Re: Restoring specific file from ignite backup

Hi Sandeep

Suppose if you want to restore passwd file
Use
tar -xvf /dev/rmt/0mn etc/passwd

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Bill Hassell
Honored Contributor

Re: Restoring specific file from ignite backup

Actually, the Ignite backup tape is not a tar backup, it is a specially formatted copy of HP-UX (so that it can be booted into memory), followed by a pax or tar backup of your files depending on the backup options you used. So to restore, you must use the mt command to position the tape past the first file on the tape. Be sure to use the Berkeley device file for the tape to stop auto-rewind.


Bill Hassell, sysadmin