LiveOverflow / PwnAdventure3

PwnAdventure3 Server
GNU General Public License v3.0
631 stars 134 forks source link

How to backup game progress #16

Open JavaProgrammerLB opened 6 years ago

JavaProgrammerLB commented 6 years ago

Hi everyone, I set up my private server successful, but I lose my game progress every time i stop the docker compose, I want to know how can i backup the game progress

Nis5l commented 4 years ago

Hey, if you have found out, may you tell me how you did it?

3bhady commented 4 years ago

I just commented out thes lines in server/MasterServer/initdb.sql -- DROP TABLE IF EXISTS users CASCADE;

-- DROP TABLE IF EXISTS teams CASCADE;

-- DROP TABLE IF EXISTS team_state CASCADE;

-- DROP TABLE IF EXISTS characters CASCADE;

-- DROP TABLE IF EXISTS char_items CASCADE;

-- DROP TABLE IF EXISTS char_slots CASCADE;

-- DROP TABLE IF EXISTS char_quests CASCADE;

-- DROP TABLE IF EXISTS char_pickups CASCADE;

-- DROP TABLE IF EXISTS names CASCADE;

-- DROP TABLE IF EXISTS info CASCADE;