Migrate from Virtualmin to Plesk or cPanel (specifically the files and databases)

I have a dedicated CentOs 7 server with Virtualmin and quite a few domains on it. I would like to migrate them to an Ubuntu 17.04 server with Plesk. However, I may would be willing to migrate everything to cPanel as a halfway step to Plesk if there’s only a solution for cPanel. Does anyone have a script they could share they have used or have any real world tips?

Options I’ve considered…

  • Fully automated: Migrate all domains and db’s. Anyony have help on this?
  • Partially automated: Manually create the customers and domains in Plesk, then use a bash script to unzip the Virtualmin backup file and move files into appropriate locations and import databases using CLI. This could be a run once thing or manually once for each domain with prompts for specifics like customer info. Thoughts?

Linking an existing Amazon Lightsail High-Availability database to Plesk (lightsail instance)

Posting this in case it helps someone else as well:

I’m trying to link an existing amazon lightsail high-availability MySQL instance to a Plesk (v17.8.11) instance (located in the same region and AZ).

Going to Tools & Settings-> Database Servers -> I’m adding the database server instance, however it fails with:

“Error: php_network_getaddresses: getaddrinfo failed: Name or service not known”