Since you wrote this I thought you where the last person I would be giving directions to
How to Move Servers and/or Change Directories
Move your files and database to the new server set permissions etc all relative to a new install. Then run your install script and install into the same database you restored to this new server that way you do not lose data and only your info is updated to reflect the new server
That should get you setup right.