Migrate custom server

Ubuntu:
20.04:

Hi all,

I will migrate a custom server to Virtualmin
The new server is an Ubuntu 20.04
Webmin/Virtualmin is installed with install.sh for LAMP.
Apache runs with PHP-FPM.

To the new server I have copied this:
All mysql databases.
All files in /home/“domain”/public_html

I have completed these files in /etc/
group
gshadow
passwd
shadow
subgid
subuid
So all users and passwords are there.

Most sites use Wordpress.
I have all domains/pw and DB/user/pw in one file.
Now I would like to make a script that reads the file and creates correct accounts in Virtualmin.

So finally my questions:
What is the best approach?
Which variables should I use to get all information to the right place?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.