• Discussion
  • How to migrate from server A to server B

Hello, I'm using aaPanel older version and I'm unable to update it to the latest version so I decide to install a new server and Install fresh aaPanel. After that I'll move the website from server A to B.

But the problem is that I have more then 15+ websites hosted on aaPanel so I can't migrate them one by one. I have to export database and import to the new server "old method".

Is there any way to migrate all the websites with database from server A to server B. Both server has aaPanel.

Please guide me how to do that. And aaPanel's latest version is stable? or not?

    izsurya changed the title to How to migrate from server A to server B .
    15 days later

    izsurya
    The target panel is required for the api, and the source panel does not need to open the api.
    So the old version can also be used.

    4 months later
    5 months later

    so we need to install aapanel on the new server first correct?

    and should the os version same in new server?

    thanks

      shm
      If you want to use one-click migration to complete the site migration, you need to install aapanel and the plugin on the new server, and then follow the prompts to migrate

      so i install one click migration on both server?

      shm pretty simple wrong password, you have to provide the correct credentials tho

      i've created same mysql root password for old server and new server, but still same?

        shm it should match then but its not working thats clearly a wrong password, perhaps username, let me explain, some other systems we work on, use databases were the username is such as abc_abc when we change to a new system the username and password have to match those settings.

        Another thing... Is that User created in the panel you want to transfer to? How about the privileges, is it full? Read Only?

        i manually export sql from phpmyadmin and restore to new server
        before i also can't login or reset my mysql root access
        so i add skip-grant-tables and change via ssh then alter priveleges of root on both server

          shm
          This may be that you manually changed the mysql root account permissions and password of the old server and caused the panel to fail to read the backup database.