
Every server owner backs up eventually. Most only find out whether those backups work on the worst possible day: after a grief, a corrupted world, a bad plugin update or a host that disappears. A backup you've never restored is a hope, not a backup.
What to include
A working server is more than its world folders:
- Worlds: the overworld, nether and end folders, plus any extra worlds.
- Plugin folders: configs, and the data files many plugins keep next to them.
- Databases: anything stored in MySQL or MariaDB isn't in your server folder. Export it separately, for example with
mysqldump. - Server files:
server.properties, the Paper config files, permissions and whitelist files, and your startup script.
If you could only restore one thing, it should be everything needed to boot the same server on a new machine.
Saving safely while the server runs
Copying a world while the server is writing to it can capture half-saved chunks. For a consistent copy without stopping the server:
- Run
save-offso the server stops writing world data. - Run
save-all flushto write everything currently in memory to disk. - Copy or archive the files.
- Run
save-onwhen the copy is finished.
Many backup plugins and hosting panels do this for you. Check that yours does.
How often
Match the schedule to how much progress you can afford to lose:
- Busy servers: every few hours, keeping several recent copies.
- Daily: a full backup kept for a week or two.
- Before every change: updating Paper, adding or updating a plugin, or changing worlds.
Keep copies somewhere else
A backup on the same disk as the server disappears with the server. A simple rule is 3-2-1: three copies, on two different kinds of storage, with one somewhere else entirely, like cloud storage or another machine.
Test a restore
Once a month, restore a backup to a separate test server and join it. Check that:
- The world loads, with recent builds in place.
- Plugins start without errors, with their data intact.
- Database-backed data, like ranks or economy balances, matches.
It takes half an hour and turns "I think we have backups" into "we can be back online in 20 minutes".
Before plugin updates
Most update problems come from config or data changes. Back up the plugin's folder before updating, read the changelog, and update on a test server first when the plugin stores important data.
Our own plugins are built to make this calmer. EliteSpawner, for example, backs up your config before adding new settings, and never overwrites your changes. Its storage docs also recommend backing up its data folder before switching storage types.
The short version
Back up everything needed to rebuild the server, save safely while it runs, keep a copy off the machine, and restore one regularly. The day you need it, you'll be glad you did.
Get the tools from this guide
Built and tested on real servers, with updates included and support on Discord.
