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

后端 未结 12 2365
刺人心
刺人心 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:45

    I think its not --remote its --app try this:

    heroku pgbackups:restore DATABASE `heroku pgbackups:url --app production-app` --app staging-app
    

提交回复
热议问题