Command: heroku pg:backups capture -a [app_name]
Command: curl -o latest.dump `heroku pg:backups public-url -a [app_name]`
Command: pg_restore --verbose --clean --no-acl --no-owner -h localhost -d [db_name] latest.dump
This was very helpful. Thanks for writing it. +1
I changed my local and now I want to restore that file back into my heroku database