Page 1 of 1
Server wipe/rollback
Posted: Mon Oct 03, 2011 1:01 pm
by Gabber
Hello everyone,
I'm creating l2j server and I'll put it on open beta test. After it I want to wipe the server but I want all my made changes to remain the same, except players data, and I want my server to start from beginning how it was on first launch.
If you understood what I meant, please help me

)))
Re: Server wipe/rollback
Posted: Mon Oct 03, 2011 5:23 pm
by MELERIX
restore your backup, thats all.
Re: Server wipe/rollback
Posted: Mon Oct 03, 2011 5:43 pm
by Gabber
Is this backup made automatically (if yes, where?) or I have to make it manually (if yes, how?)
Re: Server wipe/rollback
Posted: Mon Oct 03, 2011 6:16 pm
by MELERIX
Gabber wrote:Is this backup made automatically (if yes, where?)
yes, by database_installer, in tools folder
Gabber wrote:or I have to make it manually (if yes, how?)
well, if you are an admin you should have at least a "basic knowledge" about how make a backup manually, other way use google xD
Re: Server wipe/rollback
Posted: Mon Oct 03, 2011 9:34 pm
by Gabber
I just have basic knowledge in java programming. Other things are pretty much trees in the forest

Re: Server wipe/rollback
Posted: Mon Oct 03, 2011 9:41 pm
by Gabber
So I need to do full database install ? And everything what players made will be deleted including them ?
Re: Server wipe/rollback
Posted: Mon Oct 03, 2011 10:09 pm
by blarke
Easier if you just drop and recreate your whole "characters" and "accounts" table since the server will clean up most of the junk upon the next backup. However, it will leave many things in (ie. items in the item tables) that are not connected to any characters after that which may impact performance.
Basically if you are doing any modifications on your DB, you will very likely do it on the custom tables anyway, so wiping and rebuilding the DB should suffice...
And by the way, this has nothing to do with java knowledge.
cheers
Re: Server wipe/rollback
Posted: Tue Oct 04, 2011 12:37 am
by MELERIX
Gabber wrote:So I need to do full database install ? And everything what players made will be deleted including them ?
if you want to wipe and reset your whole db, yes, full install will delete and import new clean tables

Re: Server wipe/rollback
Posted: Sat Oct 08, 2011 12:17 pm
by Gabber
Ok for example:
Some hackers hacked my server and spawned some raid bosses in server. How do I do a rollback to exact date?
Re: Server wipe/rollback
Posted: Sat Oct 08, 2011 6:40 pm
by MELERIX
restoring a backup from that day (if you have one ofc)
Re: Server wipe/rollback
Posted: Sun Oct 09, 2011 9:23 am
by Gabber
And that backup would be manually made by raring server folder ofc?

))
Re: Server wipe/rollback
Posted: Sun Oct 09, 2011 10:41 am
by blacksea
Gabber wrote:And that backup would be manually made by raring server folder ofc?

))
only db you need... server folders you have them in your pc..
to create backup
mysqldump -u root -p database_name > blabla.sql
to restore your backup
mysql -u root -p database_name < blabla.sql
Re: Server wipe/rollback
Posted: Sun Oct 09, 2011 1:28 pm
by Gabber
Maybe this file gs_backup.sql in tools folder has all the db information?
I just execute this sql after delete all l2jgs tables in Navicat and my backup is good to go ?
And do I need to do database upgrade or full install ?