Tutorials/Migrating saved game data to the cloud

NOTE
This guide is made in assumption that you only want one integrated Minecraft save directory. If you wish to have separate directories (ex: for other machines; Minecraft/Linux, Minecraft/Windows, Minecraft/Toaster, etc) then you should create them on Dropbox and change the script here as needed. This guide also will only sync your saved game files, not any .jar customizations or texture maps. If you don't know what this is, then you probably should be safe.

Download and Install Dropbox
Here is a quick tutorial on how to migrate your saved games to the cloud so you can play your levels wherever you may be.

The first step is to download Dropbox. Dropbox is a nifty little tool that automatically syncs content to their servers, and allows you to access it both online and through a client on your PC. The good thing about Dropbox is that it is cross platform, plus available on the web and web-enabled smartphones. If you sign up for Dropbox with this link, you'll get 250MB extra. If you'd rather not use a referral link simply go to http://www.dropbox.com. You get 2GB for free automatically.

Once you have installed Dropbox, you'll need to know where the folder is that it will sync from. On most Windows machines, it is located inside the "My Documents" Folder.

On Linux, the default location is in the user's home folder. For example in Ubuntu, that folder is located at /home/ /Dropbox

Whichever operating system you are using, Dropbox has very good documentation and can assist you in finding help: http://www.dropbox.com/help

Copy your Minecraft saved data to your Dropbox folder
Next, we will need to make a copy of your minecraft data on the cloud Dropbox server.

Windows
On Windows, your minecraft saves data is in your application data folder. You can access this by holding Windows+R or hitting Start > Run and then typing "%appdata%\.minecraft" in the box. This will open your minecraft folder. Copy all the files in the saves folder to your Dropbox. For organization sake, I usually create a folder inside my Dropbox entitled "Minecraft".

Once these files are done copying, navigate back up to your .minecraft folder, and rename the saves folder to saves-backup This step ensures that you 1) Have a backup of your files in case of catastrophe, and 2) allows us to make the symbolic link to the correct location in a later step.

Mac OS X
In Mac OS X, the minecraft saves data folder is located in your Username > Library > Application Support folder. You can get here quickly by opening Finder > Go > Go To Folder > type ~/Library/Application Support/minecraft. For future reference, it's best to make an alias for this folder and copy it to your desktop.

Now, copy the saves folder to Dropbox. It is a good idea to rename the original saves folder (in your .minecraft Application Support folder) to saves-backup, to be saved as a backup in case something goes haywire.

Linux
In Linux, your minecraft saves data folder is located in your user home folder. However, it may be hidden from view. If you are using a GUI, ensure that you choose View > Show Hidden Files.

Copy the contents of the save folder to your Dropbox. As mentioned above, I usually create a folder inside the dropbox called "Minecraft".

Once the copy is complete, rename the save folder to save-backup

If you're command line savvy, here are the above steps in command line format. Make sure to replace with your username.
 * cd /home/
 * cp -r /home/ /.minecraft/saves /home/ /Dropbox/Minecraft/saves
 * mv saves saves-backup

Create the Symbolic Links
This is the final step that will allow us to create links to the cloud versions of your files.

Windows
In Windows, the command mklink will allow us to create a symbolic link. Symbolic links are similar to shortcuts, but are much more powerful.

'Note: If you are running Windows XP, you need to install the Server 2003 resource pack in order to enable symbolic links, which is available here.'

Click Start -> Run and type cmd in the box. Press enter. You'll be presented with the command line interface.

Type the following command to set up the symlink (be sure to replace with your username!):

Windows 7 & Vista:
 * mklink /d C:\Users\ \AppData\Roaming\.minecraft\saves "C:\Users\ \Documents\My Dropbox\Minecraft\saves"

Windows XP (after installing linkd.exe):
 * linkd /d "C:\Documents and Settings\ \Local Settings\Application Data\.minecraft\saves" "C:\Documents and Settings\ \My Documents\My Dropbox\Minecraft\saves"

If you are successful, the .saves folder should reappear in your .minecraft folder. When you start Minecraft after this, you should have all your previously generated worlds!

Mac OS X
Creating symbolic links in Mac OS X is easy thanks to a free application called SymbolicLinker, which will allow you to create a symbolic link via right-click in the Finder.

Download and install SymbolicLinker, available here: [] (free).

Once installed, move your Minecraft saves folder (located in username/Library/Application Support/.minecraft) to a folder in your Dropbox. Rightclick on this new folder and choose Make symbolic link. This will create a symbolic link in the same folder. Move this back to your Minecraft folder's original destination (make sure it has the same name as the original) and you are all set to pull your game data off the cloud.

Linux
To create the symbolic links in Linux, open up the terminal and type the following commands. Be sure to replace with your username where appropriate.


 * cd /home/
 * ln -s /home/ /Dropbox/Minecraft/saves /home/ /.minecraft/saves

Now your saved worlds should all be there when you start Minecraft.

''In order to link any additional computers you wish to play on, you just need to follow these steps - install Dropbox, and create the symbolic links. Viola!''