LiveOverflow/PwnAdventure3

How to backup game progress

JavaProgrammerLB opened this issue · 2 comments

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

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

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;