Disaster Recovery for Red Hat Server

Need to work out a procedure for backup and recovery the Red Hat servers for disaster recovery. Any free RedHat solution that can allow me to fully restore the machine into original state.

Do I need to keep the exact RedHat core as the orginal machine ? Should I need to partition the disks as the faulty server ? Which folder should be exclusive for recovery (say, OS kernel, ...)

Tks
AXISHKAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arnoldCommented:
You need to be more specific. System function
Commonly /etc is the per system configuration.  Other items vp can be stored in different location.

Depending on what the system does, the DR plan can vary
0
Dan CraciunIT ConsultantCommented:
Not specific to Red Hat servers: do you use containers/virtual machines?
Unless you absolutely cannot handle the performance hit, you probably use virtualization, so the question forks:
1. how can I backup and recover the containers/virtual machines
2. how can I backup and recover the hosts

For 1 it depends: cold backups (meaning you stop the VM, backup, start it), snapshots, clones.
For 2 you usually create an image of the OS that you can restore to dissimilar hardware. If the OS is on a memory card, you simply clone the memory card.

HTH,
Dan
0
Zephyr ICTCloud ArchitectCommented:
If you want simple backup you could use tar or cpio to backup directories locally and offload them to another server or storage for safe keeping, or to tape if available/applicable.

As for free backup solutions, there are a few out there, one of the better known ones is bacula

As what to backup, that indeed depends like arnold said, what is installed, are there scripts that need to be in backup, files in /var/www maybe, /var/lib, /var/spool ...
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

AXISHKAuthor Commented:
"System function,  Commonly /etc is the per system configuration.  Other items vp can be stored in different location" - I can't get your message. Can you explain more...

The server is php server with some php programs running on it .. guessing it is a standard redhat configuration. Anything need to be check...

Tks again.
0
Zephyr ICTCloud ArchitectCommented:
I think arnold is referring to what I told above:

As what to backup, that indeed depends like arnold said, what is installed, are there scripts that need to be in backup, files in /var/www maybe, /var/lib, /var/spool ...

Meaning that you will need to find out where all the important files are located, if it's php-files from a website they can be located in /var/www/<some-folder>, but you might also like to backup files under /etc/apache2/sites-enabled for instance ... But that is for you to figure out, we don't know what is important to you.
0
AXISHKAuthor Commented:
Can I say in another way, which folders don't need to backup (say, system folder ,temp folder ...) in general ?

Tks
0
Zephyr ICTCloud ArchitectCommented:
Well, /var/log could be ignored if logs aren't important, /tmp (if nothing is writing there, as in script outputs that are important, it shouldn't be, but you never know) ...

Usually if you are rebuilding your host, these should be enough "/etc, /opt, /var, /home" that would get you all files normally ... Maybe also check /root ...

All others can be ignored.

But before you put this backup scheme in production you need to test it, so you can be sure that you have everything... So take a backup of a system, install a basic other system and try to restore from the backup so that the host is like the one in production ...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.