I have a whole set of web sites on my Ubuntu computer that I use for testing and development. I don't host them on the internet, I just access them locally for design and debugging.
Each one is built on PHP, each one uses a MySQL database. There are about twelve of them.
I want to transfer them to a new Ubuntu install. I've done this before, and when I have, I created each config file in /etc/apache2/sites-enabled
, I load in each MySQL database, I create a user for each database... It's tedious and prone to (my) human error.
I already have all sites and all configurations set up on one computer. Is there not a way I can wholesale pick up all the databases, files, Apache settings, configurations, and everything and move it to the new server all in one go?