Skip to content

Commit

Permalink
Merge pull request #56 from Ontotext-AD/fixed_backup_script
Browse files Browse the repository at this point in the history
Added proper escaping in the backup user data script
  • Loading branch information
viktor-ribchev authored Jul 10, 2024
2 parents 3b28a79 + 09d2ee5 commit a6a2ec5
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
@@ -1,5 +1,9 @@
# GraphDB AWS Terraform Module Changelog

# 1.2.1

* Fixed issue where the backup script was not configured

# 1.2.0

* Added support for single node deployment
Expand Down
2 changes: 1 addition & 1 deletion modules/graphdb/templates/05_gdb_backup_conf.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function trigger_backup {
local backup_name="\$(date +'%Y-%m-%d_%H-%M-%S').tar"
current_time=$(date +"%T %Y-%m-%d")
start_time=$(date +%s)
echo "Creating backup $backup_name at $start_time"
echo "Creating backup \$backup_name at \$start_time"
curl \
-vvv --fail \
Expand Down

0 comments on commit a6a2ec5

Please sign in to comment.