Whole Server Restore
Hi,
Just had a massive failure. We use an Acronis backup system which backs up the whole Virtual Machine.
I've created a new Virtual Machine and replicated the disks etc and restored the whole server onto the disks of /boot /home /swap.
The problem is that it isn't booting. It just sits at a black screen.
Is it possible to restore CPanel in this way and if it is does anyone know how to get it to boot? For example I can boot a live cd and edit grub or files etc but I don't know what I'm editing.
I tried to raise a support ticket to ask CPanel but it's hard to create a support ticket when I can't get an Support Reference ID and the only way to get that is within WHM.
-
Hey there! Sorry to hear about the failures on your side! That's never a fun thing to deal with. I'm not sure if replicating the boot disk will work properly. I'd much rather do something like this: -install CentOS -install cPanel -perform recovery work We have a disaster recovery guide that includes details on mounting the old disks here: 0 -
Generally I'd suggest and recommend what @cPRex mention... I assume that even though you only mention /boot, /home and /swap that you also have the other directories recovered? Maybe you are then just missing GRUB bootloader. Worth a try.... run grub-install /dev/sda
(if /boot is installed to sda)0 -
If you use Acronis then it should be bootable just like R1Soft bare metal recovery. I suggest you to reach out to their support, they are usually quite helpful. 0 -
If anyone is interested it does work from a full backup of the system. I actually missed off the boot partition the first time I tried to restore. I added all the drives and partitions back and it worked fine. The only thing that didn't work was the network adapter. Because the system had changed it was adding eth1 because the system still had eth0 in its config. I amended /etc/udev/rules.d/70-persistent-net.rules so it would use eth0 instead of eth1 and everything was good. 0 -
Glad it worked out in the end, great job! 0
Please sign in to leave a comment.
Comments
5 comments