← Назад к ресурсам

Simple Backup

Simple Backup utility for servers and singleplayer worlds

Modrinth utility

Описание

[![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/static/v1?label=%20&message=other%20projects&color=4b5966&labelColor=658f79&logo=curseforge&logoColor=white&style=for-the-badge)](https://modrinth.com/user/spoorn "https://modrinth.com/user/spoorn") [![https://img.shields.io/discord/990178919795785749?color=4b5966&label=%20&labelColor=658f79&logo=discord&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://discord.gg/xfddZwG898 "https://discord.gg/xfddZwG898") [![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/stars/spoorn/SimpleBackup?color=4b5966&labelColor=658f79&label=github%20&logo=github&logoColor=white&style=for-the-badge)](https://github.com/spoorn/SimpleBackup "https://github.com/spoorn/SimpleBackup") [![https://img.shields.io/github/issues-raw/spoorn/SimpleBackup?color=4b5966&labelColor=658f79&label=issues%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)](https://github.com/spoorn/SimpleBackup/issues "https://github.com/spoorn/SimpleBackup/issues") **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](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](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](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](https://modrinth.com/mod/fabric-api?hl=en-US)  ![requires fabric](https://i.imgur.com/HabVZJR.png) Need a Server? -------------- [![https://bisecthosting.com/spoorn](https://i.imgur.com/KPURPK0.png)](https://bisecthosting.com/spoorn "https://bisecthosting.com/spoorn")