Skip to content

Commit

Permalink
restore
Browse files Browse the repository at this point in the history
  • Loading branch information
james-otten committed Aug 8, 2024
1 parent bfe55ac commit b7987fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 60 deletions.
2 changes: 1 addition & 1 deletion bookstack-helm/templates/backupscript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ data:
restore.sh: |
echo "Checking if restore is needed"
echo "Restore file is: $RESTORE_S3_URL"
if [ ! -n "$RESTORE_S3_URL" ] && [ "$RESTORE_S3_URL" != "skip" ]; then
if [ "$RESTORE_S3_URL" != "skip" ]; then
echo "Restoring from $RESTORE_S3_URL"
apk add aws-cli
aws s3 cp "$RESTORE_S3_URL" /tmp/restore.tgz
Expand Down
59 changes: 0 additions & 59 deletions bookstack-helm/templates/restore.yaml

This file was deleted.

0 comments on commit b7987fa

Please sign in to comment.