The bast way to transfer all accounts to new server

Gojko

Well-Known Member
Nov 24, 2014
112
7
68
Macedonia
cPanel Access Level
Root Administrator
Hello, i have one old server and i want to buy new server and setup like old one and transfer all accounts to that new one.

What is the bast way to do that?
In terms of minimum downtime and interrupt.


what i think:
  • install cpanel
  • transfer easy apache profile
  • transfer feature and packed list
  • setup TTL for nameservers to couple of seconds so i can change IP to new server (old one has ns1 and ns2 to one ip, i don't have cluster setup on that server)
  • run transfer accounts from WHM from server to server

did i miss something?
 

ffeingol

Well-Known Member
PartnerNOC
Nov 9, 2001
826
344
363
cPanel Access Level
DataCenter Provider
More or less. You need to lower the TTL's a bit ahead (at least a day) so they have time to expire and get your new TTL before you start. Personally I would not go within anything lower than 1200 (20 minutes). I've seen people go as low as 5 minutes ( 300 seconds). Secondly, you can use the "express" option during the transfer. That will update DNS on old the server to have the IP of the new (within the DNS zones) so you don't have to worry about changing name servers at the same time. That way both old and new DNS servers will have the zones the same way and then you can come back and update the domains name servers at your leisure.

As a side note, there literally was a thread about this about a week or so ago.
 

Gojko

Well-Known Member
Nov 24, 2014
112
7
68
Macedonia
cPanel Access Level
Root Administrator
Thank you for your respond.
So you said that is not good to go with small TTL like 300sec for namesevers and hostname when i change ip?

If i don't use "express" option it will keep old ip in DNS configuration? i didn't know that i thought when i use transfer tool it change IP auto to new ip of server.

one more thing, if i use express option is there way to check if accounts transferred with success?
 

ffeingol

Well-Known Member
PartnerNOC
Nov 9, 2001
826
344
363
cPanel Access Level
DataCenter Provider
All I can tell you about the TTL's is that we use 1200 (20 minues) and that works Fine. You'll have to experiment with shorter TTL's.

If you don't use "express" it will leave the DNS alone on the old server and update it on the new server. If you use "express" it will also update it on the old server. If you DNS is clustered (and both servers are part of the same cluster) it does not matter because when you update the new, it also updates the cluster. "Express" also suspends the account on the old server.

You'll get a status log of each transfer.
 
  • Like
Reactions: Gojko

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston

keat63

Well-Known Member
Nov 20, 2014
1,961
267
113
cPanel Access Level
Root Administrator
I've just done this only a few days ago.
I'd recommend spending a day getting the new server ready.
Apache, PHP, MYSQL Configs etc etc.

Before you start, test the transfer tool and make sure the two servers can talk to each other.
If the transfer tool connects and shows you the accounts, then it's likely it will work.

I no longer use my own name servers, I modify my DNS through my registra hosting page.
I changed my DNS config to point to my new server.
Whilst this was starting to propogate, I then started the transfer tool.

I did one account at a time just to keep things simple.
 
  • Like
Reactions: cPanelLauren