Operating System - HP-UX
1832594 Members
2895 Online
110043 Solutions
New Discussion

Recovery using Ignite-UX and frecover

 
SOLVED
Go to solution
Leon A. Howorth
Advisor

Recovery using Ignite-UX and frecover

I intend to recover a system onto another, similar, model of HP 9000 system using Ignite-UX and then the most recent fbackup tape. After recreating the system, specifically vg00, I will run frecover.
1. Are the following commands equivalent?
# frecover -rvf /dev/rmt/0m
and
# frecover -xvf /dev/rmt/0m

2. Can I assume that neither will overwrite newer or identical files that already exist in vg00 from the Ignite tape?
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: Recovery using Ignite-UX and frecover

Leon,

Ideally your fbackup volume would not contain any portions of vg00, only non-root volume groups.


Pete



Pete
Ian Dennison_1
Honored Contributor

Re: Recovery using Ignite-UX and frecover

The -o option on frecover will overwrite files regardless, as an newer file will not be overwritten by an older file. However, some config files that have been amended from standard you will need to specifically restore.

What scope was the frecover? Was it the entire system with several VGs, or just vg00?

I would do this in 2 steps,...

1. 'recover -f /dev/rmt/0m -I /tmp/filelist.txt'

from /tmp/filelist.txt, take the non-system lvols and create an include graph file.

perform a 'frecover -f /dev/rmt/0m -g /tmp/nonsys.include', with no overwrite

2. Identify those config files (not executables) that need to be restored, and create a new graph file for these.

perform a 'frecover -f /dev/rmt/0m -g /tmp/sys.include -o' for restoring and overwriting (of course, you would have moved the originals from your install somewhere safe before hand!) Then reboot and see what happens!

Share and Enjoy! Ian
Building a dumber user
twang
Honored Contributor

Re: Recovery using Ignite-UX and frecover

I have to perform similar task regularly(from A400 to another A400). I will clone the whole system by
- use ignite-ux to clone the vg00
- change hostname and IP address
- restore applications and related data(vg01, vg02...) by using frecover

I always use following command to recover a particular directory:

# frecover -vx -i /tmp -f /dev/rmt/0m

Hope this help you a bit.

Steven E. Protter
Exalted Contributor
Solution

Re: Recovery using Ignite-UX and frecover

In these circumstances, you are better off using sam
backup and recovery

Interactive recovery.

You should not have to recvoer any data from vg00. Other volume groups will need to be recovered.

If when you ran fbackup, you had open databases, you will have problems with those files. If the database was down for fbackup everything should be fine

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
Leon A. Howorth
Advisor

Re: Recovery using Ignite-UX and frecover

What I gather from responses thus far is that I
do not need to be concerned with restoring anything within vg00 from the fbackup tape (i.e., using frecover), especially since the Ignite tape is a recent one. In other words: depend on the Ignite tape for restoring vg00, and depend on the fbackup tape for restoring any other volume groups and lvol's within them.
But just out of curiosity I wonder if what I suggested in my original question is definitely a bad idea or simply unecessarily time consuming? That is: recreate vg00 from the Ignite tape and then use one of the following frecover commands with the recent fbackup tape:
fbackup -rv OR fbackup -xv
Uday_S_Ankolekar
Honored Contributor

Re: Recovery using Ignite-UX and frecover

Use Ignite tape to restore your entire VG00 which will be from fresh ignite tape. Then there is no need to work on recreating vg00 again.

ans as Steven said in his post, use sam to restore your other files or use frecover


-USA..
Good Luck..