backup datafile and eressea.db to box.net

This commit is contained in:
Enno Rehling 2015-11-26 16:36:50 +01:00
parent 0c7c67a7ab
commit 5145362485
1 changed files with 3 additions and 0 deletions

View File

@ -29,3 +29,6 @@ files="$files orders.$TURN"
fi fi
echo "backup turn $TURN, game $GAME, files: $files" echo "backup turn $TURN, game $GAME, files: $files"
tar cjf backup/$TURN.tar.bz2 $files tar cjf backup/$TURN.tar.bz2 $files
echo "uploading game-$GAME/$TURN.tar.bz2"
curl -n -T backup/$TURN.tar.bz2 https://dav.box.com/dav/Eressea/game-$GAME/$TURN.tar.bz2
curl -n -T eressea.db https://dav.box.com/dav/Eressea/eressea.db