A while ago I posted looking for help on disaster recovery:
http://forum.zentyal.org/index.php/topic,7613.msg30223.html#msg30223 The problem remains, it is easy to make backups, but it is not easy to use/restore them.
There haven't been any comprehensive or easy to understand solutions put forward yet. The official documentation is not complete and doesn't cover the most typical situations:
http://doc.zentyal.org/en/backup.html#how-to-recover-from-a-disasterFor me, this is the biggest weakness in Zentyal. I love Zentyal, but I'm afraid to use it in a professional business place until I can figure out how to actually
use the backups that I have in case a real disaster does happen.
It would be great if we can figure out a way to make disaster recovery feasible for those who are not Linux gurus (like me). Perhaps with this postenough ideas and suggestions can be put together to get a working solution.
Here is the typical situation that I need a solution to, and I think many others would like as well:1) Imagine I have a working Zentyal server that does full backups every week, and incremental backups every day. It also does configuration backups every day. It runs the backups via ftp or scp to a different computer, or to an external hard drive using the built-in feature, duplicity.
2) Now imagine my server crashes. The motherboard is fried and the hard drives are shot. Or better yet, there is a fire and the machine is destroyed.
3) I need a replacement server, quickly, so that all the domain users can continue to work. Most likely the machine used to replace the destroyed server will have
different hardware. This will cause conflicts when restoring the settings and configurations from the destroyed machine. Perhaps I had RAID set up. Perhaps I don't even remember how exactly the partitions were set up. Do they have to be exactly the same on the new machine? Etc. Etc. Etc.
How do you restore the important configuration and user files onto a new machine with different hardware?This seems a very typical situation many will find themselves in. Here is a brief summary of what I've tried to no avail (for more details look follow the link to my previous thread at the top of this post):
I tried taking a new machine with a blank hard drive, using the GRML as the official documentation suggested, and using duplicity to restore the backups that I had to the new machine. Of course it didn't work. It didn't even make the hard drive bootable. I thought the restoration of backups would also install the boot loader, but I guess that is another process (one I don't know how to do).
When that didn't work, I figured I needed to install a fresh copy of Zentyal on the machine
before restoring the backups. I reformatted the drive and started over. This time I installed a fresh copy of Zentyal on the machine. Then I put in the GRML CD and again used duplicity to try to restore the backups. This time it gave me many, many errors saying that the files already existed. So obviously that was not the way to go about it.
Next, I reinstalled Zentyal, and this time, from the web interface of the new machine I tried to restore the configuration file of the destroyed server. This returned errors, like I expected, presumable because the hardware is different. Anyway, some modules were set up properly, and some weren't. The users and groups were successfully restored (at least they appeared in the web interface). Then I used duplicity from the CLI to try to restore only the /home folder, in order to get the user files onto the machine. I then tried to copy over the etc/passwd but that messed everything up even more, and I wasn't even able to log in anymore with the root account.
As you can see I tried different approaches to this task that should be relatively simple, and will probably be quite a typical situation. What we (n00bs) need is some clear conceptual understanding of how this is supposed to work, and then some good documentation.
If you can contribute to solving this, I'd appreciate it. If you do reply, try to make it as easy to understand as possible. I've been working with computers for many, many years, but I still struggle to understand lots of what experienced Linux users say because I lack the context to understand (please avoid acronyms, etc.)
Thanks