Commit Graph

4 Commits

Author SHA1 Message Date
429bcdb1bf Fall back to host tar when container is down
When the minecraft container is not running, archive data/world
directly from the host instead of failing — the files are already
consistent on disk with no process writing to them.
2026-04-21 20:37:26 +02:00
90697cdb62 Run world archive via docker exec
Stream tar from inside the container to the host, so all server
interaction (rcon + archive) happens through docker exec. Requires
the container to be running; fails fast otherwise.
2026-04-21 20:36:27 +02:00
f67c8c8012 Add manual world backup script
Flushes world via rcon (save-off + save-all flush) before tarring
when the server is running; skips the flush and archives as-is when
the container is down. Outputs timestamped archives to backups/,
which is gitignored.
2026-04-21 20:35:57 +02:00
ad654d145a Initial commit: minecraft server setup
Tracks docker-compose config, server scripts, and server properties.
Runtime data (world, libraries, versions, logs, jar), credentials, and
backup snapshots are gitignored.
2026-04-21 20:33:22 +02:00