Created
December 7, 2014 00:21
-
-
Save bcbwilla/0d6cafe6eb69f7e42698 to your computer and use it in GitHub Desktop.
Super simple minecraft server world backup with zippy bits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Minecraft Server Backup | |
stamp=$(date +%d_%m_%Y_%H_%M_%S) | |
cd $HOME/servers/backups/mcprohost/ | |
mkdir -p $stamp | |
wget -r -nH -P $stamp ftp://$MCP_USER:$MCP_PASS@$MCP_IP/world* | |
zip -rm $stamp $stamp | |
echo "Backup complete" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment