Skip to content

Commit

Permalink
Parameterize last_restore_file in docker-entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsmalling authored Jun 21, 2024
1 parent 900450c commit 9bd80bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ restore() {
# the file does not exist or if the values differ.

echo "Running Medusa in restore mode"
last_restore_file=/var/lib/cassandra/.last-restore
last_restore_file=${MEDUSA_TMP_DIR:-'/var/lib/cassandra'}/.last-restore

if [ -z "$BACKUP_NAME" ]; then
echo "BACKUP_NAME env var not set, skipping restore operation"
Expand Down

0 comments on commit 9bd80bf

Please sign in to comment.