r/admincraft • • 6h ago

Discussion A simple backup routine for small Minecraft servers

I have seen a lot of worlds lost to bad updates and griefing. This routine has worked well for me:

  1. Keep at least one daily automatic backup and one weekly one.
  2. Before a big update (plugin or version change), make a manual backup and keep it out of the rotation.
  3. Test a restore once on a copy of the server. A backup you never restored is a guess.
  4. Download a copy to your own PC once a month, so one place is not your only copy.
  5. Before switching Paper ↔ Fabric/Forge, back up first: worlds and configs are not always compatible.

What does your backup setup look like?

3 Upvotes

3 comments sorted by

2

u/Azoraqua_ 6h ago

Daily automated backups, to a dedicated cloud backup server (in a different datacenter).

Reliability and compatibility testing is part of any migration plan anyway.

2

u/catroaring 3h ago edited 3h ago

Server runs in my lab. I work in IT, so I use it's more for professional development then running the actual game. I run a Proxmox cluster with 4 nodes and a Debian box with the secondary NAS.

NASferatu is currently onsite, but will be moved offsite in the next few months.

PBS Backup Schedule & GFS Retention Policy


1. Guest Backups: VMs & LXCs (Proxmox Backup Server)

All VMs and LXC containers back up using live snapshots

  • Schedule: Nightly at 02:00 AM
  • Backup Mode: Live snapshot (mode: snapshot)
  • **Retention Policy (GFS 20-Year Tier):

    • 30 Daily snapshots
    • 12 Weekly snapshots
    • 12 Monthly snapshots
    • 20 Yearly snapshots

2. Hypervisor Host Configs (pve-host-backup.sh)

Nightly script running across all 4 physical hypervisor nodes (pve1–pve4).

  • Schedule: Nightly at 03:00 AM (staggered after VM/CT backups finish)
  • Target: Centralized NFS mount on storage server
  • Payload: /etc/pve/ (cluster DB, VM/CT configs, firewall), /etc/network/interfaces, storage configs, fstab, crontabs, and custom operational scripts.
  • Retention: Rolling 30-day prune (find ... -mtime +30 -delete)

3. Off-Chassis Replication (NASferatu)

offsite/off-chassis copy.

  • Target: Standalone secondary PBS box ZFS pool
  • Method: Automated nightly pull-sync (sync-from-tank)
  • Schedule: Nightly at 03:30 AM (staggered 90 mins after primary run starts)

4. Automated Maintenance & Verification

scheduled maintenance jobs:

TaskTargetScheduleWhat it Does
Garbage Collection (GC)Primary PBSSaturdays @ 04:00 AMSweeps unreferenced chunks & frees physical ZFS space
Secondary GCNASferatuSaturdays @ 05:00 AMReclaims space on secondary storage
Integrity VerificationPrimary PBSSundays @ 03:00 AMRe-computes SHA-256 chunk hashes to catch silent bit rot
Secondary VerifyNASferatuSundays @ 05:00 AMVerifies secondary chunks
NotificationsDiscord WebhookReal-timeSends alerts to a private Discord channel on success/failure

1

u/UselessDood 6h ago

I just stick with advancedbackups as its what's been in most of the packs I play. It's hourly by default so I turned that down.