This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Migrating a server from one computer to another?  (Read 1207 times)

Piccolodmq

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 200
    • View Profile
Migrating a server from one computer to another?
« on: June 23, 2017, 04:51:56 am »
Hi there everyone.

I have my custom server in a virtual computer that I am not able to keep on paying, next month.   I want to migrate the server from that computer to mine.    It is a trinitycore compiled  3.3.5 server (January 2017),  with tons of custom stuff (DBC and DB), 

I know I can just copy the BUILD and TRINITY files, but how do I get all the DB changes...?   IS there a way to export all the DB without going one file at a time (like exporting creature_template ... into a big file, and then importing in the new server.   

What is your suggestion so I can "clone" my server easily with characters, and changes?

Thanks!


Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: Migrating a server from one computer to another?
« Reply #1 on: June 23, 2017, 09:01:24 am »
Connect to your MySQL database using any table editor, like Navicat, HeidySQL, SQLYog... Right-click on database name. I'm pretty sure you'll find options how to export SQL dump file. Do this for all 3 databases, then import those 3 SQL dumps to your local MySQL server. You can find guides how to use SQL dumps online.

For example SQLYog btw can also directly copy database from one connection to another one. Yet again, you can access that option by right-clicking on a database, the very first option there is Copy Database To Different Host/Database.
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Migrating a server from one computer to another?
« Reply #2 on: June 23, 2017, 05:33:38 pm »
For test servers I just use xampp and put the wow server files also in the xampp folder. So i can just copy all to external hd and move it with me. On new pc just run xampps configure script and you can start mysql and webserver for registration page in lan.
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Migrating a server from one computer to another?
« Reply #3 on: June 23, 2017, 11:39:14 pm »
Please note that xampp is _horribly_ insecure and should _never_ be used for anything publically accessibke!

Piccolodmq

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 200
    • View Profile
Re: Migrating a server from one computer to another?
« Reply #4 on: July 07, 2017, 08:02:01 am »
OK so I migrated, succesfully all of my database.  How do I tell my world server and auth server to connect to a new, mysql (the portable one I made).

Piccolodmq

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 200
    • View Profile
Re: Migrating a server from one computer to another?
« Reply #5 on: July 14, 2017, 06:57:50 pm »
Again, by reading and reading how everything works. I figure it out.   Thanks for the help!