AutoBackup - 专业服务器备份解决方案
AutoBackup 是一款专为运行 1.21 及以上版本的 Paper Minecraft 服务器设计的高性能自动备份系统。该插件提供企业级的备份功能,通过智能异步处理实现零服务器延迟。
为什么选择 AutoBackup?
零性能影响 - 所有备份操作都在独立的线程中异步运行,确保即使在大型世界备份期间,服务器也能保持完美的 TPS。玩家不会经历任何卡顿或中断。
智能调度 - 设置灵活的自动备份计划。可以选择基于间隔的备份(每 X 小时)或基于时间的备份(每天凌晨 3 点等特定时间)。插件包含预备份警告,以便在备份开始前通知玩家。
智能存储管理 - 再也不用担心磁盘空间不足。AutoBackup 自动管理您的备份存储,支持可配置的保留策略。您可以按备份数量、年龄或最小可用磁盘空间设置限制,旧备份将自动清理。
TPS 感知操作 - 插件会监控服务器的 TPS,如果性能下降到您配置的阈值以下,则会智能地推迟备份。这确保了备份永远不会在高峰时段或高负载情况下干扰游戏。
快速压缩 - 备份使用 ZIP 格式进行压缩,并支持可配置的压缩级别(0-9)。根据您的需要在速度和文件大小之间取得平衡。典型的备份比原始世界大小小 30-50%。
一键还原 - 从备份恢复就像运行单个命令一样简单。插件会自动处理所有事情,包括服务器重启,使灾难恢复变得快速且无痛。
Discord 集成 - 通过 Discord Webhook 通知随时掌握动态。当备份开始、完成或遇到错误时,即使您不在服务器旁,也会收到警报。
全面管理 - 完整的命令套件,用于创建、列出、还原和删除备份。查看详细的备份信息,包括大小、持续时间、时间戳和验证状态。
主要特性
✅ 异步处理 - 备份期间零服务器延迟
✅ 自动调度 - 基于间隔和时间的备份
✅ 智能保留 - 基于数量、年龄或磁盘空间的自动清理
✅ ZIP 压缩 - 可配置级别(0-9)以优化大小
✅ TPS 监控 - 低性能时暂停
✅ 进度跟踪 - 实时备份进度更新
✅ 备份验证 - MD5 校验和验证
✅ Discord Webhooks - 实时通知
✅ 轻松还原 - 一条命令即可恢复备份
✅ 元数据跟踪 - 每个备份的 JSON 元数据
适用场景
- 生产服务器 - 可靠的备份,零停机时间
- 开发服务器 - 频繁备份以供测试
- 大型世界 - 高效处理多千兆字节的世界
- 模组服务器 - 备份插件数据和配置
- 网络服务器 - 可根据不同服务器规模进行配置
快速开始
- 将插件安装到
plugins/ 文件夹中
- 启动服务器以生成默认配置
- 编辑
plugins/AutoBackup/config.yml 以自定义设置
- 运行
/backup reload 应用更改
- 使用
/backup now 创建您的第一个备份
- 备份现在将根据您的计划自动运行
命令
/backup now - 立即创建备份
/backup list - 查看所有可用备份及其详细信息
/backup restore <name> - 从特定备份还原
/backup delete <name> - 手动删除备份
/backup status - 查看系统状态和统计信息
/backup reload - 无需重启即可重新加载配置
/backup cleanup - 手动触发保留清理
所有命令都支持 Tab 补全,方便使用。
配置亮点
该插件高度可配置,以适应任何服务器设置:
- 备份位置 - 将备份存储在本地或外部驱动器上
- 世界选择 - 备份所有世界或选择特定的世界
- 包含目录 - 添加插件文件夹、配置文件等
- 排除模式 - 跳过临时文件和缓存
- 性能调优 - 调整线程数、块大小和 TPS 阈值
- 通知设置 - 自定义玩家和控制台消息
- Discord 集成 - 配置 Webhook 通知
性能
AutoBackup 针对各种规模的服务器进行了优化:
- 小型服务器 (< 1GB): 每次备份约 30-60 秒
- 中型服务器 (1-5GB): 每次备份约 2-5 分钟
- 大型服务器 (5-10GB): 每次备份约 5-15 分钟
得益于基于块的文件处理,内存占用极小,CPU 使用率可通过压缩级别设置进行配置。
要求
- Minecraft 版本: 1.21 或更高版本
- 服务器软件: Paper(不兼容 Spigot/Bukkit)
- Java 版本: 21 或更高版本
- 磁盘空间: 建议至少为ワールド大小的 2 倍
支持与文档
需要帮助吗?插件包含了完整的文档。检查配置文件以获取每个设置的详细注释,或使用 /backup status 命令验证您的设置。
许可证
AutoBackup 是开源软件,根据 MIT 许可证发布。您可以自由出于任何目的使用、修改和分发它。
立即下载 AutoBackup,从此不再担心丢失服务器数据!
AutoBackup - Professional Server Backup Solution
AutoBackup is a high-performance automatic backup system designed specifically for Paper Minecraft servers running version 1.21 and above. This plugin provides enterprise-grade backup functionality with zero server lag through intelligent async processing.
Why Choose AutoBackup?
Zero Performance Impact - All backup operations run asynchronously in separate threads, ensuring your server maintains perfect TPS even during large world backups. Players won't experience any lag or interruptions.
Intelligent Scheduling - Set up automatic backups on flexible schedules. Choose interval-based backups (every X hours) or time-based backups (specific times like 3 AM daily). The plugin includes pre-backup warnings to notify players before backups begin.
Smart Storage Management - Never worry about running out of disk space. AutoBackup automatically manages your backup storage with configurable retention policies. Set limits by backup count, age, or minimum free disk space, and old backups are automatically cleaned up.
TPS-Aware Operation - The plugin monitors your server's TPS and intelligently delays backups if performance drops below your configured threshold. This ensures backups never interfere with gameplay during peak hours or high-load situations.
Fast Compression - Backups are compressed using ZIP format with configurable compression levels (0-9). Balance between speed and file size based on your needs. Typical backups are 30-50% smaller than the original world size.
One-Click Restoration - Restoring from a backup is as simple as running a single command. The plugin handles everything automatically, including server restart, making disaster recovery quick and painless.
Discord Integration - Stay informed with Discord webhook notifications. Get alerts when backups start, complete, or encounter errors, even when you're away from the server.
Comprehensive Management - Full command suite for creating, listing, restoring, and deleting backups. View detailed backup information including size, duration, timestamp, and verification status.
Key Features
✅ Async Processing - Zero server lag during backups
✅ Automatic Scheduling - Interval and time-based backups
✅ Smart Retention - Auto-cleanup based on count, age, or disk space
✅ ZIP Compression - Configurable levels (0-9) for optimal size
✅ TPS Monitoring - Pauses during low performance
✅ Progress Tracking - Real-time backup progress updates
✅ Backup Verification - MD5 checksum validation
✅ Discord Webhooks - Real-time notifications
✅ Easy Restoration - One-command backup recovery
✅ Metadata Tracking - JSON metadata for each backup
Perfect For
- Production Servers - Reliable backups with zero downtime
- Development Servers - Frequent backups for testing
- Large Worlds - Handles multi-gigabyte worlds efficiently
- Modded Servers - Backs up plugin data and configurations
- Network Servers - Configurable for different server sizes
Quick Start
- Install the plugin in your
plugins/ folder
- Start your server to generate the default configuration
- Edit
plugins/AutoBackup/config.yml to customize settings
- Run
/backup reload to apply changes
- Use
/backup now to create your first backup
- Backups will now run automatically based on your schedule
Commands
/backup now - Create an immediate backup
/backup list - View all available backups with details
/backup restore <name> - Restore from a specific backup
/backup delete <name> - Delete a backup manually
/backup status - View system status and statistics
/backup reload - Reload configuration without restart
/backup cleanup - Manually trigger retention cleanup
All commands support tab completion for easy use.
Configuration Highlights
The plugin is highly configurable to fit any server setup:
- Backup Location - Store backups locally or on external drives
- World Selection - Backup all worlds or choose specific ones
- Include Directories - Add plugin folders, configs, etc.
- Exclude Patterns - Skip temporary files and caches
- Performance Tuning - Adjust threads, chunk size, and TPS threshold
- Notification Settings - Customize player and console messages
- Discord Integration - Configure webhook notifications
Performance
AutoBackup is optimized for servers of all sizes:
- Small Servers (< 1GB): ~30-60 seconds per backup
- Medium Servers (1-5GB): ~2-5 minutes per backup
- Large Servers (5-10GB): ~5-15 minutes per backup
Memory usage is minimal thanks to chunk-based file processing, and CPU usage is configurable through compression level settings.
Requirements
- Minecraft Version: 1.21 or higher
- Server Software: Paper (not compatible with Spigot/Bukkit)
- Java Version: 21 or higher
- Disk Space: At least 2x your world size recommended
Support & Documentation
Need help? Full documentation is included with the plugin. Check the config file for detailed comments on every setting, or use the /backup status command to verify your setup.
License
AutoBackup is open-source software released under the MIT License. You're free to use, modify, and distribute it for any purpose.
Download AutoBackup today and never worry about losing your server data again!
评论 0
登录后参与评分
还没有评论,来抢沙发吧