docker-mc-backup icon indicating copy to clipboard operation
docker-mc-backup copied to clipboard

New enhancing on backups "START_WHEN_PLAYERS_JOIN"

Open champ8644 opened this issue 3 years ago • 0 comments

I know that setting PAUSE_IF_NO_PLAYERS=true lets you pause backups if no players are online, and will start checking the server's player count every minute.

However, it's appeared that the back up process is starting immediately as soon as I started the server - which no player is entered yet - and cluttered the back up snapshot being made last time, plus for some modded server the waiting time before the server can start is very long, and I can't seem to config the 'right' "INITIAL_DELAY" very well.

So I'm suggest that maybe, if you includes another configurable env variable "START_WHEN_PLAYERS_JOIN=true" to let the backing up process start when first player join - so that I don't need to specify the INITIAL_DELAY and don't cluttered the back up instance, that'll be great!

Thank you very much.

champ8644 avatar Feb 05 '22 16:02 champ8644