Updating without loosing data L2J 

Newbie Spellweaver
Joined
Oct 29, 2006
Messages
71
Reaction score
0
I will try to make here a guide how to upgrade without loosing any data like chars items, skills etc.
If it's not useful and someone knows a better way, feel free to correct, it will be for the good of the entire community, I think...

1. Make sure you have a working database of your new rev installed on MySQL (preferable a separate PC / laptop)
2. Work all of your new rev files just like being a full new release and you had none before (config, data, new NPC's, etc.)
3. Start login server and game server to make sure it's really working without errors
4. If everything is OK, dump your database to an SQL file

...and now for the "complicated" part...

5. If you had that on a separate PC, copy new rev on your server machine, along with your dumped SQL file
6. Make a separate DB on your server MySQL connection, like l2clean or whatever :)
7. Make sure you have altered server.properties and login.properties to match your internal / external IP
8. Stop your server (nasty !!!)
9. Go on Navicat to Tools -> Structure Syncronization
10. Left side -> (your connection name) -> (your new rev db)
11. Right side -> (your connection name) -> (your GS db)
12. Press "Compare" button
13. After compare has been done -> press "Run query" button
14. After successful completion go to Tools -> Data Syncronization
15. Left side -> (your connection name) -> (your GS db)
16. Right side -> (your connection name) -> (your new rev db)
17. Go "Advanced" and remove the mark from "Delete records"

Remark: BE SURE YOU REMOVED THAT MARK BEFORE STARTING !!!

18. Press "Preview" button

You will get 6 or 7 errors, tables which you should copy to a temporary DB FROM YOUR NEW REV DB and copy back after completion...

Normally this tables are:
boxaccess
clan_wars
pledge_skill_trees
posts
skill_spellbooks
topic
zone

19. If on "Preview" is everything OK then press "Start" to upgrade

BE SURE YOU HAVE COMPLETED POINT 17 BEFORE !!!

20. Now just dump SQL file of your old DB and copy your new DB instead
21. start your login server
22. start your game server
23. YOU'RE DONE !!!!!

It will take you longer in the first instance, with time will take less and less.
I do not want to be a big mouth but now, after 6 month, it's taking me about 10 minutes top...
 
Re: [SHARE]Updating without loosing data

hopefully is also useful... :-)
 
Re: [SHARE]Updating without loosing data

wuuhhuu! thx nooblady!

good job!:alucard:
gonna test it next week when we update to a new version of L2Free.
 
Re: [SHARE]Updating without loosing data

Nice guide indeed! Is it possible for you to add pictures to the guide to make it even easier? I think this guide will get useful to a lot of people with their own servers, keep up the good work!
 
Re: [SHARE]Updating without loosing data

Nice guide indeed! Is it possible for you to add pictures to the guide to make it even easier? I think this guide will get useful to a lot of people with their own servers, keep up the good work!

I will also try to add pictures as soon as my time will allow me to do it... :pipe1:
Thank you for appreciations...
 
Re: [SHARE]Updating without loosing data

amazing guide noone made a guide like this so its usefull for many ppl
 
Re: [SHARE]Updating without loosing data

i love u men :)
 
Re: [SHARE]Updating without loosing data

Hey, guys, I'm a girl IRL...:drinks_no
 
Re: [SHARE]Updating without loosing data

Sorry, but I think that nobody will leave you alone with this until you give some proofs of it...

BTW, good guide... I think I will add it to the F.A.Q.

Droppo.-

Proofs? :-) Many know me, they need no proof... :-)
For the others... they have to believe my word... :-)
Thank you for add...
 
Re: [SHARE]Updating without loosing data

if we press update at registerserver.bat it will be the same or we have to do all this that this quide said???



<-Noob inside :S :(
 
Back