If something doesn't fit in any other forum then post it here.
Gabber
Posts: 32 Joined: Sat Sep 03, 2011 7:47 am
Post
by Gabber » Mon Oct 03, 2011 1:01 pm
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
)))
MELERIX
L2j Veteran
Posts: 6667 Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:
Post
by MELERIX » Mon Oct 03, 2011 5:23 pm
restore your backup, thats all.
Gabber
Posts: 32 Joined: Sat Sep 03, 2011 7:47 am
Post
by Gabber » Mon Oct 03, 2011 5:43 pm
Is this backup made automatically (if yes, where?) or I have to make it manually (if yes, how?)
MELERIX
L2j Veteran
Posts: 6667 Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:
Post
by MELERIX » Mon Oct 03, 2011 6:16 pm
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
Gabber
Posts: 32 Joined: Sat Sep 03, 2011 7:47 am
Post
by Gabber » Mon Oct 03, 2011 9:34 pm
I just have basic knowledge in java programming. Other things are pretty much trees in the forest
Gabber
Posts: 32 Joined: Sat Sep 03, 2011 7:47 am
Post
by Gabber » Mon Oct 03, 2011 9:41 pm
So I need to do full database install ? And everything what players made will be deleted including them ?
blarke
Posts: 77 Joined: Thu Nov 18, 2010 7:48 am
Post
by blarke » Mon Oct 03, 2011 10:09 pm
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
MELERIX
L2j Veteran
Posts: 6667 Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:
Post
by MELERIX » Tue Oct 04, 2011 12:37 am
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
Gabber
Posts: 32 Joined: Sat Sep 03, 2011 7:47 am
Post
by Gabber » Sat Oct 08, 2011 12:17 pm
Ok for example:
Some hackers hacked my server and spawned some raid bosses in server. How do I do a rollback to exact date?
MELERIX
L2j Veteran
Posts: 6667 Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:
Post
by MELERIX » Sat Oct 08, 2011 6:40 pm
restoring a backup from that day (if you have one ofc)
Gabber
Posts: 32 Joined: Sat Sep 03, 2011 7:47 am
Post
by Gabber » Sun Oct 09, 2011 9:23 am
And that backup would be manually made by raring server folder ofc?
))
blacksea
Posts: 458 Joined: Fri Oct 05, 2007 1:29 am
Post
by blacksea » Sun Oct 09, 2011 10:41 am
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
Gabber
Posts: 32 Joined: Sat Sep 03, 2011 7:47 am
Post
by Gabber » Sun Oct 09, 2011 1:28 pm
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 ?