Heroku上的pgbackups未找到。

6

我一直在使用pgbackups来捕获数据库并在本地加载,但是从昨天开始,当为新应用程序提供插件时,我收到了这个消息。

!    Add-on plan not found.

pgbackups是否已被禁用新实例?它仍然可以在先前集成的应用程序上工作。如果已经被停用,推荐使用什么替代品呢?

3个回答

11

当我尝试通过以下方式将插件添加到新应用程序时,出现了问题:heroku addons:add pgbackups。 - Hunt Burdick
是的,我猜它不再叫做“pgbackups”了 - 你尝试过只用“pg”吗?比如“pg:backups capture”。 - jcuenod
看起来不再需要附加组件了。这些命令可以直接使用。感谢提供更新命令的链接。 - Hunt Burdick

2

我错过了这个小声明: https://devcenter.heroku.com/articles/pgbackups

(注:该链接为英文原文)

PG Backups as an add-on has been deprecated. The commands exist as part of the Heroku Postgres namespace in the CLI. The new functionality is live and available for use. We also have a mapping guide to show you how the old commands transfer to the new ones. 

1
从jcuenod的回复中可以得知,对于heroku pg:backups:restore也同样适用。新命令将是heroku pg:backups restoreHeroku文档不一致,需要更新。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接