Are You Not Finding The Answer You Want?


The world data, which includes player inventories and player inventories is saved to a folder under the current working directory of server.



The name of this folder is determined by server.properties level-name, which defaults at world. This setting can be changed to toggle between saves and create a new world.



Vanilla server commands related to saving/backups:



/save–all - forces the server saving. Mc name /save–off disables saving. This should be done before you make a backup of a server running. It will ensure that the server does not save while you copy, which could lead to a corrupt backup. /save-on - re-enables saving.



Thank you! I hadn''t thought to disable saving while creating a backup. - aedia June 22, 2011, 14:27



i saved the server to my desktop so were will the directory be?? User14851 Nov 20, 2011 8:22



Do you know if it is possible to run the saveoff and save-on commands using a batch job? - mpontillo Apr 26, 2012 at 14:53



@Mike If you''re just looking for an automated way to make backups, you can look into plugins to do this such as Bukkit Backup or other Bukkit backup plugins. I also recommend mcrcon because it allows you to run commands remotely. Schism Sep 8, 2012, 19:23



The world folder should be located within the directory where the server is running. There are all files that your server will need to run in that directory. The world folder contains all the "block data", so it is important to backup the region folder. The world directory also contains the players folder. This folder stores information about the players that have connected (inventories, etc.). (Note that the directory can only be named world if server.properties hasn''t changed its level-name property.



This information applies to a Vanilla or a Bukkit multiplayer Server.



TL;DR: Backup the entire directory.