From 1404958486d8ab45e141e579d1c68cd7b0d81267 Mon Sep 17 00:00:00 2001 From: Eric Trautman Date: Sun, 2 Feb 2025 06:51:40 -0500 Subject: [PATCH] add comment --- render-ws-with-mongo-db/db-restore-latest.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/render-ws-with-mongo-db/db-restore-latest.sh b/render-ws-with-mongo-db/db-restore-latest.sh index 1a26f6368..ac381621a 100755 --- a/render-ws-with-mongo-db/db-restore-latest.sh +++ b/render-ws-with-mongo-db/db-restore-latest.sh @@ -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"