/oss · 2 merged

itzg/docker-mc-backup

A companion container that backs up Minecraft server worlds on a schedule.

the project on GitHub (opens in a new tab)
  1. 3 Dec 2026

    A failed backup is removed instead of replacing a good one

    What was broken
    When a backup failed, for example on a full disk, the broken file stayed. Cleanup counted it as the newest and deleted a good backup, and the latest link pointed at the broken one.
    What I changed
    A backup that fails is now deleted, and the latest link is left alone.
    Why it matters
    Minecraft servers keep their good backups when the disk fills up.

    see the code, #343 (opens in a new tab)

  2. 28 Nov 2026

    Count pruning no longer deletes the newest backup

    What was broken
    With tar backups and a "latest" link, pruning by count also counted the link. Keeping one backup deleted the archive just written, leaving no backup at all.
    What I changed
    Pruning now skips the link and counts only real archives.
    Why it matters
    Minecraft servers keep the number of backups they asked for.

    see the code, #341 (opens in a new tab)

← every project