跳到正文

Simple Backup

作者:spoorn

Simple Backup utility for servers and singleplayer worlds

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

https://img.shields.io/static/v1?label=%20&message=other%20projects&color=4b5966&labelColor=658f79&logo=curseforge&logoColor=white&style=for-the-badge https://img.shields.io/discord/990178919795785749?color=4b5966&label=%20&labelColor=658f79&logo=discord&logoColor=white&style=for-the-badge https://img.shields.io/github/stars/spoorn/SimpleBackup?color=4b5966&labelColor=658f79&label=github%20&logo=github&logoColor=white&style=for-the-badge https://img.shields.io/github/issues-raw/spoorn/SimpleBackup?color=4b5966&labelColor=658f79&label=issues%20&logo=github&logoColor=white&style=for-the-badge

Description


Simple Backup utility for servers.  Automatic backups at intervals, with configurable options such as compression to zip file, pausing auto backups if no players are online, etc.

See https://github.com/spoorn/SimpleBackup/blob/main/SUMMARY.md for technical details on the backup logic, compression, benchmarks, multi-threading, etc.

Features


  • Automatic backups at configurable intervals
  • Pausing backups if no players are online to save resources
  • Backups are done asynchronously to minimize impact on game performance during backups
  • Compressing backup to .zip or .tar.lz4 file
  • Configurations to limit number of backups to keep, and guards to ensure backups do not exceed the disk space
  • Manual backups can be triggered with command /simplebackup start, /simplebackup zip, /simplebackup lz4, /simplebackup directory
  • Manual backup permissions can be configured in the config
  • Backup is stored in the game directory under backup/ parallel to mods/ and config/ folders, or can be configured to any absolute path in the system
  • Backup file format is YYYY-MM-DD\_HH-MM-SS(.zip|.tar.lz4) (example: backup/2022-05-04\_05-04-13.zip for ZIP format, or  backup/2022-05-04\_05-04-13/ for DIRECTORY format)
  • Message will be broadcast to players when backup is in progress.  The message is configured in the config to allow for language translations and keep the mod completely server-side.  The messages can be disabled
  • And yeah, the mod is only required on the server!

For help on choosing which backup format to use, see https://github.com/spoorn/SimpleBackup/blob/main/README.md

Config


You can tune all the features in the config file at config/simplebackup.json5. Check out the config documentation at https://github.com/spoorn/SimpleBackup/blob/main/config-documentation.json5 for more details

Note: the config file must be in UTF-8 format. For example, if you’re using a special keyboard or text editor to type special characters for the broadcast messages, it must be encoded in UTF-8. If you aren’t sure, you can put your special characters in a tool like https://checkserp.com/encode/unicode/, and use that in the config file, which will be able to be parsed correctly.

Dependencies


This mod requires:

requires fabric

Need a Server?


https://bisecthosting.com/spoorn

常见问题

Simple Backup 支持哪些 Minecraft 版本?

Simple Backup 支持 Minecraft Java 版 1.18–1.20.1,共 10 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Simple Backup 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

spoorn 的其他作品

查看全部 →