Minecraft backup and rollback tools
git clone https://github.com/Heavenser/mctools.git
cd mctools
chmod +x mctools.sh
This script can backup your Minecraft game data and rollback it when you need, also can clean your backup files.
backup:
mctools backup from /path/to/game/dir to /path/to/backup/dir
backup with specified compression tool (support zstd, lz4 and gzip, NOT support bzip2 and xz because they are to slow):
mctools backup from /path/to/game/dir to /path/to/backup/dir use zstd
rollback:
mctools rollback from /path/to/backup/dir to /path/to/game/dir
clean:
mctools clean /path/to/backup/dir
Heavenser Lee (hvss#live.hk)