Backup Always Right

A easyful Minecraft server backup mod with smart backup support 1.21.11 和简体中文

1,87k

Backup Always Right

Backup Always Right

Exam

> #### Attention!!!!! If yours Minecraft Version < 1.21.11 , Please Use [Version : 1.0.0](), > #### Mojang changed old api, so this version(Minecraft Version < 1.21.11) don't support OP Permissions Setting

Support 简体中文/English

A easyful Minecraft server backup mod with smart backup, multi-language support, and multiple storage paths.

Features

- Old backup cleanup - Set intervals in minutes, hours, or days - Old backup cleanup - Backs up only when significant world changes occur - Old backup cleanup - Backup to multiple local or network locations - Old backup cleanup - Complete command system for backup management - Old backup cleanup - English and Simplified Chinese, auto-detection - Old backup cleanup - Automatically verify backup integrity - Old backup cleanup - 0-9 compression levels - Old backup cleanup - Automatically remove old backups

Installation

0. You need Install Fabric-Language-Kotlin too. 1. Place the mod file in server's `mods` folder 2. Start server to generate config file 3. Modify `config/bar.conf` as needed 4. Reload with `/bar reload` or restart server

Commands

| Command | Description | Permission | |---------|-------------|------------| | `/bar start` | Start manual backup | 2 | | `/bar list` | List all backups | 0 | | `/bar status` | Show backup system status | 0 | | `/bar reload` | Reload configuration | 3 | | `/bar interval minute <1-1440>` | Set interval in minutes | 3 | | `/bar interval hour <1-24>` | Set interval in hours | 3 | | `/bar interval day <1-30>` | Set interval in days | 3 | | `/bar autobackup enable/disable` | Enable/disable auto backup | 3 | | `/bar debug enable/disable` | Enable/disable debug mode | 3 | | `/bar shutdown` | Backup and shutdown server | 4 | | `/bar shutdown delay <1-60>` | Set shutdown delay | 4 |

⚙️ Configuration

Edit `config/bar.conf`:

Path Examples

```properties

Folders to backup (multiple separated by ;)

要备份的文件夹(多个用;分隔)

Example : world;world_nether;world_the_end;mods;whatelse

backupFolders=world

Local paths

backupPaths=./backups;backups;/home/mcserver/backups

Network paths

backupPaths=backups;\192.168.0.105BaseBackups;D:Backups ```

General Settings

```properties

Language (auto, en_us, zh_cn)

language=en_us

Folders to backup (separate with ;)

backupFolders=world

Enable auto backup

backupEnabled=true

Backup paths (separate with ;)

backupPaths=backups

Backup interval (supports m/h/d units)

backupInterval=30m

Maximum number of backups

maxBackups=20

Notify players

notifyPlayers=false

Notice time before backup (seconds)

noticeTime=3

Shutdown delay after backup (seconds)

shutdownDelay=15 ```

Advanced Settings

```properties

Verify backup integrity

verifyBackup=true

Smart backup (skip if no changes)

smartBackup=true

Require significant changes

requireSignificantChange=false

Change threshold (0-1.0)

changeThreshold=0.01

Minimum changed files

minChangedFiles=5

Compression level (0-9)

compressionLevel=3

Minimum backup size (MB)

minBackupSizeMB=5

Debug mode

debugMode=false ```

🔧 Troubleshooting

Enable debug mode: /bar debug enable

Check path permissions and disk space

Lower compression level if backup is slow

Reduce maxBackups if disk space is low

Always backup, always right!

<img width="200" height="200" alt="remove-photos-background-removed" src="https://github.com/user-attachments/assets/232b8c7b-a983-470e-9cc7-f8b2979b6998" />

ADS