Operating System - HP-UX
1834457 Members
2586 Online
110067 Solutions
New Discussion

restoring affect on patches

 
Ken Penland_1
Trusted Contributor

restoring affect on patches

We have a full system backup of system A, we are trying to create its "clone" over on system B. We used Ignite to create the operating system, and as for all the data, we used a full backup and restored everything from / with no overwrite, so any new files including data will be dumped on to the system.

The question is, how does this work with patches between when the ignite was done and the full backup was created?

If I took my ignite image, then installed a patch, then did a full backup and restored, any new information from that patch in say /var/adm/sw would be restored, but any file that was "updated" but not added would not be overwritten. Does this mean that the patch is only partially installed, and if so, would a simple swconfig resolve the problem?
'
6 REPLIES 6
RAC_1
Honored Contributor

Re: restoring affect on patches

When you do ignite restore, it is always full . Whatever the ignite image contains, is restored.

Anil
There is no substitute to HARDWORK
Ken Penland_1
Trusted Contributor

Re: restoring affect on patches

correct, but ignite only grabs vg00, which would grab the patches. However, after the ignite restore, they did a full system restore which restored all the other file systems. What happened is the full system backup was taken after some patches were installed, but these patches were installed AFTER the ignite backup was created. So what state are these patches in? The full system backup would have restored patch info that didnt exsist, but any CHANGES that the patches made to existing files would not be overwritten
'
Pete Randall
Outstanding Contributor

Re: restoring affect on patches

I would restore only non-VG00 stuff from your full backup - that way you won't have to worry about it.

I would also suggest that you should run an Ignite backup prior to patching.


Pete

Pete
RAC_1
Honored Contributor

Re: restoring affect on patches

If there were patches installed after ignite image (the one that you used), then the system is not up-to-date. Ignite image should be latest. Else, Install the latest patches for your system.
There is no substitute to HARDWORK
Ken Penland_1
Trusted Contributor

Re: restoring affect on patches

so basically what you are saying, is that the patches that were installed after the ignite are basically "broken" or half installed, and there is no real way to fix them...just dont do it again in the future...
'
A. Clay Stephenson
Acclaimed Contributor

Re: restoring affect on patches

This is really normally not a problem because the patched software (at least that done via swinstall) is confined to /dev/vg00. As with all restores (of which Ignite is a special case), you have to know what you are doing. Restores are always inherently dangerous.
If it ain't broke, I can fix that.