DN Backup
A premium mod to automatically and manually back up your Minecraft worlds, featuring async compression, storage size/count limits, and a beautiful HUD progress tracker.
介绍
💾 DNBackUp – Advanced World Backup Mod for Fabric
DNBackUp is a premium-tier utility mod for Minecraft Fabric that ensures your worlds are always safe by creating compressed .zip backups automatically or manually. Designed for both singleplayer worlds and multiplayer servers, DNBackUp works asynchronously to protect your progress without causing any gameplay lag.
✨ Core Features
- ⚡ Zero-Lag Asynchronous Engine (Async): World compression and ZIP writing are performed on a dedicated background thread. Say goodbye to the notorious server ticks/lag spikes when backing up large worlds!
- 🖥️ Beautiful Client-Side HUD Tracker: If installed on the client, players will see a sleek progress bar in the bottom-right corner showing compression state, processed file counts, and overall size.
- 💾 Guaranteed Data Integrity (Safe Save): Before zipping, the mod automatically pauses autosave (
save-off), forces a complete write of all chunks (save-all), and resumes autosave (save-on) after finishing. - 🕒 Automated Scheduled Backups: Set up interval timers to back up your server periodically. Includes an option to skip backups if no players are online to save storage.
- ⚙️ Smart Retention Management: Automatically prevents your storage from filling up. Configure maximum backup counts and maximum storage folder limits (in MB) — the oldest backups will be purged automatically.
- 📂 Extra Files/Folders Backup: Need to back up your server configs, server properties, or custom mods directories? Simply add them to the configuration list!
- 🤫 Silent Mode option: Keeps chat clean by suppressing server backup announcements while retaining the HUD progress bar.
🖥️ Client HUD Demonstration
When a backup starts, a translucent widget will slide onto the bottom-right corner:
- 🔵 Cyan (Compressing): Live file counter and progress bar.
- 🟢 Emerald Green (Success): Lights up for 3 seconds on completion.
- 🔴 Red (Failed): Displays the error details on failure.
🛠️ Commands & Permissions
Requires administrator privileges (OP / Permission Level 4)
| Command | Description |
|---|---|
/dnbackup start |
Instantly starts a manual backup process. |
/dnbackup reload |
Reloads the configuration from config/dnbackup.json. |
/dnbackup status |
Displays detailed backup engine status (Active state, last backup timestamp, limits). |
⚙️ Configuration (config/dnbackup.json)
The config file is automatically generated upon the first boot. Here are the available parameters:
| Property | Type | Default | Description |
|---|---|---|---|
maxBackupsToKeep |
int |
10 |
Maximum number of backups to store. Set to 0 for unlimited. |
maxStorageMb |
long |
5000 |
Max storage limit in MB for the backup folder. Set to 0 for unlimited. |
timerIntervalMinutes |
int |
30 |
Minutes between automatic backups. |
compressionLevel |
int |
5 |
ZIP compression level (0 to 9, where 9 is maximum compression). |
onlyWhenPlayersOnline |
boolean |
true |
If true, auto-backups will only run when players are active. |
backupOnStartup |
boolean |
true |
Auto-trigger a backup immediately when the server/world starts. |
silent |
boolean |
true |
Silence system announcement chat messages (HUD progress is still visible). |
extraFiles |
List<String> |
[] |
List of relative paths (from root directory) of extra files/folders to back up. |
常见问题
DN Backup 支持哪些 Minecraft 版本?
DN Backup 支持 Minecraft Java 版 26.1.2,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
DN Backup 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分