💾 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. |