From a4a3ebd633012d5977ee621fad00c953d661231e Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 21 Jul 2018 21:41:13 +0200 Subject: [PATCH] backup the reports, because sometimes I am an idiot --- process/backup-eressea | 3 +++ 1 file changed, 3 insertions(+) diff --git a/process/backup-eressea b/process/backup-eressea index 4914f5af0..4e5f69002 100755 --- a/process/backup-eressea +++ b/process/backup-eressea @@ -28,6 +28,9 @@ if [ -e orders.$TURN ]; then files="$files orders.$TURN" fi echo "backup turn $TURN, game $GAME, files: $files" +if [ -d reports ] ; then + tar cjf backup/$TURN-reports.tar.bz2 reports +fi tar cjf backup/$TURN.tar.bz2 $files echo "uploading game-$GAME/$TURN.tar.bz2" curl -s -n -T backup/$TURN.tar.bz2 https://dav.box.com/dav/Eressea/game-$GAME/$TURN.tar.bz2