介绍
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:
- Fabric API – https://modrinth.com/mod/fabric-api?hl=en-USi

Need a Server?
常见问题
Simple Backup 支持哪些 Minecraft 版本?
Simple Backup 支持 Minecraft Java 版 1.18–1.20.1,共 10 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Simple Backup 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
spoorn 的其他作品
查看全部 →Climb Ladders Fast [Fabric/Forge]
Climb ladders faster
Spoorn Weapon Attributes [Fabric/Forge]
Adds randomized attributes to Weapons, fully configurable
Halogen
Free and open-source rendering engine replacement for the Minecraft client that greatly improves frame rates, reduces micro-stutter, and fixes graphical issues in Minecraft
SpoornPacks
API Library for automagically generating Resource files and injecting them as a Resource Pack

评论
登录后评论和评分