本文介绍了没有找到Heroku上的pgbackups的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在使用pgbackups来捕获数据库并在本地加载它们,但自从昨天起,当为新应用程序提供附加信息时,我收到了此消息。
I have been using pgbackups to capture databases and load them locally but since yesterday, I am getting this message when provisioning the add on for new apps.
! Add-on plan not found.
新的实例禁用了pgbackups吗?它仍然适用于以前与之集成的应用程序。如果它已被弃用,建议更换什么?
Has pgbackups been disabled for new instances? It still works on apps it was previously integrated with. If it has been deprecated, what is the recommended replacement?
推荐答案
Heroku最近做了更改。 作为插件的PG备份已被弃用。对于新命令,请参阅:
Heroku have recently made changes. "PG Backups as an add-on has been deprecated." For new commands, see here:https://devcenter.heroku.com/articles/mapping-pgbackups-commands
旧命令:
heroku pgbackups:capture --app sushi
新命令
heroku pg:backups capture --app sushi
这篇关于没有找到Heroku上的pgbackups的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!