
SevenZipBackup
专为 Minecraft 服务器打造的第一个 7-zip 备份插件。
硬盘损坏?服务器托管商跑路?误删文件?
SevenZipBackup 是一款旨在通过远程备份为您的数据提供额外安全层保护的插件。
Minecraft 世界文件数量众多且分散,非常适合进行高效压缩。因此,我们使用 7-zip 为您的服务器创建备份!
功能特性
- 使用带有 LZMA2 算法的 7z 归档格式,最多可节省 50% 的磁盘空间!
- 异步创建备份,可同时创建多个备份!
- 支持将备份上传至 Google Drive、OneDrive、Dropbox、(S)FTP 服务器或兼容 S3 的 API。
- 支持备份 Minecraft 服务器的任意文件或文件夹。
- 根据指定的数量自动清理本地和远程的旧备份。
- 完全可配置的备份间隔时间和自定义计划任务。
依赖要求
通用要求
- Java 8 或更高版本
- 推荐使用 Java 21 或更高版本以获得更好的压缩性能!
平台特定要求
- Bukkit/Spigot/Paper/Purpur
- Minecraft 1.8 - 1.21.X
基本设置
- 下载插件并将其复制到服务器的
plugins 文件夹中。
- 重启服务器。
- 编辑
plugins/SevenZipBackup 文件夹中的 config.yml 并重新加载插件。
命令
- /7zbackup backup *立即执行备份
- /7zbackup linkaccount *绑定你的云盘账户
- /7zbackup reloadconfig *重载插件配置
- /7zbackup test *测试备份任务
- /7zbackup update *热更新插件
- /7zbackup nextbackup *获取下一次备份的计划时间
- /7zbackup status *检查备份状态
- /7zbackup unlinkaccount *解绑你的云盘账户
- /7zbackup v *检查插件及环境版本
权限
- 7zbackup.backup 创建、测试和上传备份
- 7zbackup.getBackupStatus 查看备份状态
- 7zbackup.getNextBackup 获取下一次备份的计划时间
- 7zbackup.reloadConfig 重载插件配置
- 7zbackup.linkAccounts 绑定你的云盘账户
配置说明
更改消息翻译
- 查看 GITHUB 并找到 YOUR-LANGUAGE.yml。
- 复制其内容并替换到 intl.yml 中。
- 重新加载插件。
本地存储
在 config.yml 中修改 local-keep-count 以设置保留的本地备份数量。设置为 -1 表示无限保留本地备份。
完成上述操作后,默认情况下备份任务将每小时自动运行一次。
Google Drive
只需运行 /7zbackup linkaccount googledrive 并按照屏幕提示操作即可。
OneDrive
只需运行 /7zbackup linkaccount onedrive 并按照屏幕提示操作即可。
DropBox
只需运行 /7zbackup linkaccount dropbox 并按照屏幕提示操作即可。

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
- Download the plugin and copy it to the
plugins folder on your server.
- Restart your server.
- 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
- Check GITHUB and find YOUR-LANGUAGE.yml.
- Copy the content and replace them in intl.yml.
- 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
登录后参与评分
还没有评论,来抢沙发吧