heroku postgres import data from pg_dump code example
Example 1: heroku download database
$ heroku pg:backups:capture
$ heroku pg:backups:download
Example 2: heroku download database
$ heroku pg:backups:download
$ heroku pg:backups:capture
$ heroku pg:backups:download
$ heroku pg:backups:download