migrate existing postgres data to heroku code example Example: heroku download database $ heroku pg:backups:capture $ heroku pg:backups:download