Skip to content

Commit

Permalink
Merge pull request #249 from prabhatkumar24/wd-typo-fix
Browse files Browse the repository at this point in the history
Fix the typo in elastic-backup-restore.sh
  • Loading branch information
michelle-miller authored Nov 6, 2023
2 parents ce117a3 + 6c8e899 commit 4074402
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discovery-data/latest/elastic-backup-restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ EOF
stop_minio_port_forward
echo "RC=${RC}" >> "${BACKUP_RESTORE_LOG_DIR}/${CURRENT_COMPONENT}.log"
if [ $RC -eq 0 ] ; then
brlog "INFO" "Archiving sanpshot..."
brlog "INFO" "Archiving snapshot..."
tar "${ELASTIC_TAR_OPTIONS[@]}" -cf ${BACKUP_FILE} -C ${TMP_WORK_DIR}/${ELASTIC_BACKUP_DIR}/${ELASTIC_BACKUP_BUCKET}/${ELASTIC_SNAPSHOT_PATH} .
else
brlog "ERROR" "Some files could not be transfered. Consider to use '--use-job' and '--pvc' option. Please see help (--help) for details."
Expand Down Expand Up @@ -474,4 +474,4 @@ fi
rm -rf ${TMP_WORK_DIR}
if [ -z "$(ls tmp)" ] ; then
rm -rf tmp
fi
fi

0 comments on commit 4074402

Please sign in to comment.