0

Trying to copy a production db with:

heroku db:pull postgres://postgres:@localhost/prod_20120717 \
--app my_app --confirm my_app

but I get:

$ heroku db:pull postgres://postgres:@localhost/prod_20120717 --app my_app \
--confirm my_app
Loaded Taps v0.3.24
Warning: Data in the database 'postgres://postgres:@localhost/prod_20120717' \
will be overwritten and will not be recoverable.
 !    App not found.
Michael Durrant
  • 93,410
  • 97
  • 333
  • 497

2 Answers2

1

heroku is probably misconfigured. Try to do this heroku login and redo your login.

Dougui
  • 7,142
  • 7
  • 52
  • 87
0

In addition, please use pgbackups, not pg:pull. https://devcenter.heroku.com/articles/pgbackups

hgmnz
  • 13,208
  • 4
  • 37
  • 41