itzg / itzg/docker-minecraft-bedrock-server
feature RQ -- Bedrock Worlds backup
- Dominant language
- Shell
- Stars
- 1.9k
- Forks
- 302
- Avg merge
- 2h 26m
- Merged PRs (30d)
- 2
Description
My server's been been working great on my MacMini, thanks to this repo! With few friends we've started building a village, with people connecting at various times. It would be a shame if all wonderful builds they create got destroyed.
Bedrock server has the built-in backup functionality which works as I tested. But it is far from automated.
It involves tying in the server console `save hold`, `save query`, copy world files and `save resume`.
I was wondering if it would be somehow possible to automate it. Run with an interval. Perhaps a shell script in the container sending mentioned commands to the Bedrock console and then copying files to an external volume.
I could work on this but don’t have clue where to start...
Maybe I could use something like Expect?
Contributor guide
Research direction
The issue names no files or tests. Start by reviewing how the container exposes the Bedrock server console and volumes, then define automation around `save hold`, `save query`, copying world files, and `save resume`; done means scheduled backups are written to the external volume without interrupting the server.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100