Import database direct from heroku into ruby on rails applpication
heroku pg:backups:capture --app yourappname Hit Ctrl-C at any time to stop watching progress; the backup will continue running. Stop a running backup with heroku pg:backups:cancel. HEROKU_POSTGRESQL_BLACK (DATABASE_URL) ----backup---> b251 Running... done heroku pg:backups:restore b251 DATABASE_URL --app yourappname