How does the transfer tool work when using a remote MySQL server?
I have an existing cPanel server that uses a remote MySQL server (AWS RDS). I am transferring accounts to a new cPanel server to upgrade CloudLinux 7 to 8. Ideally, I'd like to keep the same MySQL server and transfer the accounts, including the database information, but not the actual databases. I want to reconnect the new server to the same standalone MySQL database when this is finished.
How does the transfer tool handle this? I don't want to impact the live database server. Specifically, should I set up the remote MySQL information on the new server before or after the transfer? I am worried if I set it up before, that it will try to copy over itself if I use the same credentials. If I do it after, I think I would have to remap all the databases in the accounts.
Any tips to make this go as smoothly as possible?
-
Another option is temporarily running two RDS simultaneously and migrating the databases to the new one. This creates a completely separate instance for staging purposes. I would then run a script to update the old RDS address to the new one for the websites. If there is a better way, I'm open to suggestions. 0 -
Hey there! I've been talking this over with a few people today and we all think the second option of creating another RDS system and performing the migration is the safest to avoid conflicts with how you want the migration to happen. 0 -
Thanks. I'm inclined to agree. The small fee of running them parallel is worth it for peace of mind. Would the permissions technically be the same on the new/old RDS? The steps look like this: 1. New server & RDS 2. Transfer the sites 3. Change remote MySQL connection to point to old RDS (at WHM level, not per site) If step 3 works, that could prevent me from manually updating many connection strings. 0
Please sign in to leave a comment.
Comments
4 comments