How to Back Up and Restore a Minecraft Server
Updated 2026-11-27
Griefers, broken plugins, a bad update or a typo in a command can wreck a world in seconds. A backup you have tested is the only real fix.
What to back up
- The world. Since Minecraft 26.1, vanilla and Paper keep every dimension inside the
worldfolder (underworld/dimensions/). On Spigot, and on Paper before 26.1, the Nether and the End are separateworld_netherandworld_the_endfolders: back those up too. The folder name followslevel-namein server.properties. - Player lists:
whitelist.json,ops.json,banned-players.json,banned-ips.json. - Settings:
server.properties, and on Paper the config files next to it. - Plugin data: the whole
pluginsfolder. Claims, economies and ranks are stored there, unless a plugin uses an external database such as MySQL: export that database separately. - Modded servers: also
mods,configand anydefaultconfigsfolder.
Make a backup without corrupting the world
Copying world files while the server writes to them can give you a broken backup. The safest backup is made with the server stopped. If it has to stay online, pause world saving first (this doesn't pause plugin databases):
save-offstops the server from writing the world to disk.save-all flushwrites everything that is in memory now.- Copy or zip the folders.
save-onturns saving back on. Don't forget this one.
On Bedrock Dedicated Server, run save hold and repeat save query until it says the files are ready. Copy the files it lists, cut each copy to the length save query gives for it (never the live files), then run save resume. Stopping the server is simpler if you can.
Hosting panels usually have a backup button that does this for you; check how many backups your plan keeps and whether they are stored on another machine.
How often and where
Daily for an active server, and always before an update or a big plugin change. Keep several days of backups, not just the last one: a problem is often noticed days later. Keep at least one copy somewhere other than the server, like your own computer or cloud storage.
Restore a backup
- Stop the server.
- Rename the current world folders (for example
world-broken) instead of deleting them. - Copy the backup folders into place with the same names.
- Restore
pluginstoo if plugin data has to match the world, like land claims. - Start the server and check the spawn, the Nether, the End and a player inventory before you open it to players.
Test a restore once on a copy of the server before you need it for real. A backup you've never restored is a guess.