0

尝试使用以下命令复制生产数据库:

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

但我得到:

$ 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.
4

2 回答 2

1

heroku 可能配置错误。尝试这样做heroku login并重新登录。

于 2012-07-17T16:29:42.070 回答
0

另外,请使用 pgbackups,而不是 pg:pull。https://devcenter.heroku.com/articles/pgbackups

于 2012-07-17T19:15:50.160 回答