{"repo":"nicolaschan/minecraft-backup","free":true,"listed":false,"github":"https://github.com/nicolaschan/minecraft-backup","clone":"git clone https://github.com/nicolaschan/minecraft-backup.git","description":"Backup script for Minecraft servers on Linux. Supports screen, tmux, RCON, and docker. Supports tar and restic backup format.","language":"Shell","stars":251,"topics":["bash","backup","minecraft","minecraft-server","rcon","minecraft-backup","restic","docker"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Minecraft Backup Backup script for Minecraft servers on Linux. Supports servers running in screen, tmux, or with RCON enabled. Supports tar file or restic backup backends. Features - Create backups of your world folder - Manage deletion of old backups - \"thin\" - keep last 24 hourly, last 30 daily, and use remaining space for weekly backups - \"sequential\" - delete oldest backup - Works on vanilla (no plugins required) - Print backup status to the Minecraft chat Install Make sure your system has tar and your chosen compression algorithm ( gzip by default) installed. If using RCON, you will also need to have the xxd command. Usage This will show chat messages ( -c ) and save a backup of /home/user/server/world into /mnt/storage/backups using the default thinning deletion policy for old backups. Command line options: Automate backups with cron - Edit the crontab with crontab -e - Example for hourly backups: Retrieving Backups Always test your backups! Backups are in the tar format and compressed depending on the option you choose. To restore, first decompress if necessary and then extract using tar. You may be able to do this in one command if tar supports your compression option, as is the case with gzip : Example: The restored worlds should be inside the restored-world directory, possibly nested under the parent directories. Then you can move your restored world to your Minecraft server folder under the proper name and path so the Minecraft server uses it. With restic Use resti","default_branch":null,"files":null,"tree":[],"storefront":"/r/nicolaschan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nicolaschan/minecraft-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."}