nimmis / docker-spigot

A docker container with spigot, builds spigot.jar on first start
177 stars 81 forks source link

Mounting persistent world data when server alive #38

Closed dkotama closed 4 years ago

dkotama commented 6 years ago

Hi thank you for making this container,

i want to know the possibilities of backing up my current world, because the server already running like 1 weeks and for running -v command, it means i must run a new container

please help thank you

recklessop commented 5 years ago

Use docker -lt command to get a bash prompt inside of the container, then copy (via sftp or something) the world data to the docker host. Once you have it on the docker host... in a folder, you can stop the current container.

Start a new container using -v and point it to the folder that you sftp'd all your data out to.