Mongorestore error "don't know what to do with file... .bjson and .json"

Thanks, it worked for me as well. But we need to pass command with -d insteed of -db.

1 Like