PDA

View Full Version : Migrating a server?


Shiny151
09-14-2009, 11:47 AM
I just installed the latest version, (Rev 974) of the Windows Server last weekend on a new machine and it seems to run great. It's a clean install, no existing characters.

My question is, I have an existing server (Rev 774) on another machine using the PEQ database. Can I just export my character tables on my old server to sql files and import/source them into the new one? I don't really want to upgrade my current server with all of my characters on it since I have it just the way I want it. I fear of jacking up the server. All I want to do is have another instance of my existing server to try out any new features that exist with my current characters.

Shiny151
09-23-2009, 11:06 AM
I figured it all out. I ran the drop_player.sql on the newly installed server and then exported my old database based on the drop_player.sql criteria using HeidiSQL. It gave me one clean .sql file with all my character tables.

The one thing you have to be careful of is exporting your character tables using the "same as source", otherwise if you choose something like ANSI SQL you'll run into import problems/errors during your import.

My reasons for keeping two databases on two different machines is that I can rotate the server whenever I choose to upgrade; I never have to worry about destroying my server as I will ALWAYS not only just have the backup character tables but a backup server as well. Then the updates become stress-free.

Hope this helps anyone wanting to update their server but are afraid of messing it up.