Skip to main content

Restore data from AWS AMI instance onto CentOS?

Comments

4 comments

  • GOT
    Yeah this was a good guide a while back, but it is VERY outdated now and in a couple of cases I see where it would do damage. Specifically, its written with an eye toward easyapache3 and I would imagine your server is likely running easyapache4. Sadly, I do not really have a good guide to point you to to make this right. You may want to consider opening a ticket with cPanel, their migration team would probably be the best bet. Short of that its a lot of hacking around trying to get things working again. I should also point out that if your mysql versions are not the same, there is more to it than just syncing the mysql folder. If mysql is running you should at least run mysql_upgrade I assume you've ran upcp --force? Sometimes that can fix the display of accounts. Is there the user data in /var/cpanel/users?
    0
  • bonneraaron18
    Thanks for replying!
    Yeah this was a good guide a while back, but it is VERY outdated now and in a couple of cases I see where it would do damage. Specifically, its written with an eye toward easyapache3 and I would imagine your server is likely running easyapache4.

    Good to know! I actually started following from the beginning before realizing I was overwriting the fresh cPanel I just installed with my old, janky version, so I wiped everything and started from scratch again, trying to just copy the profiles, databases, etc. And you are correct, the new server is running easyapache4.
    I assume you've ran upcp --force? Sometimes that can fix the display of accounts. Is there the user data in /var/cpanel/users?

    I had not - again my green-ness coming through. I ran it and it completed, but with some errors, and accounts are still not appearing outwardly. There IS data in /var/cpanel/users, all accounts I had previously had appear to be listed there.
    0
  • cPanelLauren
    I'd recommend opening a ticket. This isn't something that's particularly easy to assist with in the forums.
    0
  • GOT
    Yeah see the problem could easily be that the user data is in a different format from the old version to the new. And in overwriting it it could be irreperably broken. How many accounts are you talking about? It may make more sense to rebuild by hand. The other option possibly could be to start the server over and try to install the same version of cPanel as was running on the old server. Then this guide would be more appropriate.
    0

Please sign in to leave a comment.