initial commit

This commit is contained in:
2026-05-24 04:03:42 +02:00
commit c09da15bd0
28 changed files with 5801 additions and 0 deletions

30
plan/07-mc-backup.md Normal file
View File

@@ -0,0 +1,30 @@
# mc-backup — world backups
## Summary
`itzg/mc-backup` alongside the server, talking via RCON. Snapshots the world every
6h, prunes after 14 days. World-only (no mod jars — mods are reproducible from the
packwiz pack). Unchanged from the original design; lowest-priority service.
## Config (carry-over)
```yaml
mc-backup:
image: itzg/mc-backup
environment:
BACKUP_INTERVAL: "6h"
RCON_HOST: "minecraft"
RCON_PASSWORD: ${RCON_PASSWORD}
PRUNE_BACKUPS_DAYS: "14"
TZ: "Europe/Madrid"
volumes:
- mc_data:/data:ro
- ./backups:/backups
```
## Tasks
- [ ] Keep `mc-backup` service on `mcnet`, `depends_on: minecraft`
- [ ] Confirm RCON enabled on server (`ENABLE_RCON`, `RCON_PASSWORD`)
- [ ] Verify `./backups/` is gitignored (already is)
- [ ] Optional: shorter interval / manual `rcon save-all` before risky changes