Migrate cPanel to a new server.
Hi everyone,
My cPanel server was full of data, and I want to copy all data and cPanel' s settings to the new server.
I have two questions, please help me.
First, The current version of my cPanel is 11.44, I want to install the newest version on the new server and migrate all backup files to this server, is it ok?
Secondly, I followed this link (
-
Dear everybody, I have a Centos OS server running cPanel with 11.44 version, the user data on this server is nearly full, and I need to migrate data and cPanel to the new server. On the new server, can I use the newest version of cPanel and backup cPanel's setting from the old server and move to the new one? I saw a link from cPanel: 0 -
Hello, Did you try to transfer your cpanel account using Trasfer Tool using WHM. Using Trasfer Tool you can easily transfer the cpanel account on new server. Thanks 0 -
Hi :), What is the version of MySQL and PHP you are using on both the servers? If versions are latest on new server, and not on the old one, can cause errors after migration. So be sure to keep the versions same or upgrade the MySQL and PHP on old server first. Then you can easily migrate the accounts using Migration Tools in WHM. It will handle all the needed file migrations. 0 -
Hi server9host, If I use transfer tool in WHM, I can only back up all the accounts in the current server to the new one. The configuration of cPanel can't be migrated to the new server. Thanks for your advice. Hi danrussell, The version of mysql and php in my current server is old version, its version is 5.1. Could I use rsync tool to migrate all my accounts in /home/ folder to the new server and copy many configuration file of cPanel to the new server? This will help me save time and cut down load on the current server. 0 -
Hi doanminhchau :), Yes, you can use rsync to migrate all the accounts to new server. Its a tricky command, be careful to use the '/' in the command. If you wish to use Latest cPanel version, you will need to have upgraded PHP and MySQL on the new server. So you need to confirm the websites are compatible with Higher PHP and MySQL versions. 0 -
Thanks for your advice danrussell, This is the first time that I migrate a cPanel server, so that I have a little worry about the procedure. I have two servers using cPanel version 11.40 and 11.44. I will install two new server with newest version and migrate all user's data and server setting to the new one. Thanks again, Sorry for replying lately because I have a long new year holiday. I'm in trial procedure. 0 -
Hello :) It's a better idea to transfer the accounts using the "Transfer Tool" option in Web Host Manager. You can then transfer the configuration files separately: Transfer cPanel Configurations Thank you. 0 -
Hello cPanelMichael, Thanks for your support, I have some issues that make me confused. My data is too big, nearly 2TB, if I use Transfer Tool, is it took too much time? How many setting files of cPanel that I need to backup and move to the new server. If I use the newest version of cPanel, the files from my old server will be appropriate? If I change the IP of the new server to the IP of the old one, the license will be updated automatically? 0 -
When we do such upgrades - we always install second (new) server with temporary IP - transfer all account and swap IP to the old IP, so we get new server running with old IP and customers don't have to update DNS. 0 -
thanks anton_latvia, I highly appreciate your information. I do upgrade for my two servers. 0 -
Hi everyone, The quantity of account's data is too big, I have 15 day trial cPanel version, so that I have to finish my copy progress within 15 days, If I can not, how can I continue copying the data and using cPanel? 0 -
Hello, If you cannot done the migration process within the trail period you may change the server's main IP address & replace with the IP address which is having the cPanel trail license. Or else you can purchase the license from the cPanel. Hope this may help you on this. 0 -
Hi Savaranangdrpl, Thanks for your advice, the solution is so simple. It's so great, I will test with my own server. 0 -
]My data is too big, nearly 2TB, if I use Transfer Tool, is it took too much time?
Where is most of the data stored? Is it in a single account or is it spread across all of your accounts? Thank you.0 -
Thanks cPanelMichael, All of my data are stored in /home folder, thousands of domains in there. I think the restore progress is too slow. I got this error with with some accounts when I use transfer tool:Failed: The remote "pkgacct" command failed because of an error: ERROR: Failed to dump one or more databases, how can I fix it? 0 -
] I got this error with with some accounts when I use transfer tool:Failed: The remote "pkgacct" command failed because of an error: ERROR: Failed to dump one or more databases, how can I fix it?
Do you notice any errors when attempting to manually backup those databases on the source server? EX:mysqldump database_name > /path/to/database.sql
Note that you can view the full transfer logs via: "WHM Home " Transfers " Review Transfers and Restores" Thank you.0 -
Hi Michael, I saw this error in WHM Home >>Transfers >> Review Transfers and Restores. This error appears with some users. Thanks 0 -
It's possibly related to issues with the database on the source server. Check for errors when attempting to manually backup those databases on the source server with a command such as: mysqldump database_name > /path/to/database.sql
Thank you.0 -
Hi Michael, Thanks for your support, By the way, I will change the IP address on the new server to the old server's ip address. Could you tell my what steps and files that I need to change to keep the license on the new server? 0 -
]Hi Michael, Thanks for your support, By the way, I will change the IP address on the new server to the old server's ip address. Could you tell my what steps and files that I need to change to keep the license on the new server?
Licenses are IP-based, so provided the source server IP is licensed, it will continue to be licensed on the new server. Thank you.0 -
Hi Michael, Thanks for your support, I have changed the cPanel to connect to the remote SQL server, I want this server use the old data on my remote SQL server. But I have the errror with exim: ERROR 1045 (28000): Access denied for user 'eximstats'@'localhost' (using password: YES), how can I change exim to use the password on the remote SQL server? 0 -
Try running the following commands: mysqlcheck --repair eximstats /usr/local/cpanel/bin/updateeximstats /usr/local/cpanel/bin/generate_eximstats_pass
Thank you.0 -
Hi Michael, Thanks for your answer, I know these commands, but my server using the remote Mysql server. In this case, can I set up cPanel using eximstats database at local Mysql server and user's database on the remote Mysql server? Do you have any link or document to show me how to do this? 0 -
You could simply transfer over the eximstats database after setting up the remote MySQL server. The remote MySQL option is documented here: cPanel - Remote MySQL Thank you. 0 -
Hi Michael, Thanks for your help. I found one issue with suspended accounts, when I transfer all the account, the WHM>>Account Information>>Suspended Accounts does not display any account. I found the cause for this issue. These suspended users don't have the data in the home directory in the old server,so on the new server, transfer tool create the home directory for these users by its self. Thanks 0 -
]I found the cause for this issue. These suspended users don't have the data in the home directory in the old server,
Could you elaborate on this? Were these accounts that were not terminated completely, or configured in a custom manner? Thank you.0 -
Hi Michael, I'm moving cPanel to the new server, at the old server, some suspended users we deleted their home directory, but when I use transfer tool to transfer all users to the new server, this tool create new home directories for these suspended users automatically. and WHM>>Account Information>>Suspended Accounts can not list these account. The Transfer Tool is perfect. But The suspended accounts don't list in the new server. In WHM>>Multi Account Functions>>Change Multiple Sites' IP Addresses is too simple, I have more than one thousand accounts on this server. I can not use this function. It's taking too much time. Could you give me a script to change IP of these accounts simultaneously? My new server is connecting to the remote Mysql server, when I swap IP with the old server, The connection still exists. 0 -
1. Deleting an account's home directory is not advised. It includes files required for the account to maintain it's suspended status, and additional configuration files. You should terminate an account if you no longer plan to use it. 2. You can use the IP Migration Wizard to migrate all accounts from one IP address to another: "WHM Home " IP Functions " IP Migration Wizard" Thank you. 0 -
Hi Michael, Thanks for your advice, I have already migrated the cPanel and accounts to the new server, it's running well, but I have an issue with this server. The suspended list doesn't list any user even some accounts still have their own data when I use transfer tool to migrate these accounts to the new server. Please elaborate a little bit about this issue, and kindly tell me how to fix it? 0 -
Yes, to clarify, it's by design that accounts are unsuspended on the destination server after the transfer. Feel free to open a feature request if you want an option that allows you to change this behavior: Submit A Feature Request Thank you. 0
Please sign in to leave a comment.
Comments
31 comments