Backup mod

A recovery/backup mod for minecraft on 1.21.1 neoforge. Must be update later

Recovery

Recovery is a lightweight mod for NeoForge 1.21.1 designed for automatic and manual server world backups.

Features

  • ZIP Compression: All backups are saved in .zip format, saving space and ensuring data integrity.
  • Smart Detection: The mod automatically finds the world folder, even if it has a custom or non-English name.
  • Interactive Notifications: Every 30 minutes (configurable), the server prompts players to create a recovery point.
  • Asynchronous Execution: The compression process runs in a separate thread, preventing server "freezes" or lag.

Commands

Command Description Access
/recovery status Shows current interval and last backup time. Everyone
/recovery set time [min] Sets the interval for backup prompts (5-1440 min). OP Only

Configuration

A configuration file is automatically created on the first run at config/recovery-common.toml.

[general]
    # Interval between notifications (in minutes)
    backupInterval = 30
    # Create backup automatically without confirmation (true/false)
    backupDefault = false
    # Maximum number of recent archives to keep (0 - no limit)
    maxBackups = 20
    # Name of the folder for storing archives
    backupFolder = "backups"

Installation

  1. Ensure the server is running NeoForge 1.21.1.
  2. Install Java 21.
  3. Place the recovery-1.0.0.jar file in the mods folder.
  4. Restart the server.

Enjoy!

The Backup mod Team

profile avatar
Owner
  • 1
    Projects