diff --git a/fogcutter/backup.sh b/fogcutter/backup.sh index 79f9678..9d1475c 100755 --- a/fogcutter/backup.sh +++ b/fogcutter/backup.sh @@ -8,6 +8,6 @@ SERVICE_PATH=/home/paul/scripts/fogcutter/docker BACKUP_PATH=/bigdata/backups -tar cz -C "$SERVICE_PATH"/minecraft ./minecraft-data | gpg -e -r $FINGERPRINT -o "$BACKUP_PATH"/minecraft-data-"$DATE".tar.gz.gpg +tar czf "$BACKUP_PATH"/minecraft-data-"$DATE".tar.gz -C "$SERVICE_PATH"/minecraft ./minecraft-data tar cz -C "$SERVICE_PATH"/syncthing ./syncthing-sync | gpg -e -r $FINGERPRINT -o "$BACKUP_PATH"/syncthing-sync-"$DATE".tar.gz.gpg