Skip to content

Commit

Permalink
Merge pull request #16 from Ontotext-AD/fix_backup_script
Browse files Browse the repository at this point in the history
Fixed backup script
  • Loading branch information
viktor-ribchev authored Jan 10, 2025
2 parents 25f9350 + eecf71f commit 0dcb056
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the Packer template for creating GraphDB Azure VM images will be documented in this file.

## 1.2.1

- Fixed the get `NODE_STATE` step in the `graphdb_backup` script.

## 1.2.0

### Changes
Expand Down
2 changes: 1 addition & 1 deletion files/graphdb_backup
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ az login --identity

GRAPHDB_USER="${1}"
GRAPHDB_PASSWORD="${2}"
NODE_STATE="$(curl --silent --fail --user "$GRAPHDB_USER:$GRAPHDB_PASSWORD" localhost:7200/rest/cluster/node/status | jq -r .nodeState)"
NODE_STATE="$(curl --silent --user "$GRAPHDB_USER:$GRAPHDB_PASSWORD" localhost:7200/rest/cluster/node/status | jq -r .nodeState)"
BACKUP_NAME="$(date +'%Y-%m-%d_%H-%M-%S').tar"
BACKUP_STORAGE_ACCOUNT_NAME="${3}"
BACKUP_STORAGE_CONTAINER_NAME="${4}"
Expand Down

0 comments on commit 0dcb056

Please sign in to comment.