I have a little home web server I run for a PBEM game of mine. Its all been setup rather slapdash as I've figured all the nooks and cranies.
Basically, its running Mandriva, Apache, PHP4 and MySQL. (don't remember which version off the top of my head, i believe its 1 behind though, much like my PHP)
I would like to migrate everything (databases, web directories, etc) to a new server for several reasons. (Faster PC, etc)
I would also like to change over to running Ubuntu since there are features I prefer in Ubuntu over Mandriva.
So, my real question is what plan of attack would people here suggest?
My thoughts were either
1) to set up each of my web-apps individually then migrate the databases through each program. (They have options to backup/restore information in most of them)
Or,
2) I could backup all of my database from MySQL and move them over to the new server and do a mass copy of my web root directory and hope that everything will know where its pointing to.
Has anyone dealt with something like this with any luck? I would like to make this as transparent a change as possible.