Advertisement

These commands manage server saves.

save-all

This feature is exclusive to Java Edition. 
save-all
Permission level
required

4

Restrictions

No command blocks
Dedicated server only

Saves the server to the data storage device. Causes the server to mark all chunks and player data as needing to be saved. They are saved over time until all are flushed to the data storage device.

Syntax

save-all

Normal mode.

save-all flush

All the chunks are saved to the data storage device immediately, freezing the server for a short time.

Result

CommandTriggerJava Edition
anyif an error occurs (such as the data storage device being full, or another copy of Minecraft has the map open) Failed
On successTurn off automatic saving.

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn failN/A00
On successN/A11

save-off

This feature is exclusive to Java Edition. 
save-off
Permission level
required

4

Restrictions

No command blocks
Dedicated server only

Disables the server writing to the world files. All changes are temporarily queued.

Syntax

save-off

Result

CommandTriggerJava Edition
anyif automatic saving have already been turned off Failed
On successTurn off automatic saving.

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn failN/A00
On successN/A11

save-on

This feature is exclusive to Java Edition. 
save-on
Permission level
required

4

Restrictions

No command blocks
Dedicated server only

Enables the server writing to the world files.

Syntax

save-on

Result

CommandTriggerJava Edition
anyif automatic saving have not been turned off Failed
On successTurn on automatic saving.

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn failN/A00
On successN/A11

save

This feature is exclusive to Bedrock Edition. 
save
Permission level
required

4

Restrictions

No command blocks
Cheat only
Dedicated server only

Prepares a backup, queries its status, or resumes.

Syntax

save <hold|query|resume>

Result

When the backup is ready, save query outputs the path of every file and the amount of bytes to truncate it separated by a colon.

History

Java Edition Alpha
v1.0.16_01Added /save-all, /save-off and /save-on.
Bedrock Edition
1.6.1Added /save.
Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.

READ MORE