Heroku pg:拉小档数据库?

时间:2017-01-28 15:56:38

标签: postgresql heroku

$ heroku pg:pull DATABASE_URL mylocaldb2 --app afternoon-sunday-4103                                          
heroku-cli: Pulling postgresql-globular-1902 ---> mylocaldb2

然后停在

pg_dump: dumping contents of table photos

我现在跑了三次,包括过夜。这不是一个大型数据库。

$ heroku pg:info 

Tables: 32 
Rows: 1775 
Data Size: 9.9 MB

$ heroku pg:psql 

psql (9.4.10, server 9.4.9) 

如何排除故障?我试图将我的生产数据库拉到我的本地数据库。我的本地数据库都是空的。

1 个答案:

答案 0 :(得分:0)

我无法让它工作,只是使用了捕获/下载。

https://devcenter.heroku.com/articles/heroku-postgres-import-export

相关问题