Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
trautmane committed Feb 2, 2025
1 parent 320f5a0 commit 1404958
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions render-ws-with-mongo-db/db-restore-latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ for DB in render match; do
DUMP_FILE="${DUMP_DIR}/${LATEST_TIMESTAMP}.${DB}.dump.gz"
if [ -f "${DUMP_FILE}" ]; then
echo "restoring ${DUMP_FILE} ..."
# see https://www.mongodb.com/docs/database-tools/mongorestore/
mongorestore --uri="${URI}" --archive="${DUMP_FILE}" --gzip
else
echo "WARNING: ${DUMP_FILE} not found"
Expand Down

0 comments on commit 1404958

Please sign in to comment.