我想升級我的Heroku分貝,但幫助部分告訴命令我使用:pgbackups:轉讓不是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命令有效不具備轉移命令。有任何想法嗎?
我收到以下錯誤: HEROKU_POSTGRESQL_GRAY_URL(DATABASE_URL)----備份---> B019 捕捉...做 存儲...做 > URL = $(Heroku的pgbackups: url HEROKU_POSTGRESQL_GRAY)&& heroku pgbackups:恢復HEROKU_POSTGRESQL_OLIVE $ URL !沒有找到備份 –
你運行過pgbackups:capture? – derekyau
是這樣做的..我得到它與更長的過程 –