itzg / docker-mc-backup

Provides a side-car container to backup itzg/minecraft-server world data
https://hub.docker.com/r/itzg/mc-backup
MIT License
332 stars 52 forks source link

Check for .paused file before querying for players #115

Closed kylestang closed 2 years ago

kylestang commented 2 years ago

Closes issue #43 by checking for a file called .paused in the source directory before waking the server to check for players. Relies on this PR to create the file. As written, the backup loop will still wake the server to complete the backup, assuming rcon connects to the knockd interface.