Fix fingers-faster-than-brain bug.

This commit is contained in:
Ivaylo Novakov 2021-10-19 17:12:00 +02:00
parent 96a85e3ec4
commit 8bb5e24e24
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ rm mongo.tgz
# The name of the backup is not `mongo` due to the way we're creating it, # The name of the backup is not `mongo` due to the way we're creating it,
# it's $BACKUP. # it's $BACKUP.
docker exec mongo \ docker exec mongo \
mongorestore -- drop\ mongorestore --drop \
mongodb://$SKYNET_DB_USER:$SKYNET_DB_PASS@$SKYNET_DB_HOST:$SKYNET_DB_PORT \ mongodb://$SKYNET_DB_USER:$SKYNET_DB_PASS@$SKYNET_DB_HOST:$SKYNET_DB_PORT \
/data/db/backups/to_restore/$BACKUP /data/db/backups/to_restore/$BACKUP
# Clean up: # Clean up: