How do I transfer production database to staging on Heroku using pgbackups? Getting error

后端 未结 12 2203
刺人心
刺人心 2021-01-30 03:13

On Heroku, I am trying to copy the production database into my staging app using the pgbackups addon. I followed the instructions on the addon page: https://devcenter.heroku.com

12条回答
  •  庸人自扰
    2021-01-30 03:39

    This works for me: heroku pg:copy you-app-production::DATABASE DATABASE -a you-app-staging

提交回复
热议问题