Easy backups
ModApache-2.0

Easy backups

Backups for your server! Server-side mod.

36
Downloads
0
Followers
3 months ago
Updated
📦
1
Versions

📖About Easy backups

🛡️ EasyBackups: Professional World Protection

EasyBackups is a robust, lightweight, and highly configurable backup utility designed specifically for Fabric server owners. It eliminates the need for external scripts or manual file management by providing a seamless, integrated solution for world preservation and emergency recovery directly from the game chat.


🌟 Why EasyBackups?

Managing server data shouldn't be a chore. While other mods offer basic saving, EasyBackups provides a fail-safe environment with:

  • Data Integrity: Automatically forces a full world save (server.saveEverything) before every backup to ensure no chunk is left behind.
  • Resource Efficiency: Smart "skip if empty" logic prevents your disk from filling up with identical backups when no one is playing.
  • Peace of Mind: A built-in recovery system that handles the heavy lifting of file replacement and server restarts for you.

✨ Key Features

  • 📦 Industrial-Grade Compression: Uses the .tar.gz format (powered by Apache Commons Compress) for high-ratio compression, saving significant disk space.
  • 🔄 Integrated Hot-Recovery: Roll back your world to any previous state with /backups recover. The mod manages the server halt, cleans the world directory, and restores the archive automatically.
  • 🕒 Advanced Automation:
    • Interval Mode: Schedule backups every X minutes.
    • Schedule Mode: Set specific 24h timestamps (e.g., 00:00, 12:00) for daily maintenance.
    • Hybrid Mode: Use both systems simultaneously for maximum redundancy.
  • 💾 Intelligent Storage Management: Automatically rotates backups by deleting the oldest files once your custom limit is reached.
  • 🌍 Global Accessibility: Fully localized with built-in support for 14 languages, including English, Russian, German, French, Spanish, Chinese, Japanese, and more.

🛠️ Commands & Administration

Access requires Permission Level 4 (OP).

Command Description
/backups create Triggers an immediate, manual backup of the current world state.
/backups recover <filename> Initiates a world restoration with a configurable safety countdown.
/backups config <key> <value> Allows live adjustment of mod settings without a server restart.

⚙️ Technical Configuration

The mod generates a detailed config.properties file in your server's config folder. You can customize:

  • Backup Modes: Choose between SCHEDULE, INTERVAL, BOTH, or SELF.
  • Alert System: Set custom countdown intervals (in seconds) to warn players before a backup begins.
  • Timezone Offset: Align the backup schedule with your local time regardless of server hosting location.
  • OP-Only Alerts: Toggle whether backup notifications are public or restricted to administrators.

📂 Technical Specifications

  • Requirements: Fabric Mod Loader.
  • Storage Path: All archives are stored in the /backups directory.
  • Filename Format: world-[DD.MM-HH_mm].tar.gz.