Skip to main content

Crash after switch to Almalinux and backup restoration

Comments

7 comments

  • andrew.n
    It will be difficult to restore everything manually. cPanel has a disaster recovery documentation but it does require expertise: https://docs.cpanel.net/knowledge-base/general-systems-administration/full-disaster-recovery/ I would focus on bringing up the broken server instead. Do you still have that? Do you have console (KVM) access so you can see while it fails to boot? Your best bet would be to hire a cPanel certified sys admin from Resources to check this out for you.
    0
  • JoseDieguez
    " as this doesn't require a switch to another server, but could be done all on-the-spot. " who told you that? any change from Centos-CloudLinux-Alamlinux 7 to the version 8, is best to perform a server migration. any update in-place tool is still in beta, and not recommended.
    0
  • discusclub
    It will be difficult to restore everything manually. cPanel has a disaster recovery documentation but it does require expertise: https://docs.cpanel.net/knowledge-base/general-systems-administration/full-disaster-recovery/ I would focus on bringing up the broken server instead. Do you still have that? Do you have console (KVM) access so you can see while it fails to boot? Your best bet would be to hire a cPanel certified sys admin from Resources to check this out for you.

    Yes, I do have all the accesses, as I am still paying for the both VPS, the crashed one (I am the guilty of the damage, I cannot blame the Company) and the new one, with Almalinux instead, a fresh install (and WHM). I only saved some account, not all.The tech dept helped me to arrive til the rescue system, where I see the all /home/ accounts, restored a ssh root access and finished.
    0
  • andrew.n
    In that case you can follow the disaster guide or try to boot the original server and see what is the exact error while booting in KVM which could be a good hint how to move forward with the damaged machine.
    0
  • discusclub
    In that case you can follow the disaster guide or try to boot the original server and see what is the exact error while booting in KVM which could be a good hint how to move forward with the damaged machine.

    The kernel is damaged, maybe corrupted or partially deleted. So I don't know how to go on on the old one, as Almalinux isn't working properly. I only remember that after the upgrade and various reboots, the last reboot killed the VPS. So I guess that the only thing I can do is reinstall Almalinux on the old one and then retry to make the operations from your link. That's why I am asking: I have the cPanel accounts in the folders, entire. It seems that tar.gz them and reupload in the new /home/ directory doesn't work, correct?
    0
  • andrew.n
    You can go on the old one by mounting the server into rescue mode and following the steps in the guide. "That's why I am asking: I have the cPanel accounts in the folders, entire. It seems that tar.gz them and reupload in the new /home/ directory doesn't work, correct?" cPanel won't recognize those files as lot of the necessary ones are outside of /home which is needed by cPanel like MySQL databases, web server configuration files etc.. so it will take a lot more to have a functioning server again unfortunately.
    0
  • discusclub
    You can go on the old one by mounting the server into rescue mode and following the steps in the guide. "That's why I am asking: I have the cPanel accounts in the folders, entire. It seems that tar.gz them and reupload in the new /home/ directory doesn't work, correct?" cPanel won't recognize those files as lot of the necessary ones are outside of /home which is needed by cPanel like MySQL databases, web server configuration files etc.. so it will take a lot more to have a functioning server again unfortunately.

    Yes, I saw then that the account folders do not contain other than part of the entire system. MySQL db tables are in other folders (I don't remember but that's it).
    0

Please sign in to leave a comment.