Hi @Steven_Manus, the error indicates that mongodump is trying to use OpenSSL but the libraries are not available on Heroku. I suspect you’re using an older version of mongodump since the newer versions do not use OpenSSL. Instead they use Go TLS. What version of mongodump are you using? I recommend using the latest version, which is 100.9.4 at time of writing.
Thanks for the reply. My understanding is that in order to use mongodump on Heroku, I need to add a buildpack. Apparently, the latest Mongodb buildpack for Heroku is siesgstarena/heroku-buildpack-mongo, but when I try to push my app to Heroku after adding this buildpack, I get the following compile error:
Yeah that buildpack is very old. I wouldn’t recommend using it. Chris is right that you should download a newer version. You could use curl to download the tools on heroku. The buildpack shows how you can do this. I think you just need to change the version:
It’s been a while since I’ve used heroku but I think you can deploy docker images now. If that’s an option, it might also be easier to deploy the official MongoDB docker image. That will have up to date tools.
Thanks for the suggestions. Following your suggestions, I forked siesgstarena’s buildpack and modified it to use the current Linux 86-64 database tools. Worked perfectly!