On Heroku, I am trying to copy the production database into my staging app using the pgbackups addon. I followed the instructions on the addon page: https://devcenter.heroku.com
This is what worked for me
heroku pg:backups restore 'DUMP_FILE_URL_FROM_S3' DATABASE --app MY_APP