Closed test482 closed 4 years ago
Hey @test482 sorry for the delay. Each volume plays an important role.
./DSTClusterConfig:/home/dst/.klei/DoNotStarveTogether/DSTWhalesCluster
:
This is where the cluster settings are stored, and they are shared by both Master and Caves shards. These files live in the project and are mounted into the shards so they can load these settings.
./volumes/mods:/home/dst/server_dst/mods
:
You probably don't see this because you don't have any mods enabled, but if you had you'd also see that there. This volume is for mods to be reused between shards without unnecessary re-download every time you start the game.
Regarding your question about moving VPS: Moving the entire dst-dedicated-server
folder should work. Some people had issues with that before due to system permissions, so just check file ownership and permissions after moving to make sure the correct users have the right access.
I am sorry for my poor English.
What is the host OS? (Windows, Linux, Mac? Which version?) OS: Ubuntu 18.04.4 LTS x86_64 Docker version: 19.03.8 docker-compose version: 1.25.4, build 8d51620a
Where are you running it? (Local/own computer, VPS, AWS?) VPS
logs Master_server_log.txt Caves_server_log.txt
I started a dst server three months ago, everything is fine.
but, today i want migrate dst-Server to my new VPS. At the beginning, i don't know how to migrate, when i run
docker volume ls
, i see two volumes listed:and when i run
docker inspect dst_master
anddocker inspect dst_caves
:when i
cd
to the directory which listed ondocker inspect
:it is nothing in there, only one directory
DSTWhalesCluster
, same as other volume.My doubt is i see below text on
docker-compose.yml
:it's means should only use the host directory to be
DSTClusterConfig
, right? why there have two volume created?and i have other question, if i want move dst-Server for one VPS to other VPS, do I only need to package the entire folder
dst-dedicated-server
, and re-run it?