How do you back up a Minecraft server world?
Short answer
Stop the server (or run save-off and save-all), copy the world folder somewhere safe, and start it again. To restore, stop the server and put the copy back. EnderPanel makes backups on a schedule and brings one back with a click.
Making a backup by hand
- Stop the server, so nothing is half-written.
- Copy the
worldfolder (andworld_netherandworld_the_endon Paper and Purpur) to another folder or drive. - Name the copy with the date, and start the server again.
To copy without stopping, run save-off and save-all first, copy, then save-on.
Bringing one back
Stop the server, move the current world aside (in case you want it), copy the backup into its place, and start the server. Everything since that backup is lost, so make a fresh backup before you restore.
How often
Daily for an active server, and always before an update, a new mod, or a big change. Keep a few, and keep at least one on another drive.
Quick questions
Can I back up while people play?
Yes, with save-off and save-all first, or let EnderPanel handle it.
Where is my world on disk?
In the server's folder, called world by default. With EnderPanel, inside the EnderPanel folder in your home folder.
Does a backup include mods and settings?
Copy the whole server folder for that; the world folder is just the world.
Back to the website