From bc16eb58937048e4a24c016120be11756e45d174 Mon Sep 17 00:00:00 2001 From: Tom Wiesing Date: Fri, 10 Jul 2020 12:03:26 +0200 Subject: [PATCH] Update triplestore backup url to 127.0.0.1 --- distillery/backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distillery/backup.sh b/distillery/backup.sh index 4c53323..be0c4a5 100644 --- a/distillery/backup.sh +++ b/distillery/backup.sh @@ -36,12 +36,12 @@ dockerized_mysqldump --all-databases > "$BACKUP_SQL_FILE" # Backup the triplestore system log_info " => Backing up Triplestore System" mkdir -p "$BACKUP_TRIPLESTORE_DIR" -curl -X GET -H "Accept:application/n-quads" "http://localhost:7200/repositories/SYSTEM/statements?infer=false" > "$BACKUP_TRIPLESTORE_SYSTEM" +curl -X GET -H "Accept:application/n-quads" "http://127.0.0.1:7200/repositories/SYSTEM/statements?infer=false" > "$BACKUP_TRIPLESTORE_SYSTEM" # backup individual repos for REPO in `grep -oP '(?<=#repositoryID> ")[^"]+' $BACKUP_TRIPLESTORE_SYSTEM`; do log_info " => Backing up Triplestore Repository '$REPO'" - curl -X GET -H "Accept:application/n-quads" "http://localhost:7200/repositories/$REPO/statements?infer=false" > "$BACKUP_TRIPLESTORE_DIR/repo_$REPO.nq" + curl -X GET -H "Accept:application/n-quads" "http://127.0.0.1:7200/repositories/$REPO/statements?infer=false" > "$BACKUP_TRIPLESTORE_DIR/repo_$REPO.nq" done # backup the filesystem