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
You can do this using below command
heroku pg:copy ::HEROKU_POSTGRESQL_BLACK_URL OLIVE -a --confirm