Перейти к содержимому
Mineforgian

SevenZipBackup

The very first 7-zip backup plugin for Minecraft server. Saving up to 50% of drive storage copmparing to zip archives!

Загрузки
266
Подписчики
2
Обновлён
30 июня 2026 г.
Лицензия
MIT

Опубликован 16 октября 2025 г.

ONE image to introduce this plugin!

SevenZipBackup

The very first 7-zip backup plugin for Minecraft server.

Hard drive died? Server hosting provider stopped? Accidentally deleted?
SevenZipBackup is a plugin that aims to provide an extra layer of security to your data by backing it up remotely.
Minecraft world files are numerous and fragmented, making them ideal for solid compression.So we use 7-zip to create backups for your server!

Features

  • Saving up to 50% of your drive space using 7z archive with LZMA2!
  • Async backup creation, create multiple backups at the same time!
  • You can also upload backups to Google Drive, OneDrive, Dropbox, (S)FTP server or S3 compatible api.
  • Backup any files or folders for your Minecraft server.
  • Automatically purges backups locally and remotely according to a specified amount.
  • Fully configurable backup interval and custom schedule.

Requirements

General Requirements

  • Java 8 or higher
  • Java 21 or higher recommended for compressing performance!

Platform Specific Requirements

  • Bukkit/Spigot/Paper/Purpur
  • Minecraft 1.8 - 1.21.X

Basic Setup

  1. Download the plugin and copy it to the plugins folder on your server.
  2. Restart your server.
  3. Edit your config.yml in plugins/SevenZipBackup folder and reload plugin.

Commands

  • /7zbackup backup *Backup immediately
  • /7zbackup linkaccount *Bind your cloud drive account
  • /7zbackup reloadconfig *Reload plugin config
  • /7zbackup test *Running a test for backup tasks
  • /7zbackup update *Hot update plugin
  • /7zbackup nextbackup *Get next backup scheduled time
  • /7zbackup status *Check backup status
  • /7zbackup unlinkaccount *Unbind your cloud drive account
  • /7zbackup v *Check plugin and environment version

Permissions

  • 7zbackup.backup Create, test and upload backips
  • 7zbackup.getBackupStatus Check backup status
  • 7zbackup.getNextBackup Get next backup scheduled time
  • 7zbackup.reloadConfig Reload plugin config
  • 7zbackup.linkAccounts Bind your cloud drive account

Configurations

Change messages translations

  1. Check GITHUB and find YOUR-LANGUAGE.yml.
  2. Copy the content and replace them in intl.yml.
  3. Reload the plugin.

Local

Change local-keep-count in the config.yml to set the number of backups to keep locally. Set to -1 to keep an unlimited number of backups locally. Once you have completed the above instructions, backups will run automatically every hour by default.

Google Drive

Simply run /7zbackup linkaccount googledrive and follow the on-screen instructions.

OneDrive

Simply run /7zbackup linkaccount onedrive and follow the on-screen instructions.

DropBox

Simply run /7zbackup linkaccount dropbox and follow the on-screen instructions.

Ченджлог

0.1.1Релиз26.1.1, 26.1.2, 26.2 · 30 июня 2026 г.

IMPORTANT

This version replaced 7-zip Java library with a built-in 7z command-line tool, resulting in remarkable improvements in compression performance. The plugin now automatically skips database and locked files when collecting files. This is a limitation of the 7z console; otherwise, the backup archive would fail to create immediately. There are no changes to the configuration files in this update.

⚠PLEASE NOTE THAT this release includes a built-in 7z command-line executable to bypass the poor compression performance of Java 7zip library.

Blindly using executables from unknown sources may cause potential security risks!

If you cannot trust the executable pakaged with this plugin, please visit https://www.7-zip.org/download.html and download 7-Zip standalone console executable for your operating system. Just rename and put the 7z executable in the plugins/SevenZipBackup/7zr folder of your own. The executable filename for the Windows version is 7zr.exe, and for the Linux version, it is 7zr. image

Tested on Folia 1.21.11, this new version of 7z compression methods offers at least a 10X performance improvement over the previous version. The time consumed to run a whole backup has plummeted from 500s to 30s. Since the 7z console runs in a separate process from Minecraft server, compression levels will not impact server performance any more. Plugin can fully utilize the system's CPU performance.

重要事项

这个版本将压缩文件创建的实现从Java 7zip压缩库替换为了内置7z命令行工具,带来了惊人的压缩性能改善。 插件现在收集文件时会自动跳过数据库和被锁定的文件——这是7z命令行的限制,否则备份压缩文件会直接创建失败。 本次更新没有配置文件的变化。

⚠特别注意:此版本包含了一个7z命令行可执行文件,以此绕过Java 7z库低下的压缩性能。

盲目地使用未知来源的可执行文件可能造成潜在安全风险!

