Skip to content

Instantly share code, notes, and snippets.

@dirkk0
Created October 17, 2012 06:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dirkk0/3903980 to your computer and use it in GitHub Desktop.
Save dirkk0/3903980 to your computer and use it in GitHub Desktop.
Start minecraft from an existing backup
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install htop unzip
sudo apt-get -y install openjdk-7-jre
# either get it from a public dropbox:
# wget https://dl.dropbox.com/u/123456/myBackup.tar.gz
# or curl it from your FTP server
# curl --user user:pass ftp://myFtpServer.com/mc/myBackup.tar.gz -o bkp.tar.gz
tar -xzvf bkp*
rm bkp*
cd minecraft
# change that to minecraft in case you are not using bukkit
screen -S mcserver -dm bash -c "java -Xms512M -Xmx1024M -jar craftbukkit.jar"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment