{"repo":"itzg/docker-mc-backup","free":true,"listed":false,"github":"https://github.com/itzg/docker-mc-backup","clone":"git clone https://github.com/itzg/docker-mc-backup.git","description":"Provides a side-car container to backup itzg/minecraft-server server data","language":"Shell","stars":519,"topics":["minecraft","backup","docker-image","hacktoberfest"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Provides a side-car container to back up itzg/minecraft-server server data. Backups are coordinated automatically by using RCON to flush data, pause writes, and resume after backup is completed. This does NOT support Bedrock edition. Use a community provided solution for that. Environment variables Common variables - SRC DIR =/data - BACKUP NAME =world - NAME WITH VERSION : Set to \"true\" to append the server version to the backup name. - BACKUP METHOD =tar : see below - INITIAL DELAY =2m - BACKUP INTERVAL =24h - BACKUP ON STARTUP =true : Set to false to skip first backup on startup. - PAUSE IF NO PLAYERS =false - PLAYERS ONLINE CHECK INTERVAL =5m - CRON SCHEDULE : disabled unless set, see below how to enable - CRON BACKUP UID : Can be set to user id to run cron schedule as non-root. - PRUNE BACKUPS DAYS =7 - PRUNE BACKUPS COUNT = -disabled unless set (only works with tar/rsync) - PRUNE RESTIC RETENTION =--keep-within 7d - RCON HOST =localhost - RCON PORT =25575 - RCON PASSWORD =minecraft - RCON PASSWORD FILE : Can be set to read the RCON password from a file. Overrides RCON PASSWORD if both are set. - RCON RETRIES =5 : Set to a negative value to retry indefinitely - RCON RETRY INTERVAL =10s - SERVER HOST = RCON HOST : Can be set if the game and RCON are accessible on different addresses. - SERVER PORT =25565 - INCLUDES =. : comma separated list of include patterns relative to directory specified by SRC DIR where . specifies all of that directory should be included in the back","default_branch":null,"files":null,"tree":[],"storefront":"/r/itzg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/itzg/docker-mc-backup/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}