如果你无法信任此插件打包的7z可执行文件,请访问 https://www.7-zip.org/download.html 并且下载你的操作系统对应版本的7z命令行可执行文件。 只需重命名并将其放进你的 plugins/SevenZipBackup/7zr 文件夹。 Windows系统下的可执行文件名为 7zr.exe,而Linux系统下则是 7zr

通过在Folia 1.21.11服务器上的测试,这个新版本的7z压缩方法对比旧版本实现了至少10倍的性能飞跃。 完成一次备份所用的时间从500秒暴降到30秒。 由于7z命令行运行在Minecraft服务器以外的独立进程上,压缩级别不再会影响服务器性能。插件可以充分调度系统CPU的全部性能。

0.1.1Бета26.1, 26.1.1, 26.1.2 · 25 мая 2026 г.

IMPORTANT

This version features a major reconstruction of the methods for creating compressed files and has only been tested on Windows; therefore, it is marked as an experimental release.

⚠PLEASE NOTE THAT this release includes a built-in 7z command-line executable to bypass the poor compression performance of Java 7zip library.

Blindly using executables from unknown sources may cause potential security risks!

If you cannot trust the executable pakaged with this plugin, please visit https://www.7-zip.org/download.html and download 7-Zip standalone console executable for your operating system. Just rename and put the 7z executable in the plugins/SevenZipBackup/7zr folder of your own. The executable filename for the Windows version is 7zr.exe, and for the Linux version, it is 7zr.

Tested on Folia 1.21.11, this new version of 7z compression methods offers at least a 10X performance improvement over the previous version. The time consumed to run a whole backup has plummeted from 500s to 30s. Since the 7z console runs in a separate process from Minecraft server, compression levels will not impact server performance any more. Plugin can fully utilize the system's CPU performance.

重要事项

这个版本对压缩文件创建的实现进行了大幅度重构,并且只在Windows环境下测试通过,因此它被标记为实验性的发布版本。

⚠特别注意:这个版本包含了一个7z命令行可执行文件,以此绕过Java 7z库低下的压缩性能。

盲目地使用未知来源的可执行文件可能造成潜在安全风险!

如果你无法信任此插件一同打包的7z可执行文件,请访问 https://www.7-zip.org/download.html 并且下载你的操作系统对应版本的7z命令行可执行文件。 只需重命名并将其放进你的 plugins/SevenZipBackup/7zr 文件夹。 Windows系统下的可执行文件名为 7zr.exe,而Linux系统下则是 7zr

通过在Folia 1.21.11服务器上的测试,这个新版本的7z压缩方法对比旧版本实现了至少10倍的性能飞跃。 完成一次备份所用的时间从500秒暴降到30秒。 由于7z命令行运行在Minecraft服务器以外的独立进程上,压缩级别不再会影响服务器性能。插件可以充分调度系统CPU的全部性能。

0.1.0Релиз26.1, 26.1.1, 26.1.2 · 14 мая 2026 г.

New feature

  • Now fully support folia server. Tested on Folia 1.21.11.

Fixed

  • fix Error:attempted to register task while disabled
  • fix Warn:Initializing Legacy Material Support
  • fix Warn:java.nio.file.NoSuchFileException There's no changes in configuration. Go on updating without worries!
0.0.5Релиз1.21.9, 1.21.10, 1.21.11 · 11 декабря 2025 г.

New feature:

  • Now backup progress can be shown in bossbar. Style and color configurable.

Important:

  • Configuration has updated. Please check show-bossbar-progress in config.yml.
#You can choose from 7 colors: BLUE, GREEN, PINK, PURPLE, RED, WHITE and YELLOW
#可用7钟颜色:BLUE, GREEN, PINK, PURPLE, RED, WHITE and YELLOW
bossbar-color: "BLUE"
#You can choose from 5 styles: SOLID, SEGMENT_6, SEGMENT_10, SEGMENT_12, SEGMENT_20
#可用风格:SOLID, SEGMENT_6, SEGMENT_10, SEGMENT_12, SEGMENT_20
bossbar-style: "SOLID"
  • Translation has updated. Please check bossbar-create in intl.yml.
bossbar-create: "&b服务器备份中,可能卡顿"
bossbar-preparing: "&b服务器备份,收集文件中"
bossbar-progress: "&b服务器备份中:<progress>% (<num>/<total>文件)"

For non-chinese plugin user, check translations folder for updates.

Fixed:

  • Fixed CPU affinity function
  • Corrected translation mistakes
0.0.4Релиз1.21.8, 1.21.9, 1.21.10 · 19 октября 2025 г.

New feature:

  • New configurations for backup threads counts and CPU affinity. Now you can specify CPU cores to create backups!

Important:

  • Configuration has updated. Please check 7z-compression-level in config.yml.

Fixed:

  • Backups purging after creation.

Update:

  • Translations
0.0.3Релиз1.21.8, 1.21.9, 1.21.10 · 16 октября 2025 г.

New feature

  • Asynchronous compression functionality for multiple backup tasks

Update

  • Translations
  • config.yml become more detailed

Technical

  • Renamed package and reconstruct

Комментарии

Загружаем…