
Just Enough Backups (JEB)
Backup mod that keeps your worlds safe with automatic and manual backups, with an easy in-game UI to create, manage, and restore them.
- Загрузки
- 4K
- Подписчики
- 18
- Обновлён
- 12 августа 2026 г.
- Лицензия
- MIT
Опубликован 10 мая 2026 г.
Just Enough Backups is a Fabric mod that adds server-side world backups with a usable in-game workflow.
It supports:
- full, partial, and differential backups
- manual backups through commands and UI
- automatic scheduled backups
- configurable public backup/restore announcements
- retention by backup count
- retention by total backup size per world
- restore preparation from the backup browser
- a configurable client HUD popup with live preview
- parallel (multi-threaded) scanning, compression, and restore extraction
- optional Mod Menu integration
The mod is designed to keep the actual backup logic on the server side while exposing management and configuration through a client UI.
Features
Backup types
- Full: stores a complete snapshot of the world.
- Partial: stores changes relative to a base backup.
- Differential: stores changes relative to a base backup, while keeping a separate retention bucket from partial backups.
Dependencies between backups are tracked. Retention and delete operations respect those dependencies, so required base backups are preserved when newer partial or differential backups still depend on them.
Automatic backups
Automatic backups are driven by per-type schedulers (FULL, DIFFERENTIAL, PARTIAL) and can be configured to:
- run independently based on configured intervals for each backup type
- send optional public warning before an automatic backup starts
- pause when no players have been online since the last backup
- run on server start
- run on server stop
Public announcements can be sent to chat, sent to the action bar, or disabled.
Retention policy
Retention can be configured in two ways at the same time:
- count-based retention
- keep the newest
Xfull backups - keep the newest
Xpartial backups - keep the newest
Xdifferential backups
- keep the newest
- size cap per world
- optional hard cap for the total size of a world's backup folder
- applied to the final published backup set
- respects dependency chains
If a new backup would exceed the configured space cap even after deleting every backup that is allowed to be removed, creation fails instead of publishing an invalid final state.
Performance: parallel processing
Backups and restores use multiple worker threads to speed up large worlds:
- scanning / hashing: the world snapshot scan runs across
threadCountthreads (up to one per CPU core), reading and hashing files in parallel - compression: the ZIP archive is written with parallel compression
- restore extraction: backup ZIP files are extracted across
threadCountthreads
The number of threads is controlled by threadCount in the config and can be set between 1 and the maximum number of CPU threads (default: CPU cores minus two). Lower values reduce CPU usage; higher values speed up large worlds.
Backup management UI
The backup browser includes:
- refresh
- create backup
- rename backup
- delete backup
- restore backup
- dependency-aware inline details
- search/filtering
Manual backup creation supports a custom file name from both the command line and the UI.
Config UI and popup preview
The config screen exposes:
- backup mode and scheduler options
- retention rules
- permission level
- integrity mode
- backup directory and temporary backup directory
- excluded paths
- popup text, colors, channels, and layout
The popup preview screen lets you move and preview the HUD state before saving.
On a dedicated server the config screen is client-side only: it shows the HUD and Preview tabs (which apply locally to the popup), and server settings are edited on the server's config/justenoughbackups.json file followed by /jeb config reload. In single-player the whole config is shared and editable from the screen.
Commands
The root command is:
/jeb
Available commands:
/jeb now
/jeb now <name>
/jeb create full
/jeb create full <name>
/jeb create partial
/jeb create partial <name>
/jeb create differential
/jeb create differential <name>
/jeb list
/jeb next
/jeb restore <backup>
/jeb config reload
Notes:
<name>is optional and becomes the real.zipfile name after sanitization.<backup>is the visible backup name, with or without the.zipsuffix. Tab completion suggests the visible name.- restore is prepared asynchronously and then the server shuts down so the restore can be applied safely on the next startup.
/jeb nextdisplays a multi-schedule summary showing remaining times and exact execution timestamps for all configured backup types, sorted by proximity.- command access follows the configured permission level.
Default keybindings
Client-side keybindings:
B: open backup managementN: open config screen
These are regular Minecraft keybindings and can be changed in Controls.
Configuration
The mod writes its config file to:
config/justenoughbackups.json
Main config areas:
backupModeautomaticBackupsEnabledpauseAutomaticBackupsWithoutPlayersbackupOnServerStartbackupOnServerStopautomaticIntervalMinutesautomaticBackupWarningEnabledautomaticBackupWarningMinutescommandPermissionLevelmessageChannelintegrityModeminimumFreeSpaceReserveMbthreadCountbackupDirectorytempBackupDirectoryexcludedPathsretentionfullincrementaldifferentialmaxTotalSizeMb
popup
backupDirectory may be relative to the game directory or an absolute path.
tempBackupDirectory controls where the backup ZIP is compressed before being moved into backupDirectory. It may be relative to the game directory or an absolute path. Leave it empty to compress inside the backup directory (default). Pointing it at a local drive is recommended when backups are stored on a slow or networked drive, since only the finished ZIP is then transferred to the backup location.
excludedPaths uses paths relative to the world root. A folder entry excludes that full subtree, while a file entry excludes only that specific file.
threadCount controls parallel scanning, compression, and restore extraction, and is clamped between 1 and the number of CPU threads.
Examples:
voxy
voxy/cache.db
Before creating a backup, the mod also checks free disk space on the backup destination filesystem. The check is conservative and requires:
(current world size * 2) + minimumFreeSpaceReserveMb
If that space is not available, backup creation is aborted before the temporary ZIP is written.
Backup naming
Manual backups support custom names:
- from commands:
/jeb now My backup - from the create dialog in the backup UI
If no custom name is provided, the mod uses the automatic naming scheme based on type and timestamp.
Rename uses the same sanitization rules as manual creation to keep naming behavior consistent.
License
This project is licensed under the MIT License.
Ченджлог
1.2.0.3+26.2Релиз26.2 · 12 августа 2026 г.
Added
- Restore progress popup: the HUD popup now shows real-time progress while extracting the backup chain, staging the world, and creating the safety "Old_World restore" backup.
- Parallel (multi-threaded) world scanning, ZIP compression, and restore extraction, with a new configurable
threadCountoption (1 to max CPU threads). - New
tempBackupDirectoryconfig to compress the backup ZIP to a temporary folder and then move it to the backup destination, so only the finished ZIP is transferred when backups are stored on a slow or network drive. - New progress phases (
COMPRESSING,WRITING) and accurate bytes/percent progress reporting. - Config screen notice for dedicated servers: only the HUD and Preview settings are editable from the client; server settings are edited on the server's config file.
Fixed
- Restore now completes reliably: the safety "Old_World restore" backup is created while the server is still running, so it no longer fails with C2ME's
saveAll asyncguard, and the world swap is applied when the server stops. - Fixed restore verification failing on backups created by older builds, whose manifest recorded a stale file size: restore now compares content by SHA-256 only (size differences are ignored) while keeping the structural check (missing/extra files) and the rejection of backups with a damaged status.
- Backup manifests now record the actual bytes written to the ZIP, so a file that changes between the scan and the compression (e.g. player data) no longer invalidates the manifest or blocks a later restore.
- Orphaned restore staging and temporary directories (
.justenoughbackups-staging-*and.restore-*) left behind by interrupted restores are now cleaned up automatically on server start. - Popup progress now shows the real bytes/percent while running and on completion; fixed the related tooltip error.
- Retention is now applied with the full fresh manifest list after creating a backup, avoiding a stale read.
/jeb nextis properly localized and lists each enabled automatic backup type with its remaining time.- The backup management search box keeps focus and caret position while typing.
- Removed the misleading "Starting backup..." message when a backup creation already failed.
/jeb config reloadnow reports the per-type automatic schedules instead of the legacy interval setting.
1.2.0.2+26.2Релиз26.2 · 1 августа 2026 г.
- Added independent automatic backup schedules for FULL, DIFFERENTIAL, and PARTIAL backups.
- Refactored the
/jeb nextcommand to show remaining times and execution details for all active backup schedules sorted by proximity. - Fixed an issue where deleting a backup from the UI did not refresh the backup list automatically.
1.2.0.1+26.2Релиз26.2 · 24 июня 2026 г.
- Added support for excluding specific files and folders from backups, including config UI support for managing excluded paths.
1.1.2.2+26.1.2Релиз26.1, 26.1.1, 26.1.2 · 1 июня 2026 г.
- Fixed backups failing when Minecraft creates temporary
level<digits>.datfiles during world saves. - Fixed server-side-only message translations showing raw translation keys on clients without the mod installed.
1.1.2.1+26.1.2Релиз26.1, 26.1.1, 26.1.2 · 20 мая 2026 г.
- Added optional
summary.txtgeneration inside backup ZIPs with world and backup details. - Added pre-backup disk space validation to prevent creating backups when there is not enough free space.
- Added configurable minimum free disk reserve in MB for safer backup creation.
Комментарии
Загружаем…