1832302 Members
2158 Online
110041 Solutions
New Discussion

System Recovery

 
SOLVED
Go to solution
Matthew Pegge_1
Frequent Advisor

System Recovery

What files if any should be excluded when restoring a system from bare metal (RHAS3 and 4) i.e. Rebuilt O/S from kickstart file to replicate partitions etc.. is there any files that should be excluded from the full restore? Are there any other gotchas when recovering servers with SAN attached storage?
6 REPLIES 6
Huc_1
Honored Contributor

Re: System Recovery

I think you could exclude /proc /tmp
but best test this! for I have not

Jean-Pierre Huc
Smile I will feel the difference
Andrew Young_2
Honored Contributor

Re: System Recovery

Hi.

I would recommend that you build the OS as well and then exclude /dev /proc /tmp.

Just remember that you shouldn't mix RHAS3 and RHAS4 OS restores as they use different versions of LVM. In other words, don't do an OS restore of RHAS3 onto a kickstarted RHAS4 filesystem or vice versa.

In fact the best backup restore method would be to create a kickstart file from the original server, and keep all the latest RPM's. Then after the kickstart,all you would need to restore are /var, /home and /etc (and maybe /usr/local) and any other customised directories off the root. I would also restore /etc/sysconfig to another location and then mv the files as needed.

HTH

Andrew Y


Si hoc legere scis, nimis eruditionis habes
Matthew Pegge_1
Frequent Advisor

Re: System Recovery

Thanks Guys,

We actually use RDP (altiris)to do the the initial system builds, which uses our standard ks.cfg file to create the filesystems and add all RPM's. So I'm fairly confident we can get the server to the same generic point.

However I was more concerned about what may or not have been added from the point the server is handed to the application teams. Some of these servers become Oracle others Websphere and so on.. and there is always the chance that extra RPM's have been added without proper change management, which was the reason for the restoration of / excluding /proc & /tmp.
Andrew Young_2
Honored Contributor
Solution

Re: System Recovery

Hi.

Well then you should just need to add /dev to the exclude list.

Although Oracle is usually pretty good about keeping things in its own tree and I don't have any live Websphere sites any longer to check on those. However both use Java.

I would also not change /boot unless its really needed. If you have a spare blade or two I would suggest a few tests. The other thing to remember is that the WWN will change if you change blades so you may have to update your switches and possibly your configuration on your restored blade. I will try to update this in Feb when we do our testing on our blades.
Si hoc legere scis, nimis eruditionis habes
Matthew Pegge_1
Frequent Advisor

Re: System Recovery

Thanks for your help! I'm about to start some tests today so will also update the post to let you know how I go! I'm starting with a non SAN attached blade then will move to SAN attached blades and DL's.

Thanks again!
pjs_1
New Member

Re: System Recovery

If using RHAS 4 you should also exclude /selinux and /sys.