Skip to content

Commit

Permalink
Fixed backup script
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor-ribchev committed Jan 9, 2025
1 parent 25f9350 commit 04644e4
Showing 1 changed file with 1 addition and 1 deletion.
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 04644e4

Please sign in to comment.