forked from github/server
backup datafile and eressea.db to box.net
This commit is contained in:
parent
0c7c67a7ab
commit
5145362485
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue