Nicolas Chan
Nicolas Chan
Great suggestion! I don't want to change the default behavior (which is to always backup), so I've added this behavior as a `-g` option commit 5eaae39 to the dev branch....
This looks like a great discussion -- thanks for the awesome advice, @cgmckeever! I'll just chime in that this looks like a problem with file permissions to me. Basically there...
Make sure you also chown the *backup directory* to `minecraft`. ```bash chown -R minecraft:minecraft /opt/minecraft-backups ``` For the FTP issue, 664 is not enough because a user cannot list the...
Awesome, glad it's working!!
This is already supported through restic. You can [use an rclone backend with restic](https://restic.net/blog/2018-04-01/rclone-backend/). The backup command would look something like this: ```bash ./backup.sh -c -i /home/user/server/world -r rclone:storage-backend:/path/to/restic-repo -s...
Since you're running the server in a docker container, you probably need to expose the ports from the container to your host machine. I imagine you are already doing something...
(Also I recommend updating the script as the current version has better error handling for the case where we get the `file changed as we read it` warning.)
You shouldn't need any other scripts since I've included the contents of `rcon.sh` in `backup.sh`
Which file does it say changed? If it's `level.dat`, then this might be inevitable since that gets updated every five minutes regardless of whether `save-off` is triggered or not (see...
If you like, you could edit `backup.sh` and add a `sleep 30` after [line 420](https://github.com/nicolaschan/minecraft-backup/blob/master/backup.sh#L420). If it does fix your problem, then let me know and I can look into...