gpt4 book ai didi

ruby-on-rails - pgbackups :transfer is not a heroku command

转载 作者:行者123 更新时间:2023-12-04 03:39:58 25 4
gpt4 key购买 nike

我正在尝试升级我的 heroku 数据库,但帮助部分的命令告诉我使用:

https://devcenter.heroku.com/articles/upgrade-heroku-postgres-with-pgbackups

在我的工具上不可用。

这是我到目前为止输入的命令:
pc$ heroku addons:add pgbackups
Adding pgbackups on heroku-app-1111... done, v152342344 (free)
You can now use "pgbackups" to backup your databases or import an external backup.
Use `heroku addons:docs pgbackups` to view documentation.
pc$ heroku addons:add heroku-postgresql:hobby-basic
Adding heroku-postgresql:hobby-basic on heroku-app-1111... done, v14434455 ($9/mo)
Attached as HEROKU_POSTGRESQL_BROWN_URL
Database has been created and is available
! This database is empty. If upgrading, you can transfer
! data from another database with pgbackups:restore.
Use `heroku addons:docs heroku-postgresql` to view documentation.
pc$ heroku maintenance:on
Enabling maintenance mode for heroku-app-1111... done
pc$ heroku ps:scale worker=0
Scaling dynos... done, now running worker at 0:1XX.
pc$ heroku pgbackups:transfer HEROKU_POSTGRESQL_BROWN
! `pgbackups:transfer` is not a heroku command.
! See `heroku help` for a list of available commands.

有效地列出 heroku pgbackups 命令没有 transfer 命令。有任何想法吗?

最佳答案

您的 Heroku 客户端已过期。运行“heroku 更新”。我知道 pgbackups:transfer 在 3.3.0 中不可用,但在 3.8.4 中可用。

关于ruby-on-rails - pgbackups :transfer is not a heroku command,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23523513/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com