Postgres copy Heroku Production DB to local development DB

后端 未结 6 1973
误落风尘
误落风尘 2020-12-23 11:44

I have a heroku database, d76mj7ltuqs.

I then have a local database, test_development.

The schema is the same on both of these data

6条回答
  •  有刺的猬
    2020-12-23 12:22

    Use your terminal to make a local pg_dump and then either psql or pg_restore it into your local database.

    Similar method can be found here.

提交回复
热议问题