Backups
The server supports taking backups of the world files while the server is running. It's not particularly friendly for taking manual backups, but works better when automated. The backup (from the servers perspective) consists of three commands.
| Command | Description |
|---|---|
| save hold | This will ask the server to prepare for a backup. It’s asynchronous and will return immediately. |
| save query | After calling save hold you should call this command repeatedly to see if the preparation has finished. When it returns a success it will return a file list (with lengths for each file) of the files you need to copy. The server will not pause while this is happening, so some files can be modified while the backup is taking place. As long as you only copy the files in the given file list and truncate the copied files to the specified lengths, then the backup should be valid. |
| save resume | When you’re finished with copying the files you should call this to tell the server that it’s okay to remove old files again. |
Running a Bedrock server, or letting Bedrock players join Java? Our Minecraft Server Setup guide walks through the whole server in one place, from server.properties and versions to Paper, Fabric and Forge, plugins, whitelists and Bedrock players, and lists every Minecraft article in this knowledge base by topic.

